Skip to content
Technologies · Year 5

Active learning ideas

Loops: Repeating Actions Efficiently

Active learning builds concrete understanding of loops by letting students physically and visually experience repetition. When students sort cards, draw shapes, or race code snippets, they internalize how loops condense work and how controlled repetition differs from one-off commands.

ACARA Content DescriptionsAC9TDI6P04
20–40 minPairs → Whole Class4 activities

Activity 01

Problem-Based Learning25 min · Small Groups

Unplugged: Loop Card Sort

Provide cards with actions like 'clap' or 'jump'. Students sort into sequences without loops, then add loop cards to repeat. Groups act out both versions and note differences in time and effort. Discuss efficiency as a class.

Analyze how repetition can make a program more efficient.

Facilitation TipDuring Loop Card Sort, have students first predict the number of repeats before sorting, then confirm by executing the sequence they built.

What to look forProvide students with two short code snippets to draw a square: one using four separate 'draw line' commands, and another using a loop. Ask them to write one sentence explaining which code is more efficient and why.

AnalyzeEvaluateCreateDecision-MakingSelf-ManagementRelationship Skills
Generate Complete Lesson

Activity 02

Problem-Based Learning35 min · Pairs

Scratch: Shape Repeater

Pairs use repeat blocks to draw shapes like pentagons or spirals. They adjust loop counts and angles, then run programs. Pairs swap and predict outcomes before testing.

Design a simple program that uses a loop to achieve a goal.

Facilitation TipIn Shape Repeater, model how to change a single variable to adjust all repeats at once, showing the power of parameterized loops.

What to look forAsk students to imagine they are programming a robot to clap 10 times. Have them write down the steps using a loop, specifying the action to repeat and the number of repetitions. Circulate to check for understanding of the loop concept.

AnalyzeEvaluateCreateDecision-MakingSelf-ManagementRelationship Skills
Generate Complete Lesson

Activity 03

Problem-Based Learning40 min · Small Groups

Code Duel: Loop vs Repeat

Small groups receive unlooped code for a task like printing numbers. They rewrite with loops, time execution, and compare code length. Groups present findings.

Compare the use of a loop versus writing out repetitive instructions manually.

Facilitation TipRun Code Duel on a shared screen so the whole class sees how loop parameters control output and timing in real time.

What to look forPose the question: 'When might using a loop be less efficient than writing instructions manually?' Guide students to consider scenarios with very few repetitions or where the repeated action varies slightly each time.

AnalyzeEvaluateCreateDecision-MakingSelf-ManagementRelationship Skills
Generate Complete Lesson

Activity 04

Problem-Based Learning20 min · Individual

Debug Loop Maze

Individuals examine buggy looped code for a maze game. They predict, fix, and test paths. Share one fix with the class.

Analyze how repetition can make a program more efficient.

Facilitation TipUse Debug Loop Maze to isolate one loop at a time, teaching students to isolate variables and conditions before fixing code.

What to look forProvide students with two short code snippets to draw a square: one using four separate 'draw line' commands, and another using a loop. Ask them to write one sentence explaining which code is more efficient and why.

AnalyzeEvaluateCreateDecision-MakingSelf-ManagementRelationship Skills
Generate Complete Lesson

A few notes on teaching this unit

Start with unplugged sorting to make abstraction concrete. Move to visual editors so syntax errors don’t mask conceptual mistakes. Avoid rushing to ‘fix’ code; instead, ask students to read loops aloud, tracing each iteration with their fingers on screen. Research shows that vocalizing loop steps builds mental models faster than silent reading.

Students will confidently identify when loops are useful, write loop-based code, and explain why loops reduce errors and save time. They will compare repeated blocks to loop blocks, justify their choices, and debug loop errors with increasing independence.


Watch Out for These Misconceptions

  • During Loop Card Sort, watch for students who assemble the cards but do not set a stopping point, assuming the loop will continue indefinitely.

    Pause the group and ask them to mark where the loop should end on their table. Then have them count the steps aloud to confirm the loop ends at the right place.

  • During Shape Repeater, watch for students who hard-code each step in the loop, copying the same move command multiple times inside the loop block.

    Point to the loop body and ask, ‘Why do all steps look the same?’ Guide them to replace repeated values with a single variable they change once.

  • During Code Duel, watch for students who believe the loop with more blocks always wins, ignoring the efficiency of fewer blocks with repetition.

    Display both code stacks side by side and ask, ‘Which code would you rather edit if the pattern changes?’ Let them count characters to see the difference in length and manageability.


Methods used in this brief