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.
Learning Objectives
- 1Design a simple algorithm using a loop block to create a repeating pattern.
- 2Explain why a loop is a more efficient method for repeating actions than writing code multiple times.
- 3Predict the final visual output of a program containing a specified loop structure.
- 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 →
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
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
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
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
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
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
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.
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.
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
| Loop | A programming structure that repeats a set of instructions a specific number of times or until a condition is met. |
| Repeat Block | A special block in block-based coding environments that tells the program to execute the blocks placed inside it multiple times. |
| Algorithm | A set of step-by-step instructions to complete a task or solve a problem. |
| Sequence | The order in which instructions are performed in an algorithm. |
Suggested Methodologies
More in Patterns and Sequences
Recognizing Simple Patterns
Students will identify and describe simple repeating patterns in various contexts (e.g., colors, shapes, sounds).
2 methodologies
Following Step-by-Step Instructions
Students will practice following and giving clear, sequential instructions for simple tasks, both unplugged and with basic digital tools.
2 methodologies
Creating Simple Sequences
Students will design and implement short sequences of actions or commands to achieve a specific outcome, using block-based coding or physical activities.
2 methodologies
Pattern Recognition in Data and Problem Solving
Applying pattern recognition techniques to analyze data, identify trends, and abstract commonalities in problem-solving contexts.
3 methodologies
Sequencing in Programming Constructs
Applying sequencing to programming constructs, understanding the order of operations, and designing step-by-step solutions for computational tasks.
3 methodologies
Ready to teach Introducing Loops: Repeating Actions?
Generate a full mission with everything you need
Generate a Mission