What you'll learn
- What a sequence is and why instruction order matters
- How inputs go into a computer and outputs come out
- How a repeat loop runs a group of blocks again
- Choosing the right number of repeats for a loop
- Tracing code step by step to predict what it does
- Debugging: run it, find it, fix it, test it
Chapter by chapter
- Sequence: putting instructions in the right order Free to try
Years 3–6 computing · 1
- Repetition: using repeat loops in programs
Years 3–6 computing · 1
- Logical reasoning: predicting and explaining what code does
Years 3–6 computing · 2
- Debugging: spotting and fixing errors in programs
Years 3–6 computing · 2 Years 3–6 computing · 1
- Code Master Challenge (8 questions)
What the chapters cover in the national curriculum in England:
- Years 3–6 computing: Use sequence, selection, and repetition in programs; work with variables and various forms of input and output
- Years 3–6 computing: Use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs
About this adventure
Sequences and Loops is an interactive coding game that teaches children aged 7–9 how to put instructions in order, use repeat loops, and find and fix bugs in programs. It follows the KS2 computing curriculum and is pitched at Year 3.
Players write programs for Beep, a little robot on a grid, using Forward, Turn left and Turn right blocks. They watch each block run in turn, and see that changing the order changes where Beep ends up. Then they swap long rows of repeated blocks for a single repeat loop and choose how many times it runs.
Along the way they trace code one block at a time to predict where Beep will stop, and explain why he moves as he does. Spoken narration, captions and sound effects guide every step, and short animated scenes introduce each new idea.
Questions and answers
What is a sequence in coding?
A sequence is a set of instructions that a computer carries out one at a time, in order, from the start. If you change the order, the program can do something completely different, even when it uses exactly the same instructions.
What is a loop in programming, in simple words?
A loop is an instruction that repeats a group of other instructions. For example, 'repeat 4 times: forward, turn right' draws a square. Loops make programs shorter and easier to read than writing the same steps again and again.
What does debugging mean for kids?
Debugging means finding and fixing mistakes, called bugs, in a program. A good plan is to run the code, find the block where things start to go wrong, fix it, and then test the program again to check it works.
What age is this sequences and loops game for?
The game is designed for children aged 7 to 9 and matches Year 3 and Year 4 computing in England. No reading of long text is needed, because every instruction is spoken aloud and shown as a short caption.
What does the game include and how long does it take?
It has four chapters on sequence, repetition, logical reasoning and debugging, an optional warm-up on algorithms, and an eight-question final challenge. Playing everything takes about 40 minutes, and children can start any chapter from the map.
More to explore
See all
Algorithms for Kids: Program Bop the Robot in Robo Town
Learn what an algorithm is and why robots need precise instructions, then program Bop the robot and predict w…
If and Else in Coding: Make Choices with Bit the Robot
Learn how if and else let a program make choices, then build, run, predict and debug block programs with Bit…
Debugging Simple Programs: A Bug Hunt with Beep
Learn debugging simple programs: build routes for Beep the garden robot, then test them, find the step that g…
Variables in Coding: Build Scores and Timers with Bit
Learn how variables in coding store scores, timers and names, then use set, change, loops and if blocks to bu…
Animal Life Cycles: Grow a Frog, Butterfly, Robin and Rabbit
Learn how animal life cycles work by helping a frog, butterfly, robin and rabbit grow, from egg or birth to a…
Skeletons and Muscles: Build a Body with Skelly
Learn how skeletons and muscles work together: build a skeleton, test how bones protect you, and make an arm…
The Heart and Circulatory System: Ride with Rosie
Learn how the heart and circulatory system work, then guide Rosie the red blood cell round the body, build yo…