Multiple choice

What is a for loop an example of?

  1. Selection

  2. Iteration

  3. Sequence

  4. Variables

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

A for loop is a fundamental programming structure used to repeat a block of code multiple times, which is the definition of iteration. Selection refers to conditional logic (if statements), and sequence refers to the order of execution.