Review 1 Review 2 Review 3 Review 4



















































- Slides: 51
Review 1 Review 2 Review 3 Review 4 Review 5 10 pt 20 pt 30 pt 30 pt 40 pt 40 pt 50 pt 50 pt
For the computer to ___________ correctly with the robot in Basic Stamp, you must first add a line of code that identifies the type of stamp in use. For our purposes, BS 2 is the type of stamp. A. calculate B. choose C. contact D. communicate
d. Communicate
When connecting the servo motors to the microcontroller (motherboard), the ______ colored wire must always be facing inward toward the center of the microcontroller. A. thinnest B. lightest C. thickest D. green
b. lightest
A program is a list of ______ that tells the robot what to do a. groceries b. parts c. instructions d. sensors
c. instructions
A program is written in _____ on a computer then downloaded to the robot’s microcontroller with a cable. a. Spanish b. software c. stone d. hardware
b. software
There are two main commands needed for a subroutine: GOSUB and RETURN. GOSUB is used within the main program and is followed by the name of the subroutine. The subroutine may contain anything from a simple mini program to a very complicated one, but it always _____ with RETURN in the programming language lets the robot know to go to the line just below the GOSUB line in the main program. A. succeeds B. starts C. excludes D. ends
D. ends
The version of Basic Stamp must also be __________ and for this class, the version 2. 5 is used. A. eliminated b. typed c. blocked d. chosen
d. chosen
A(n) ______________ tells the computer that the text following is simply a comment which is used to identify what the program does at that point. a. arrow b. color c. contact d. apostrophe
d. Apostrophe
The computer will change all code lines to __________ and all comments to ___________ which allows the user to know if they are entering information correctly. Blank 1 a. red b. yellow c. green d. blue Blank 2 A. black B. red C. blue D. green
d. Blue d. green
A subroutine is a useful part of programming that allows the programmer to control the robot efficiently and with _____ programming lines. A. less C. More B. three D. complicated
a. less
The __________ rubber rings are placed around the _________ plastic wheel on our Botbrain robots. Blank 1 a. yellow b. black c. green d. purple Blank 2 A. purple B. red C. yellow D. green
b. Black c. yellow
The servo motor’s ____value is somewhere in the middle of the range 650 950 (around 745). Any value above 745 makes the motor spin in a clockwise direction and any value below 745 makes the motor spin in a counter-clockwise direction. a. forward b. backward c. main d. stop
d. stop
The servo motors are mounted in ______ on the robot; therefore, one needs to spin clockwise and the other counter clockwise for the motors to turn their respective wheels in the same direction. a. mirror image b. tandem c. line d. sync
a. mirror image
The _____are controlled by using the PULSOUT command entering power input values between 650 and 950. Anything outside this range is supplying energy beyond the motors physical ability. This is like trying to press a car’s gas pedal further when the car is already going as fast as the engine can go. a. whisker switches b. programs c. distances d. servo motors
d. Servo motors
The black rubber bands that are stretched around the outer edge of the yellow plastic wheels provide _______. a. a cool factor b. traction c. distance d. speed
b. traction
Which line of code below tells the servo motor how long to perform the task just below it? A. loop B. {$STAMP BS 2} C. For pulsecount = 1 to 100 D. Pause 20
c. For pulsecount = 1 to 100
Explain what the lines of code will make the robot do. Refer to the chart included. FOR pulsecount = 1 to 50 PULSOUT rservo, 674 PULSOUT lservo, 778 NEXT Right servo Left servo Stop 742 745 Forward 795 685 Backward 674 778
The robot will move backwards.
When downloading a program to the robot, the robot must not only be connected to the computer by the appropriate cables, but it must also be _______. a. well-built b. turned to the off position c. turned to the on position d. synced to the computer
c. turned to the on position
The Botbrain robot is configured to connect to a computer through a serial port, but since most _____ computers no longer have this port, we must use a conversion cable called a serial to USB cable. a. mac b. desktop c. laptop d. modern
d. modern
Basic Stamp Editor and Program Maker are essentially the same. Basic Stamp Editor requires the user to type out which ports the components are connected to, the programming language as well as the values for time and power and use all appropriate characters (commas, =, +, etc. ) that the robot needs. Program Maker has programming _______ that have the programming language and set up of ports embedded within it and the user is simply adding the values needed for a movement or task. a. letters c. sequences b. tiles d. lines
b. tiles
There are 5 parts to a robot. The battery pack is the ______. a. power b. muscle c. brain d. sensor
a. power
There are 5 parts to a robot. The microcontroller is the ______. a. power b. muscle c. brain d. sensor
c. brain
There are 5 parts to a robot. The servo motor is the ______. a. power b. muscle c. brain d. sensor
b. muscle
There are 5 parts to a robot. The whisker switch is the ______. a. power b. muscle c. brain d. sensor
d. sensor