1Where is the light sensor that this program reads?
2Your friend copies your threshold of 10 and their headlights never come on. Why?
Part 2 of 5
👀 Reading
Read the blocks. What will the robot do?
1What color do the headlights show?
2You cover the sensor, then uncover it. What do the headlights do?
3What is the car doing while the lights switch themselves on and off?
Part 3 of 5
🐞 Debug
Something is wrong. Find it.
1The headlights are on in daylight and go out when it gets dark — backwards. Which change fixes it?
2The lights are decided once at start-up and never change again. What is missing?
Part 4 of 5
🧱 Building
Put the blocks in the right order.
1Each time round the loop, in what order does the program do these? 1 test whether it is below your threshold · 2 read the light level · 3 turn the lights on or off · 4 go back to the top and do it again
2You measure your room and get readings around 120 in daylight and around 30 with the lights off. Which threshold is sensible?
Part 5 of 5
💬 Talk
Say it in your own words.
1In one or two sentences, explain why two classrooms need two different thresholds.