Skip to main content
Module 4 · Manhattan Navigation

Lesson 4-6 · On the Robot — Knowledge Checks

Name Date
  1. Yesterday's printout was right, but today the robot turns one too few times at a corner. Where is the problem?

    1. A.In compute_manhattan_path()
    2. B.On the robot side: a turn that missed or doubled up a line, the tape, or the battery. The same code printed the right turns
    3. C.In the print statements
    4. D.In DELIVERY_STOPS

    Answer Why?