Multiple choice

What does an iteration allow?

  1. Check a condition

  2. Assign a variable

  3. Repeat a statement based on a condition

  4. Assign a variable several times

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

Iteration, or looping, allows a block of code to be executed repeatedly as long as a specific condition is met.