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?

  1. A.

    Iteration

  2. B.

    Selection

  3. C.

    Recursion

  4. 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.

Explore the full course: Btsc Lab Assistant