Which control structure is depicted by a loop that executes a set of…
2023
Which control structure is depicted by a loop that executes a set of instructions as long as a specific condition remains true?
- A.
Iteration
- B.
Selection
- C.
Recursion
- D.
Sequence
Attempted by 286 students.
Show answer & explanation
Correct answer: A
The correct answer is Option A: Iteration. An Iteration (or looping) control structure repeats a block of code sequentially as long as a specified boolean condition evaluates to true. Once the condition becomes false, the loop terminates and control moves to the next block of code.