Multiple choice

The WHILE-DO constructs executes the loop at least

  1. once

  2. twice

  3. thrice

  4. None of these

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

A WHILE-DO loop checks the condition before executing the loop body. If the condition is false initially, the loop body executes zero times.