1Why does this car need two thresholds instead of one?
2What happens if you make the hold band very narrow — say between 9 and 10cm?
Part 2 of 5
👀 Reading
Read the blocks. What will the robot do?
1Your hand is 3cm from the sensor. What does the car do?
2You move your hand slowly away from the car. What does it do?
3These are two separate if blocks. Your hand is 3cm away — what actually reaches the motors?
Part 3 of 5
🐞 Debug
Something is wrong. Find it.
1This car drives into your hand instead of holding a gap. What is wrong?
2This car never holds still — it is always moving in or out. What is missing?
Part 4 of 5
🧱 Building
Put the blocks in the right order.
1The tests use <, like our program (< 5, < 10). Put the three branches in the order they must be tested: 1 too far — come forward · 2 too close — back away · 3 just right — hold still
2The else if branch holds still. You want the car to hold between 8cm and 15cm. Which pair of tests does that?
Part 5 of 5
💬 Talk
Say it in your own words.
1In one or two sentences, explain why a chain of else if is not the same as three separate if blocks here.