
Loop Dance
A loop repeats instructions — you can say more with less, and the loop count times the body length tells you exactly what will happen.
ComputingAges 10-13~10 min🎙️ Voice tutor
Play freeNo account needed

What your child will figure out
- Predict an execution trace's length from loop counts and the number of instructions in each loop body.
- Explain why a loop with two different moves repeats both moves on every round.
- Calculate the trace length of a nested loop by multiplying its loop counts.
- Use the first mismatching trace step to repair only the faulty program node.
The levels
- Three move warm-up
Build and run a three-instruction sequence in order.
- Three claps, one loop
Use REPEAT 3 to turn one CLAP instruction into three trace steps.
- Two moves per round
Repeat a loop body containing TURN and CLAP three times.
- Loops multiply
Run REPEAT 2 containing REPEAT 3 [CLAP].
- Fix the final show
Use the first mismatching trace step to repair a wrong move and an early ending.
Ready when they are.
Play Loop Dance free — no account, no card.
Play Loop Dance free