What is a for loop an example of?
-
Selection
-
Iteration
-
Sequence
-
Variables
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.