Skip to main content
Module 2 · Line Tracking

Lesson 2-9 · Line-Tracking Functions — Knowledge Checks

Name Date
  1. Why does turn_clockwise() start with a blind 60-degree turn before the while loop?

    1. A.To make the turn faster
    2. B.Both sensors are still on the line it was following; without moving off it first, is_either_on_line() is already True and the loop ends before the turn starts
    3. C.Because 60 + 30 = 90
    4. D.To recharge the battery

    Answer Why?

  2. What does pass do inside the while loop?

    1. A.Skips the turn
    2. B.Nothing — it is a placeholder; the loop just keeps re-checking is_either_on_line() while the motors run
    3. C.Pauses the program
    4. D.Passes the robot to the next line

    Answer Why?