Session 1 · 60 min
How does a program keep checking?
Repeat until: a loop that checks before every round and stops itself. If … else inside the loop: check once, then do one of two things. A test table records each guess and each result, so a failing case can be found.
The adult says first: “Robots check again and again. Write a guess before every test.”
Learner card
- Guess first. Write it.
- Run it. Write what happened.
- Try all three boards.
- Which part runs at a wall?
Key words (show each with a picture): guess · test table · check
Timing (27 of 60 min at the screen)
- 15 minAway from the screen: Floor robot: on a masking-tape grid, one learner is the robot and another reads the program cards; the robot checks for a wall before every step. Guess first.
- 15 minAt the screen: Robot Blocks level 3: one program, three boards; a guess before each run.
- 10 minAway from the screen: Copy the table onto paper and add a column of your own.
- 12 minAt the screen: Robot Blocks level 4: if … else inside the loop.
- 8 minAway from the screen: Say which part of if … else ran on each board.
In the studio
Hands-on
Nothing is powered. First, away from the screen, the group plays robot on a grid of masking tape on the floor: one learner is the robot, another reads the program cards aloud, and the robot checks for a wall before every step. In Robot Blocks level 3, one program must reach the star on three boards. Before each run the learner writes a guess in a test table, then runs it and writes the result. Level 4 puts if … else inside the loop: the learner points to the part that runs at a wall and the part that runs when there is none. Then the learner copies the table onto paper and adds a column of their own (for example “Blocks used”).
Evidence to collect
A prediction for each board, the learner's own short test table (Board | My guess | What happened) with one extra column they chose, and the learner's spoken explanation of which part of if … else ran on each board.
Test table columns: Board | My guess | What happened
- Predict
- Before each run, the learner writes whether the robot will reach the star on that board.
- Debug
- If a program works on one board but not another, run it step by step on the failing board and mark the row where it went wrong.
- Reflect
- How did the table help you find which board failed?
Works towards: Trial tables