Multiple choice technology

Which loop control allows a section of code to be run repetitively as long as a certain condition is false

  1. while

  2. for

  3. until

  4. none of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The until loop executes its body as long as the condition is false. This is the inverse of a while loop, which runs while the condition is true. until keeps iterating until the condition becomes true.