Lesson 5: Spot the repeat

Unit overview - Previous: Lesson 4: Round the rocks

Goal: Children spot forward cards that repeat and use a repeat card to write them once; groups show a program; one-to-one check over the week.

Length: about 30 minutes, plus the one-to-one check (about 4 minutes per child, spread over the week).

Materials

Steps

Opening (3 min)

Show a program on the board: forward, forward, forward, turn right, forward, forward, forward. "That's a lot of cards. Can you see something that happens again and again?" (Three forwards, twice.)

Show the repeat 3 card: "This card means: do the next card three times." So repeat 3, forward is the same as forward, forward, forward.

Main activity (15 min)

  1. Same route, fewer cards (5 min). Start (column 1, row 1), bot facing the back; star (column 4, row 4); no rocks. Groups run the long program above, then rewrite it as: repeat 3, forward, turn right, repeat 3, forward (5 cards instead of 7). Run it again. (Both end on the star.)
  2. Rewrite a rock route (6 min). Rocks back on (column 1, row 3) and (column 3, row 1). Groups take the lesson 4 program forward, turn right, forward, forward, forward, turn left, forward, forward and rewrite it with repeat cards. (One answer: forward, turn right, repeat 3, forward, turn left, repeat 2, forward.) Test it from the start.
  3. Own route (4 min). Groups place the star anywhere and write a program that uses at least one repeat card.

Robot show (7 min)

Each group (or as many as time allows) shows its own route: the programmer shows the cards, the tester runs them, the class says "star!" if the bot arrives. Groups who prefer can show on a table grid. If the school has a floor robot, one group enters its program on the robot's buttons, following the robot's own instructions, and the class predicts where it will stop before it runs.

Closing check (with answers) (5 min)

Show: forward, forward, turn left, forward, forward, forward, forward. Ask: "Which cards can a repeat card replace, and which repeat card?" Children point or hold up the number with fingers.

Answer: the four forwards at the end become repeat 4, forward. The first two forwards could also become repeat 2, forward.

Then the one-to-one check, over the week (see the unit overview, Assessment).

Vocabulary

repeat, loop, the same again.

Differentiation

Safety

Teacher notes