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:

User Keith Flower
by
3.3k 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.

User Jacob Celestine
by
4.4k points