AQA · GCSE · Computer Science
Course version: 8525 · Version from Sept 2020
The three combining principles (sequence, iteration/repetition and…
Full specification wording
Programming concepts: The three combining principles (sequence, iteration/repetition and selection/choice) are basic to all high-level imperative programming languages.
High-level imperative programs are built from three combining principles.
Checked against the AQA 8525 specification (opens in a new tab) on .
- Point 1 of 23
Study notes
From the checked teaching notes for this specification point.
The idea
High-level imperative programs are built from three combining principles. Sequence means statements execute one after another in the order written. Selection (choice) means the program takes one path or another depending on a condition, for example an if statement choosing between two branches. Iteration (repetition) means a block repeats, either a set number of times or while a condition holds. These principles are described as basic to all high-level imperative languages because they let you express any algorithm by combining them. Recognise each principle in code, and be ready to say which one a given snippet uses.
What earns the marks
- Sequence: statements are executed one after another in the order they are written, with no branching or repetition.
- Selection (choice): a condition determines which of two or more paths the program follows, for example an if statement.
- Iteration (repetition): a block of statements repeats, either a fixed number of times or while a condition remains true.
- The three principles are described as basic to all high-level imperative programming languages, so they apply across languages, not just one.
- Recognising which principle a given piece of code demonstrates, and explaining how combining them expresses an algorithm.
Common mistakes and how to put them right
Confusing selection with iteration.
Put it right: Selection chooses a path once based on a condition; iteration repeats a block, possibly many times.
Thinking sequence means statements can run in any order.
Put it right: Sequence means they run in the written order, top to bottom.
Assuming iteration must always run a fixed number of times.
Put it right: Iteration can be count-controlled or condition-controlled.
Exam tips
- For each snippet, name the principle and point to the exact line or keyword that shows it.
- Use the specification's own terms, sequence, iteration/repetition and selection/choice, so your answer matches the wording.
- When a question asks which principle is used, check whether the code branches (selection) or loops (iteration) before deciding.
Try the lesson
The start of the Programming concepts: The three combining principles (sequence, iteration/repetition and selection/choice) are basic to all high-level imperative programming languages. lesson, made from checked teaching notes for this specification point.
Have a go first
A program reads a pupil's mark, then decides whether the mark is at least 50 and prints either "Pass" or "Fail". Which combining principle is used to choose between printing "Pass" and printing "Fail"?
There is more to this lesson
The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge
Test your understanding of Programming concepts: The three combining principles (sequence, iteration/repetition and selection/choice) are basic to all high-level imperative programming languages.
Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.
A week of Premium from your first lesson · Then the free plan continues · No card, no charge