Menu

Condition-Controlled Iteration - Quiz

1. What is meant by a condition-controlled loop?

A loop that is set up so its body always runs at least once, with the condition checked at the end of each pass
A loop that repeats a set number of times, decided by the programmer before it starts
A loop whose condition never becomes False, so it only stops when the program is closed
A loop that repeats until a condition is met, rather than a set number of times

2. What is the name for a Boolean variable used to record whether something has happened, such as whether a loop should stop?

Counter
Running total
Condition
Flag

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic