Ace the 2026 OCR GCSE Computer Science Challenge – Code Your Way to Success!

Question: 1 / 400

What kind of flow diagram allows tasks to be performed repeatedly until a condition is met?

Sequence

Selection

Iteration

The correct answer is iteration. In programming and flow diagrams, iteration refers to the repetition of a set of instructions or tasks until a specific condition is met. This allows for efficient handling of processes that need to be executed multiple times, such as loops in programming.

When a condition is evaluated, if it is still true, the flow diagram will loop back to repeat the set of tasks. This concept is foundational in computer science, as it enables the execution of repetitive tasks without the need to write the same code multiple times.

In contrast, a sequence flow diagram represents tasks that are executed in a specific order, selection diagrams illustrate decisions based on conditions leading to different branches, and subroutines are used to encapsulate a block of code that can be used multiple times but does not inherently handle repetition on its own. Each of these types focuses on different aspects of controlling the flow of execution in a program, making iteration particularly important for repeated task execution.

Get further explanation with Examzify DeepDiveBeta

Subroutine

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy