A robot on a grid – practice for Years 4–5
Sample questions on A robot on a grid with the right answer and a worked solution, from easy to hard. In the Pickles Academy app a child gets new questions of the same kind every time, so they can't just learn the answers by heart.
- Subject
- Computing
- Year
- Years 4–5
- Curriculum area
- Algorithms and programming
Question types: Where does the robot stop?
Rule: A robot on a grid
Follow the commands one by one and note where the robot is after each one.
An arrow moves the robot one square on the map: ↑ up, ↓ down, ← left, → right.
Example: ↓ ↓ → → ↑ ↑ ↑: 2 down, 2 right, 3 up → 1 square higher and 2 squares right of the start
Watch out: Up and down cancel each other out, and so do left and right: count them separately.
Sample questions
-
Question 1 Easy
The robot runs the program: → ↓ ← ←. Each arrow moves the robot one square that way. Which square does it stop on?
Show the solution
Answer: A) square AHow it works: The robot stops on square A.
-
Question 2 Normal
The robot runs the program: → ↓ ← ↓ → ↑ →. Each arrow moves the robot one square that way. Which square does it stop on?
Show the solution
Answer: C) square CHow it works: The robot stops on square C.
-
Question 3 Hard
The robot faces the way its arrow points. It runs the program: ⬆ ↻ ⬆ ↻ ⬆ ↺ ⬆ ↻ ⬆. ⬆ = one step forward, ↺ = turn left, ↻ = turn right (on the spot). Which square does it stop on?
Show the solution
Answer: C) square CHow it works: The robot stops on square C.
Keep practising in the app
In a minute, your child has their own avatar and a first task. Free, no ads, data in the EU.
Start for free