asked 202k views
4 votes
The while loop is also called a sentinel-control loop, because its condition is tested at the top of the loop. Group of answer choices True False

2 Answers

5 votes

Answer:

false trust me i just did the quiz

Explanation:

answered
User Keith Flower
by
7.7k points
7 votes

Answer:

False

Explanation:

The Above statement is false.

While loop is not the sentinel control loop it is the Do while loop which is sentinel control loop.

Sentinel control loop means it performs an iteration before testing the condition. The do-while loop always performs at least one iteration, even if its condition is false to begin with. Whereas the while loop test's the condition first then performs iteration.

answered
User Jacob Celestine
by
9.3k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.