Skip to main content
Module 2 · Line Tracking

Lesson 7 · Detecting Intersections — Knowledge Checks

Name Date
  1. Which condition detects an intersection (both sensors on the line)?

    1. A.left > 0.5 or right > 0.5
    2. B.left > 0.5 and right > 0.5
    3. C.left > 0.5
    4. D.not (left > 0.5)

    Answer Why?

  2. Why is there a time.sleep(0.3) right after the robot turns at the cross?

    1. A.To let the motors cool down
    2. B.So the robot moves past the cross before the loop checks again — otherwise it re-detects the same cross instantly
    3. C.To make the turn more accurate
    4. D.It is required by arcade()

    Answer Why?

  3. During normal line following (not at a cross), which branch of the if/else runs?

    1. A.The if branch — it turns around
    2. B.The else branch — it does proportional line following
    3. C.Both branches run
    4. D.Neither runs

    Answer Why?