Spotting sequence, branching and iteration in everyday systems
The three building blocks of algorithms: steps in order, decisions (IF) and repeats (loops). Traffic lights, self-serve checkouts, automatic doors and alarm apps all use them.
Understanding Spotting sequence, branching and iteration in everyday systems in ACARA Digital Technologies Years 5–6
What it does: Steps listed one after another in a set order are a sequence. Swapping the steps would make the light unsafe. IF ... THEN ... ELSE gives two paths. The checkout picks one path depending on whether the scan worked. Doing the same check over and over is a loop, which is iteration. The ringing keeps repeating until the stop condition is true. Pressing stop is the condition that ends the loop. Branching depends on a condition that can change. Here it is whether the button was pressed. IF ... THEN is a decision, which is branching. The door only opens when someone is there.
Common mistakes: A sequence must keep its steps in order. The light should wait 30 seconds on green before it turns orange. Line 2 should be 'Wait 30 seconds'. This is the branch for when the weight does not match, so the checkout should call a staff member. Printing a receipt here is the wrong action. Line 3 should be ' Call a staff member'.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 106–119) and word search (Modules 106–132).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
sequence, branching, iterationFill in the Blanks
Spot the Error
Student with a class code? Join your class →