- :
Check Your Understanding:
  1. 1. If the WHILE loop were not part of the program, the IF statements would:
  2. Run continuously
    Cause the robot to run straight forever
    Run only once
    An IF statement will not run if it is not part of a WHILE loop
  3. 2. How do you create a multi-line comment in your program?
  4. Type ‘/*’ at the beginning of your comment
    Type ‘//’ at the beginning of your comment
    Type ‘/*’ at the beginning of your comment and ‘*/’ at the end of your comment
    Type ‘//’ at the beginning of your comment and again at the end of your comment
  5. 3. In your program the WHILE loop was used to control:
  6. The overall distance the robot moves
    The use of the IF statements
    The overall length of the program
    The speed of your robot
  7. 4. The encoder values should be reset every time you want to use the encoders to control a robot movement.
  8. True
    False