Lesson 2: Which way is the robot facing?

Unit overview - Previous: Lesson 1: Write it all first - Next: Lesson 3: Find the first wrong card

Goal: Children use the turn left and turn right cards from the robot's point of view, and write programs with one turn.

Length: about 30 minutes.

Materials

Steps

Opening (5 min)

A volunteer bot stands in the middle of the grid facing the back. Show a turn card: "A turn card means turn on the spot, a quarter turn, no step." The bot turns; children copy, standing in their places.

Now the bot turns round to face the class. Hold up the turn right card and ask: "Which way will the bot turn?" Let children guess, then show the trick.

Stand behind the robot: the tester stands behind the bot, facing the same way, and holds the turn card up in front of their own chest. The curved arrow now points the way the bot turns. With a toy robot, children walk round the table (or turn the table grid) until they are behind the toy.

Main activity (17 min)

Groups of three with badges, on the floor grid or a table grid. The programmer writes the whole program first, as in lesson 1. Use these routes (bot starts on the start card):

  1. Start (column 1, row 1), facing the back; star (column 3, row 3). Answer: forward, forward, turn right, forward, forward.
  2. Start (column 1, row 1), facing the back; star (column 4, row 2). Answer: forward, turn right, forward, forward, forward.
  3. The tricky one. Start (column 4, row 4) in the back-right corner, facing the front edge (towards the class); star (column 2, row 4). Answer: turn right, forward, forward. From the bot's view, the star is on its right even though it is on the class's left. Ask: "What happens with turn left?" (The bot would face the side edge and walk off the grid on the first forward card: stop it there.)

Swap badges after each route. Early finishers place their own star one turn away and write the program.

Discussion questions (with answers) (4 min)

Closing check (with answers) (4 min)

Toy robot on (column 2, row 1), facing the back. Program: forward, turn right, forward. Children point to where it ends and which way it faces.

Answer: (column 3, row 2), facing the right-hand side edge (as seen from the front).

Vocabulary

turn left, turn right, quarter turn, facing, point of view.

Differentiation

Safety

Teacher notes