🧑🏫 Teacher Guide
📝 Notes for this chapter
Darken the room as much as you can and use a torch. The wiki program uses 50 — that is their room, and it is a starting point, not an answer. Pairs measure their own exactly as in Level 2. That is the point of ending here: the same skill, now on a number that decides whether the robot works at all. Fix It answer: the branches are swapped, so the car drives away in the dark and spins when it finds the light. Source: ElecFreaks wiki, Case 15 "Seeking the Light".
🚀 Extend — where each task goes
Agree a starting line and a torch position → Run both cars → Note which threshold each pair used → Say why one was faster🟡 Make it stop when it gets close to the light instead of bumping it.
Watch how high the light level climbs as the torch gets close → Pick a number that means close enough → Add that test to the bright branch → Test with the torch on the floor🔴 Free build: pick any two sensors you have met and make the car do something new.
List the sensors from all six levels → Pick two that could work together → Write down what the car should do → Build it and show the class
🧩 The blocks you need today
Reads how bright the room is, from 0 to 255.
basic.showNumber(input.lightLevel())
You see: A small number in the dark and a big number in the light.
Picks one of two paths, one for true and one for false.
if (cuteBot.ultrasonic(cuteBot.SonarUnit.Centimeters) < 15) {
cuteBot.stopcar()
} else {
cuteBot.forward()
}You see: Exactly one of the two groups runs, never both.
Everything inside runs again and again, without stopping.
basic.forever(function () {
basic.showIcon(IconNames.Heart)
basic.pause(500)
basic.clearScreen()
basic.pause(500)
})You see: A heart that blinks on and off, about once a second, and never stops.
⚠ A forever with no pause repeats very fast. That is fine for motors (a speed ramp needs it), but a blink needs a pause to be seen.
Both wheels start turning forward, and they keep turning.
cuteBot.forward() basic.pause(2000) cuteBot.stopcar()
You see: The car drives straight ahead for two seconds, then stops and stays stopped.
⚠ This block only starts the wheels — it does not say how far or how long. Without a stop block the car drives until the batteries die or it hits a wall. Students who leave out the stop block think their program 'crashed'.
Compares two numbers.
if (cuteBot.ultrasonic(cuteBot.SonarUnit.Centimeters) < 20) {
cuteBot.stopcar()
}You see: True or false, which you drop into an if block.
One wheel stops and the other drives, so the car pivots to the left.
cuteBot.turnleft() basic.pause(500) cuteBot.stopcar()
You see: The car pivots left. Half a second is roughly a quarter turn on a smooth floor.
⚠ How far it turns depends on the floor and the batteries. On carpet the same half second turns much less. Students should measure, not trust a number.
Answer key
| Concept | c1 → C, c2 → C |
| Reading | r1 → C, r2 → C, r3 → A |
| Debug | d1 → B, d2 → B |
| Building | b1 → B, b2 → A |
Talk rubric
Strong — says the sensor gives only a brightness number with no direction in it, and the car finds a direction by turning until the reading rises past the threshold. Developing — says it does not know the direction without explaining how spinning solves that. Needs Focus — agrees that the car knows where the light is, or says it needs a second sensor.
A week later
These questions are not on the check-up page. They come back in the next chapter's Warm-up, five days or more after the check-up — with one new program on the same idea each.
| Concept 3 🗓️ Comes back a week later | Only one light sensor, and yet the car finds a direction. How? → D It turns, so the one sensor faces different ways over time |
| · New code (same idea) | A car with one light sensor turns on the spot. Its reading jumps up for a moment, then drops again. What does that tell it? → D For a moment it was facing the light |
| Reading 3 🗓️ Comes back a week later | The car is driving towards the torch and you switch it off. What does it do? → C Goes back to spinning |
| · New code (same idea) | The car drives towards a torch, and someone switches the torch off. What does it do? → A Turns round and round again |