- :
-
Topics Covered
If/Else Block
Thinking About "Cases"
Lesson Links
...
...
Check Your Understanding:
1. The robot will move forward...
...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.
2. The robot makes its decision about whether to move forward or turn right...
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