Module 3 · Grid Driving
Lesson 3-3 · Turning on the Grid — Knowledge ChecksAnswer key
Which sequence drives an L-shape — two segments, a right turn, then two more segments?
Drive to the corner, turn, then continue — the drive/turn/drive order is what makes the L.
After turn_clockwise(), what has to happen before the next drive_intersections()?
The turn finishes when is_either_on_line() sees the crossing line. The robot is on the intersection, facing the new direction, with a sensor on tape — ready to track.
Starting at the bottom-left corner facing away from you, the robot runs: drive_intersections(3), turn_clockwise(), drive_intersections(2). Where does it end up?
It drives 3 up, away from you, turns right (now facing right), and drives 2 to the right — an L ending 3 up and 2 across.