Skip to content

Introducing Loops: Repeating ActionsActivities & Teaching Strategies

Active learning turns the abstract concept of loops into concrete actions, letting students physically and visually experience repetition instead of just hearing about it. When students move as robots or drag blocks in ScratchJr, they connect the idea of repeating instructions directly to the outcomes they see, which builds stronger mental models than passive explanation alone.

FoundationTechnologies4 activities20 min35 min

Learning Objectives

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

Want a complete lesson plan with these objectives? Generate a Mission

25 min·Pairs

Unplugged: Human Loop Robots

Pair students as programmer and robot. Programmer gives instructions like 'repeat 4 times: hop forward, clap'. Robot performs while others observe. Switch roles, then groups create and share a loop sequence for the class.

Prepare & details

Explain why using a loop is more efficient than repeating code multiple times.

Facilitation Tip: During Human Loop Robots, have students physically mark their starting position with tape to clearly see the effect of multiple repeats.

Setup: Flexible space for group stations

Materials: Role cards with goals/resources, Game currency or tokens, Round tracker

ApplyAnalyzeEvaluateCreateSocial AwarenessDecision-Making
30 min·Pairs

Block Coding: Shape Maker Challenge

In ScratchJr, students select repeat block, add move and turn inside to make a square or triangle. Test program, adjust repeat number for different sizes. Pairs combine shapes into a picture.

Prepare & details

Design a simple program that uses a loop to draw a repeating shape.

Facilitation Tip: In Shape Maker Challenge, pause after the first two shapes to ask teams to compare their block counts and discuss which version is easier to change.

Setup: Flexible space for group stations

Materials: Role cards with goals/resources, Game currency or tokens, Round tracker

ApplyAnalyzeEvaluateCreateSocial AwarenessDecision-Making
35 min·Small Groups

Prediction Station Rotation

Set up devices with sample looped programs hidden under cloths. Small groups predict outcome on paper, reveal and run code, discuss matches. Rotate to three stations.

Prepare & details

Predict the outcome of a program with a given loop structure.

Facilitation Tip: At Prediction Station Rotation, hand out colored pencils so students can annotate their guesses right on the worksheet before testing the code.

Setup: Flexible space for group stations

Materials: Role cards with goals/resources, Game currency or tokens, Round tracker

ApplyAnalyzeEvaluateCreateSocial AwarenessDecision-Making
20 min·Small Groups

Loop Debug Relay

Whole class views buggy looped code on board. Teams send one student to fix one error, relay back with explanation. Repeat until program works.

Prepare & details

Explain why using a loop is more efficient than repeating code multiple times.

Facilitation Tip: During Loop Debug Relay, provide only one set of blocks per team to force collaborative problem-solving when errors occur.

Setup: Flexible space for group stations

Materials: Role cards with goals/resources, Game currency or tokens, Round tracker

ApplyAnalyzeEvaluateCreateSocial AwarenessDecision-Making

Teaching This Topic

Start with unplugged work to build intuition: students feel repetition as physical movement before translating it to code. Use consistent language like 'repeat 4 times' instead of 'loop 4 times' to match both ScratchJr blocks and student phrasing. Avoid showing long sequences first—always contrast a loop with manual copies so the efficiency gain is obvious. Research shows that when students first experience loops through embodied and visual tasks, their transfer to symbolic code improves significantly.

What to Expect

Students will confidently explain why loops save time and effort, recognize when a loop block is needed, and apply it in at least one program without being prompted. Their code will show efficient repetition, not duplicated blocks, and they will articulate how many times the loop runs and why.

These activities are a starting point. A full mission is the experience.

  • Complete facilitation script with teacher dialogue
  • Printable student materials, ready for class
  • Differentiation strategies for every learner
Generate a Mission

Watch Out for These Misconceptions

Common MisconceptionDuring Human Loop Robots, watch for students who move continuously without stopping between repeats, thinking the loop never ends.

What to Teach Instead

Have the student mark the endpoint with tape and count each stop aloud, linking each pause to the repeat count in the block they will later use.

Common MisconceptionDuring Shape Maker Challenge, watch for students who copy the same block ten times instead of using a loop block.

What to Teach Instead

Ask the team to count their blocks and compare to a peer using a loop, then rewrite their code together using the repeat block to see the difference in block count.

Common MisconceptionDuring Prediction Station Rotation, watch for students who assume loops only work for movement blocks.

What to Teach Instead

Provide a worksheet with a 'play sound' block inside a repeat, then run the code so students hear the repetition and discuss how loops apply to sounds and colors too.

Assessment Ideas

Quick Check

After Human Loop Robots, show students a simple ScratchJr program with a repeat block that moves a character 3 times. Ask them to draw what they think will happen, then run the program to compare their predictions.

Discussion Prompt

During Shape Maker Challenge, present two code snippets: one with ten 'move forward' blocks and one with a loop block repeating 'move forward' ten times. Ask: 'Which way is faster for the computer to follow? Why?' Record student responses on chart paper.

Exit Ticket

After Prediction Station Rotation, give students a card with a 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, specifying how many times the loop should repeat.

Extensions & Scaffolding

  • Challenge: Give teams a new shape (e.g., hexagon) and ask them to write the loop code with the correct repeat count, then test it on a second device.
  • Scaffolding: Provide pre-written loop blocks on sticky notes so students can focus on arranging them rather than typing or dragging.
  • Deeper exploration: Introduce nested loops by asking students to create a spiral pattern using two loops, one inside the other, then explain what each loop controls.

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.

Ready to teach Introducing Loops: Repeating Actions?

Generate a full mission with everything you need

Generate a Mission