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
- The 4 by 4 floor grid with the marked front edge.
- Start card and star card; two rocks.
- One arrow card set per group of three and one program strip per group.
- Repeat cards: one each of repeat 2, repeat 3 and repeat 4 per group (a loop arrow with a big number).
- Job badges: programmer, tester, bot.
- Table grids with a toy robot.
- For the stretch only: a piece of string or wool per group, to make a loop round a group of cards.
- Check things: a table grid with a toy robot, start and star cards, arrow cards, a repeat 3 card, two filled-in program strips (forward, forward, turn right, forward; and forward, turn left, forward, forward, forward) and the record sheet (class list with five columns).
- Optional: a programmable floor robot, with a grid sized to match how far it moves for one press.
- Ear defenders and a quiet spot.
- Optional, for blind or low-vision children: tactile arrow cards, tactile repeat cards for 2, 3 and 4 (a raised loop and 2, 3 or 4 raised dots), raised blocks for the rocks and a raised-edge table grid.
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)
- 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.)
- 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.
- 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
- Support: use only repeat 2 and repeat 3, and only with forward cards.
- Stretch: repeat a group of cards. Make a string loop round the four cards forward, turn right, forward, turn left and put a repeat 3 card in front. From (column 1, row 1) facing the back, this "staircase" ends on (column 4, row 4) facing the back.
Safety
- As before: walk, one square per card, stop before leaving the grid or touching a rock.
- A floor robot is used on the floor grid only, away from table edges.
Teacher notes
- A repeat card is a first step towards loops, which come back in grade 2 and in later computing units. Keep it to one repeated card for most children.
- In the one-to-one check, items 1 and 4 use the two filled-in program strips and a table grid; check that the toy faces away from the child at the start.