Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 4 - No. 40)
In the context of a WHILE loop, what determines when the loop will terminate?
When a counter reaches a specific value.
When the condition in the loop becomes false.
After the loop has executed a fixed number of times.
When a specific value is found within the loop.
Explanation
The WHILE loop continues as long as its condition remains true; it stops when the condition becomes false.
Comments (0)
