Year 1 (ages 5–6, Kindergarten in the US) · Computing · What is an algorithm? · Lesson 2
Giving directions
Giving and following movement instructions (forward, back, left, right) on a grid, predicting where a robot will end.
Exam boards: this lesson matches the AQA and Pearson Edexcel GCSE computing courses. Check which course your school follows.

14-minute video lesson
Teaching, worked examples and 20 practice questions solved step by step.
Watch free for a monthWhat your child will learn
- Use forward and back
- Use turn left and turn right
- Follow programs on a grid
- Predict and debug
The method
- Where do you start? Which way do you face?
- Use forward, back, turn left, turn right.
- Predict where you'll end.
- Test it, then fix any bugs.
Key words: forward, back, turn left, turn right, program, robot.
Worked examples
Worked examples from the lesson, with every step.
Question 1
Robot starts on A1 facing up. Code: forward 1. Where does it end?
- Step 1: Start
- Step 2: forward 1
- Step 3: Trace the path
Answer: A2
Question 2
Robot starts on B1 facing up. Code: forward 2. Where does it end?
- Step 1: Start
- Step 2: forward 2
- Step 3: Trace the path
Answer: B3
Question 3
Robot starts on A1 facing up. Code: turn right, forward 1. Where does it end?
- Step 1: Start
- Step 2: turn right
- Step 3: forward 1
- Step 4: Trace the path
Answer: B1