Skip to content
Technologies · Year 3

Active learning ideas

Loops: Repeating Actions

Active learning works for loops because students grasp repetition best when they see code run visually. Physical demonstrations and hands-on coding let students observe how loops shorten blocks and control behavior in real time. When students test loops themselves, they build an intuitive sense of when to use fixed counts versus conditions.

ACARA Content DescriptionsAC9TDI4P03
20–45 minPairs → Whole Class4 activities

Activity 01

Plan-Do-Review30 min · Pairs

Pairs Challenge: Shape Patterns

Pairs program a sprite to draw a square with repeat 4, then a star with repeat 10. They count blocks used without loops versus with, then share efficiencies. Extend by changing repeat numbers for new shapes.

Analyze how loops reduce the amount of code needed for repetitive tasks.

Facilitation TipDuring Pairs Challenge: Shape Patterns, circulate and ask each pair to count their blocks before and after adding loops, reinforcing code savings.

What to look forProvide students with two code snippets for drawing a square: one using four 'move forward' and 'turn right' blocks, and another using a 'repeat 4 times' loop with those blocks inside. Ask them to write one sentence explaining which code is more efficient and why.

RememberApplyAnalyzeSelf-ManagementDecision-MakingSelf-Awareness
Generate Complete Lesson

Activity 02

Plan-Do-Review45 min · Small Groups

Small Groups: Repeat Until Maze

Groups build a simple maze and code a character to repeat until it reaches the goal, using conditions like color sensing. Test runs, swap mazes, and adjust conditions. Record what happens if conditions fail.

Explain the difference between a 'repeat until' and a 'repeat N times' loop.

Facilitation TipIn Small Groups: Repeat Until Maze, prompt groups to adjust conditions when sprites get stuck to address the misconception that loops run forever.

What to look forDisplay a simple animation or pattern created with a loop. Ask students to identify the type of loop used (e.g., 'repeat N times' or 'repeat until') and explain what action is being repeated. Observe student responses to gauge understanding of loop function.

RememberApplyAnalyzeSelf-ManagementDecision-MakingSelf-Awareness
Generate Complete Lesson

Activity 03

Plan-Do-Review20 min · Whole Class

Whole Class: Loop vs No Loop Race

Project two programs: one with repeated blocks, one with loops, for the same animation. Class times building each version on devices, discusses block count and speed. Vote on best approach.

Design a program that uses a loop to create a pattern.

Facilitation TipDuring Whole Class: Loop vs No Loop Race, freeze the race at key moments to ask students to predict which code will finish first based on loop structure.

What to look forAsk students: 'Imagine you are programming a robot to water plants in a garden. When would you use a 'repeat N times' loop, and when might you use a 'repeat until' loop?' Listen for their ability to connect loop types to specific conditions or fixed repetitions.

RememberApplyAnalyzeSelf-ManagementDecision-MakingSelf-Awareness
Generate Complete Lesson

Activity 04

Plan-Do-Review25 min · Individual

Individual: Dance Loop Creator

Each student codes a dancer sprite with repeat N for steps and repeat until for stopping on applause. Test, remix with more moves, and present one loop highlight to class.

Analyze how loops reduce the amount of code needed for repetitive tasks.

What to look forProvide students with two code snippets for drawing a square: one using four 'move forward' and 'turn right' blocks, and another using a 'repeat 4 times' loop with those blocks inside. Ask them to write one sentence explaining which code is more efficient and why.

RememberApplyAnalyzeSelf-ManagementDecision-MakingSelf-Awareness
Generate Complete Lesson

A few notes on teaching this unit

Teachers should start with concrete examples students can touch or see, like drawing shapes on paper before coding. Avoid abstract explanations of loops early on; instead, let students experience the problem of repetitive typing firsthand. Research shows students grasp control flow better when they debug real outputs rather than listen to lectures about conditions.

Students will explain why loops save code, identify when to use each loop type, and correctly implement both 'repeat N times' and 'repeat until' blocks. They will also compare looped and unlooped versions to justify efficiency. Clear explanations and correct programs during each activity show successful learning.


Watch Out for These Misconceptions

  • During Small Groups: Repeat Until Maze, watch for students who assume 'repeat until' loops never stop and leave conditions incomplete.

    Ask each group to run their code and observe when the sprite gets stuck. Have them add a visible condition like 'repeat until touching wall' and test it step-by-step using the 'step' button to see the loop exit.

  • During Pairs Challenge: Shape Patterns, watch for students who treat 'repeat N times' and 'repeat until' as interchangeable.

    Have pairs code the same shape twice, once with each loop type, and compare the outcomes side-by-side. Ask them to explain why one loop stops after four repetitions while the other needs an extra condition.

  • During Whole Class: Loop vs No Loop Race, watch for students who think loops simply copy actions without saving code.

    Pause the race and display both versions of the code on the board. Count the blocks in each and ask students to explain why the looped version is shorter. Then, challenge them to write the block count difference on a sticky note to share with the class.


Methods used in this brief