Your Fire Escape 5 min
Oh no! I made some mistakes.
Can you help me fix them?
Today you are a fixer. You find mistakes.
- Get your tower out. Fold the arm down.
- Check the cable. Is it in A?
- Turn the Brick on.
Spot the mistake 10 min
Your teacher gives you jobs. One job is silly!
- “Arm up. Wait. Arm down.” Easy!
- “Arm up. Wait.” Oh! No arm down. It stays up!
- “Arm down. Arm up.” Oops. Wrong order!
- Shout “Mistake!” when you hear one.
How to fix it 5 min
- Guess. What will the arm do?
- Test. Press play. Watch.
- Look. Which block is wrong?
- Fix. Change one thing. Test again.
Fix my programs 20 min
Each program has one mistake. Build it. Test it. Fix it!
🐞 Mistake 1
when program starts :: events hat [B v] set speed to (20) % :: motors [B v] run [clockwise v] for (0.5) [rotations v] :: motors wait (2) seconds [B v] run [counterclockwise v] for (0.5) [rotations v] :: motors
🐞 Mistake 2
when program starts :: events hat [A v] set speed to (20) % :: motors [A v] run [clockwise v] for (0.1) [rotations v] :: motors wait (2) seconds [A v] run [counterclockwise v] for (0.1) [rotations v] :: motors
🐞 Mistake 3
when program starts :: events hat [A v] set speed to (20) % :: motors [A v] run [clockwise v] for (0.5) [rotations v] :: motors [A v] run [counterclockwise v] for (0.5) [rotations v] :: motors
🐞 Mistake 4
when program starts :: events hat [A v] set speed to (20) % :: motors [A v] run [clockwise v] for (0.5) [rotations v] :: motors wait (2) seconds
Bug hunt break! 5 min
- Stand up. Look for bugs!
- Look high. Look low.
- Found one? Catch it in your hands!
- Let it go outside. Bye, bug! Sit down.
Trick a friend 15 min
Now you make the mistake!
- Build the lift program. Make it work.
- Change one thing. Make it wrong. Shhh!
- Swap computers with a friend.
- Your friend finds the mistake. Then fixes it.
- Swap back. Did they find it?
Your challenges 10 min
⭐ Challenge 1: Fix the speed
A program says speed 100. The tower shakes. Fix it!
⭐⭐ Challenge 2: Fix the time
A program waits 20 seconds at the top. Too long! Make it 2.
⭐⭐⭐ Challenge 3: Two mistakes
Your teacher hides two mistakes. Can you find both?
Show and tell 10 min
- Show a mistake you found.
- Say how you fixed it.
- Mistakes are fine. Fixing them is fun!
- Clap for all the fixers!
- Turn the Brick off. Take your tower apart. Sort the parts.
Thank you, fixers! All my programs work!
Teacher note
Timing (90 min): model and check 5, rebuild only if needed 10, spot the mistake 10, how to fix it 5, fix my programs 20, break 5, trick a friend 15, challenges 10, show and tidy 10.
The idea today: guess, test, look, fix. Each of the four programs has exactly one mistake: the wrong letter (B), a number far too small (0.1), no wait, and no “down” block. Build each one with the class before they test it, or prepare them as files. Use each child’s own number from lesson 31 in place of 0.5 if theirs differs.
After mistake 4 the arm stays up: run it the other way, or fold it down by hand with the Brick off.
Words met today: mistake, fix. Do not call it “debugging” yet; Level 1 names it.
