Module 3 · Grid Driving
Lesson 2 · Driving Multiple Intersections — Knowledge ChecksAnswer key
Why does a second track_until_cross() call right after the first do nothing?
After stopping, both sensors are still on the cross. The follow loop only runs while NOT at a cross, so it exits at once — until you clear the intersection.
In a loop that drives 3 intersections, why is the clear step skipped on the last iteration?
You want to end parked on the last intersection (ready to turn). Clearing there would drive the robot past it.
A student's loop clears after EVERY intersection, including the last. What goes wrong?
Clearing after the last intersection nudges the robot off it, so it ends up past the spot it was supposed to stop on. The i < count − 1 guard prevents that.