Skip to main content
Module 3 · Grid Driving

Lesson 3-3 · Turning on the Grid — Knowledge ChecksAnswer key

Correct answers are marked and the explanation follows each question.

  1. Which sequence drives an L-shape — two segments, a right turn, then two more segments?

    1. A.turn_clockwise(); drive_intersections(2); drive_intersections(2)
    2. B.drive_intersections(2); turn_clockwise(); drive_intersections(2)✓
    3. C.drive_intersections(4)
    4. D.turn_clockwise(); turn_clockwise()

    Drive to the corner, turn, then continue — the drive/turn/drive order is what makes the L.

  2. After turn_clockwise(), what has to happen before the next drive_intersections()?

    1. A.A short drive forward to clear the cross
    2. B.Nothing — the turn ends with a sensor on the new line, and the next track_to_intersection() follows it from there✓
    3. C.A short time.sleep()
    4. D.A second turn to straighten up

    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.

  3. 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?

    1. A.Back at the start
    2. B.3 intersections up from the start, then 2 intersections to the right from there✓
    3. C.2 up, then 3 to the right
    4. D.It never turns

    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.