20 pt 30 pt 40 pt 50 pt 10 pt 20 pt 30 pt 40 pt 50 pt 10 pt 20 pt 30 pt 40 pt 50 pt 10 pt Review 1Review 2Review 3Review 4Review 5 10 pt 20 pt 30 pt 40 pt 50 pt 30 pt 40 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, BS2 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. 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 1Blank 2 a. redA. black b. yellowB. red c. greenC. blue d. blueD. 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. lessB. three C. More D. complicated
a. less
The ____________________ rubber rings are placed around the __________________ plastic wheel on our Botbrain robots. Blank 1Blank 2 a. yellowA. purple b. blackB. red c. greenC. yellow d. purpleD. green
b. Black c. yellow
The servo motor’s ________value is somewhere in the middle of the range (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 and 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 BS2} 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 servoLeft servo Stop Forward Backward674778
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
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. lettersb. tiles c. sequences 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