Spotting a repeating pattern
Same steps that appear again and again. Replace them with one loop to make the algorithm shorter, with the same result.
Understanding Spotting a repeating pattern in ACARA Digital Technologies Years 5–6
What it does: Draw line then Turn right 90 is the repeating pattern for a square. The loop does it 4 times with the same result and fewer lines. The steps 'clap, stomp' appear four times in a row. One loop can repeat them 4 times instead of writing them out. The pair 'plate, fork' is the group of steps that repeats. This pair goes inside the loop. A loop should take the place of the repeated steps. Keeping both makes the algorithm longer and changes the result.
Common mistakes: A square has 4 equal sides, so the same two steps (move, turn) must repeat 4 times. It should be REPEAT 4 TIMES. The long dance was clap, stomp done 3 times. REPEAT 6 TIMES would do the pattern twice as often, so the result is different. It should be REPEAT 3 TIMES.
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
repeating patternFill in the Blanks
Spot the Error
Student with a class code? Join your class →