Year 3 (ages 7–8, Grade 2 in the US) · Computing · Sequences in Scratch · Lesson 2
Following a sequence
Following and writing sequences of commands for a robot on a grid, understanding direction, turns and why order matters.
Exam boards: this lesson matches the AQA and Pearson Edexcel GCSE computing courses. Check which course your school follows.

16-minute video lesson
Teaching, worked examples and 20 practice questions solved step by step.
Watch free for a monthWhat your child will learn
- Follow a sequence of commands
- Predict an end position
- Write a route
- Explain why order matters
The method
- Start.
- One at a time.
- Turns.
- Trace.
Key words: sequence, algorithm, robot, grid, direction, program.
Worked examples
Worked examples from the lesson, with every step.
Question 1
Robot starts on A1 facing up. Code: forward 3. Where does it end?
- Step 1: Start
- Step 2: forward 3
- Step 3: Trace the path
Answer: A4
Question 2
Robot starts on A1 facing up. Code: turn right, forward 4. Where does it end?
- Step 1: Start
- Step 2: turn right
- Step 3: forward 4
- Step 4: Trace the path
Answer: E1
Question 3
Robot starts on C1 facing up. Code: forward 2, turn left, forward 1. Where does it end?
- Step 1: Start
- Step 2: forward 2
- Step 3: turn left
- Step 4: forward 1
- Step 5: Trace the path
Answer: B3