Following an algorithm step by step
To carry out each step exactly as written, in order, without skipping steps or guessing. You can track values on paper, check the final result, or act it out with a partner.
Understanding Following an algorithm step by step in Years 5–6 Creating Digital Solutions
What it does: An algorithm only works when each step is carried out in the order it is written. Checking the final result is part of following an algorithm, so you can see if you did every step correctly. Score starts at 0. Step 2 makes it 2 and step 3 makes it 4. Writing each value on paper helps you keep track. Algorithms are followed in order, starting at step 1. Changing the order can give a different result.
Common mistakes: The algorithm only made a variable called total. Step 3 must add to total, not to score, which was never set up. It should be ADD 3 TO total. Starting at 3 and adding 1 twice gives 5, but the last line says 4. The start must be count = 2 so the steps give the right result.
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 11–20) and word search (Modules 1–20).
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
follow an algorithmFill in the Blanks
Spot the Error
Student with a class code? Join your class →