Skip to main content
Module 3 · Grid Driving

Lesson 4 · Module 3 Final Project — Knowledge ChecksAnswer key

Correct answers are marked and the explanation follows each question.

  1. The square loop runs turn_right() once per side, four times. How many total degrees does the robot turn?

    1. A.90°
    2. B.180°
    3. C.360°
    4. D.270°

    Four right turns × 90° each = 360° — one full rotation, which is why a four-sided loop returns the robot to its starting heading.

  2. A student wrote `for leg in range(3):` and added a clear step right before turn_right(). What are the two bugs?

    1. A.Nothing is wrong
    2. B.range(3) only makes 3 sides (needs 4), and clearing before the turn double-clears the corner
    3. C.turn_right() should be turn_left(), and sides should be 4
    4. D.The loop should be a while loop, and print is missing

    A square needs range(4). And since turn_right() already clears the intersection, an extra clear before it pushes the robot past the corner — drop it.