Page 73 - Loop, there it is! - IQ
P. 73

Review










                  1.  What does the repeat block do in the following project?
































                      o  It repeats the driving, playing, and turning behaviors four times so that the robot
                         moves in a square.

                      o  It repeats again and again until the program is stopped.

                      o  It has the robot drive for 300mm four times before playing a sound and turning right.

                      o  It has the robot drive for 1200mm, play the siren four times, and then turn right for
                         360 degrees.



                  2.  Loops are _____________.

                      o  documents the data types available

                      o  conditionally executes a group of statements

                      o  statement(s) to handle errors that occur

                      o  programming structures that repeat behaviors
   68   69   70   71   72   73   74   75   76   77   78