Pickles AcademyStart for free

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

  1. Question 1 Easy

    The robot runs the program: → ↓ ← ←. Each arrow moves the robot one square that way. Which square does it stop on?

    ABCDE
    1. A) square A
    2. B) square B
    3. C) square C
    4. D) square D
    5. E) square E
    Show the solution
    Answer: A) square A

    How it works: The robot stops on square A.

  2. Question 2 Normal

    The robot runs the program: → ↓ ← ↓ → ↑ →. Each arrow moves the robot one square that way. Which square does it stop on?

    ABCDE
    1. A) square A
    2. B) square B
    3. C) square C
    4. D) square D
    5. E) square E
    Show the solution
    Answer: C) square C

    How it works: The robot stops on square C.

  3. 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?

    ABCDE
    1. A) square A
    2. B) square B
    3. C) square C
    4. D) square D
    5. E) square E
    Show the solution
    Answer: C) square C

    How it works: The robot stops on square C.

All Computing topics

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