Skip to content
Technologies · Foundation · Patterns and Sequences · Term 1

Introducing Loops: Repeating Actions

Students will learn about loops as a way to repeat actions efficiently in programming, using simple block-based examples.

ACARA Content DescriptionsAC9TDEFP01

About This Topic

Loops provide a way to repeat actions efficiently in programming, reducing the need to copy instructions multiple times. At Foundation level, students use block-based tools like ScratchJr to build simple programs. They drag a repeat block around actions such as moving forward or turning, creating patterns like stars or spirals. This meets AC9TDEFP01 by developing skills to follow, describe, and create basic algorithms.

In the Patterns and Sequences unit, loops connect computational thinking to mathematical repetition and everyday routines, like brushing teeth multiple times. Students explain why loops are efficient, design repeating shape programs, and predict outcomes of given loop structures. These activities foster problem-solving and logical sequencing from an early age.

Active learning suits this topic because young students grasp repetition through physical embodiment and immediate feedback. When they direct peers in looped movements or test block programs collaboratively, abstract ideas become concrete. Playful debugging builds resilience, while sharing predictions encourages precise language about code behaviour.

Key Questions

  1. Explain why using a loop is more efficient than repeating code multiple times.
  2. Design a simple program that uses a loop to draw a repeating shape.
  3. Predict the outcome of a program with a given loop structure.

Learning Objectives

  • Design a simple algorithm using a loop block to create a repeating pattern.
  • Explain why a loop is a more efficient method for repeating actions than writing code multiple times.
  • Predict the final visual output of a program containing a specified loop structure.
  • Identify the action(s) being repeated within a given block-based program that uses a loop.

Before You Start

Sequencing Instructions

Why: Students need to understand that instructions are followed in a specific order before they can learn to repeat those instructions.

Basic Movement Commands

Why: Students must be familiar with simple commands like 'move forward' or 'turn' to place them inside a loop.

Key Vocabulary

LoopA programming structure that repeats a set of instructions a specific number of times or until a condition is met.
Repeat BlockA special block in block-based coding environments that tells the program to execute the blocks placed inside it multiple times.
AlgorithmA set of step-by-step instructions to complete a task or solve a problem.
SequenceThe order in which instructions are performed in an algorithm.

Watch Out for These Misconceptions

Common MisconceptionLoops run forever and cannot stop.

What to Teach Instead

Loops repeat a fixed number of times set in the block. Students test programs with small repeats first, observe stopping, and adjust numbers to see control. Peer prediction discussions clarify finite repetition.

Common MisconceptionCopying action blocks manually works the same as a loop.

What to Teach Instead

Manual copies create long, hard-to-edit code lists. Groups compare: change one loop versus many blocks, noting efficiency. Hands-on modification shows loops simplify updates.

Common MisconceptionLoops only repeat movements, not sounds or colours.

What to Teach Instead

Loops work for any repeatable action. Students experiment with sound or colour blocks inside repeats, share results. Collaborative demos reveal versatility across program elements.

Active Learning Ideas

See all activities

Real-World Connections

  • Robots on an assembly line use loops to perform repetitive tasks like welding or painting the same part of a car multiple times, ensuring consistency and speed.
  • In animation software, animators use loops to create repeating movements for characters, such as a character walking or a flag waving, saving them from drawing each frame individually.
  • Traffic lights use programmed loops to cycle through red, yellow, and green signals in a specific sequence, ensuring traffic flows safely and efficiently.

Assessment Ideas

Quick Check

Show students a simple block-based program with a loop (e.g., move forward 3 times). Ask them to draw what they think the character will do. Then, run the program to compare their predictions.

Discussion Prompt

Present two scenarios: one where a student writes 'move forward' ten times, and another where they use a loop block to repeat 'move forward' ten times. Ask: 'Which way is faster for the computer to follow? Why?' Record student responses.

Exit Ticket

Give students a card with a simple drawing task (e.g., draw a square). Ask them to write or draw the blocks they would use, including a loop, to make a character draw that square. They should specify how many times the loop should repeat.

Frequently Asked Questions

How to introduce loops to Foundation students in Australian Curriculum?
Start unplugged with body movements students repeat daily, like marching in place. Transition to ScratchJr blocks for visual repetition. Use key questions to guide: predict outcomes, explain efficiency, design simple shapes. Short sessions with immediate testing keep engagement high and build confidence in 20-30 minutes.
What block-based tools teach loops for AC9TDEFP01?
ScratchJr offers intuitive repeat blocks perfect for Foundation. Code.org Hour of Code activities provide guided loop challenges. Bee-Bot floor robots simulate loops physically before digital. Select tools with large blocks, voiceovers, and simple export for sharing student work.
How can active learning help students understand loops?
Active approaches like human robot games let students feel repetition physically before coding. Pair testing and debugging provides instant feedback, reducing frustration. Group predictions and relays encourage talk about 'why loops save steps', linking play to logic. These methods make abstract efficiency tangible for 5-6 year olds.
Common loop misconceptions in early programming?
Students often think loops are endless or identical to copying blocks. Address by running fixed-repeat demos and comparing edit ease. Prediction activities reveal gaps, while sharing fixes normalises errors. Consistent language like 'repeat exactly 5 times' reinforces correct mental models over time.