Lesson 1: Write it all first

Unit overview - Next: Lesson 2: Which way is the robot facing?

Goal: Children take the roles of programmer, tester and bot, and write a whole program with forward cards before the bot moves.

Length: about 30 minutes.

Materials

Steps

Opening (5 min)

Children sit along the front edge. Remind them of the kindergarten robot game: "Last year the robot moved one card at a time while you watched. Today we are real programmers: we write all the cards first, and only then does the robot move."

Show the three jobs with the badges:

Main activity (17 min)

  1. Teacher models (5 min). Put the start card on (column 1, row 1) and the star on (column 1, row 4). A volunteer bot stands on the start, facing the back of the grid (away from the front edge). Ask: "How many forward cards?" Children count the squares with their fingers in the air. The teacher lays out the cards on the strip, then the tester points to each card and the bot steps. (Answer: three forward cards; the bot ends on the star.)
  2. Rule check: "Can the programmer add a card once the bot has started?" (No. If it goes wrong, we stop, go back to the start and change the program. That is lesson 3.)
  3. Groups of three (12 min). Each group takes a turn on the floor grid or works at a table grid. Try:
    • start (column 2, row 1), star (column 2, row 3), bot facing the back: two forward cards;
    • start (column 4, row 1), star (column 4, row 4), bot facing the back: three forward cards. Then the programmer puts the star on any square straight ahead of the bot in the same column and writes the program. Swap badges after each route so everyone tries each job they want.

Discussion questions (with answers) (4 min)

Closing check (with answers) (4 min)

Put the start card on (column 3, row 1) with a toy robot facing the back. Lay out two forward cards. Children point to where it will stop, then a tester runs it.

Answer: (column 3, row 3), the square two ahead of the start.

Vocabulary

program, programmer, tester, bot, forward, start, star (goal).

Differentiation

Safety

Teacher notes