- :-

Topics Covered

  • If/Else Block
  • Thinking About "Cases"
  • Lesson Links

    Check Your Understanding:
    1. 1. The robot will move forward...
    2. ...if there is no object in front of the Distance Sensor when the program starts.
      ...if there is an object in front of the Distance Sensor when the program starts.
      ...if an object passes in front of the Distance Sensor at any time.
      ...until an object passes in front of the Distance Sensor.
    3. 2. The robot makes its decision about whether to move forward or turn right...
    4. Once, when the If/Else Statement Block is reached in the program.
      Once, when the If/Else Statement Block sees an object
      Continually while the program is running
      The robot never moves, no matter what