BrightWorld › Topics › Reasoning & puzzles › Algorithms and Debugging
Algorithms and Debugging practice for Years 3–6
Reasoning & puzzles · Problem Solving · Key Stage 2. Planning, strategy, word puzzles and algorithms.
What your child will learn
- Predict the result of short algorithms that use sequence, repetition (loops) and selection (if/else).
- Find and fix errors (bugs) in algorithms and simple programs.
- Put the steps of an algorithm in the right order and recognise sequence, repetition and selection.
Try some free algorithms and debugging questions
These are real BrightWorld questions. In the app, every question adapts to your child’s level and comes with hints and worked examples.
Question 1. What number does the robot say at the end?
set n to 2 repeat 3 times: add 4 to n say n
set n to 2 repeat 3 times: add 4 to n say n
Show the answer
14
Question 2. This code should draw a square, but only draws 3 sides. What is the bug?
pen down repeat 3 times: move 10 steps turn right 90°
pen down repeat 3 times: move 10 steps turn right 90°
- It should turn 120°
- It should repeat 4 times
- It should move 30 steps
Show the answer
It should repeat 4 times
Question 3. How many claps are there?
for each number from 1 to 6: if the number is even then clap else stamp
for each number from 1 to 6: if the number is even then clap else stamp
- 2
- 6
- 3
Show the answer
3
How BrightWorld helps with algorithms and debugging
Children practise algorithms and debugging at Easy, Medium or Hard, in mixed quizzes, in the Answer Run game and inside story missions. If they get stuck, they get a hint and a worked example; if they’re flying, the questions get harder. Parents see how they’re doing in the parent area.
Practise algorithms and debugging in BrightWorld
BrightWorld starts at your child’s level with a quick, fun check, then adapts as they learn. No ads, no strangers, and you see what they’ve learned.
Start free
BrightWorld starts at your child’s level with a quick, fun check, then adapts as they learn. No ads, no strangers, and you see what they’ve learned.
Start free