Question Detail
Question
What is the primary purpose of an iteration statement (or loop) in programming?
Correct Answer
Option B is the correct answer.
Detailed Explanation
Page 58 clearly states: "Loops can execute a block of code number of times until a certain condition is met." and "The iteration statement allows instructions to be executed until a certain condition is to be fulfilled."
Hint
Think about scenarios where you need to perform the same action multiple times, perhaps on different data items, until a specific goal is achieved.