Download presentation
Presentation is loading. Please wait.
Published byAmanda Hensley Modified over 9 years ago
1
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
2
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
3
d. Communicate
4
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
5
b. lightest
6
A program is a list of ____________ that tells the robot what to do a. groceries b. parts c. instructions d. sensors
7
c. instructions
8
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
9
b. software
10
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
11
D. ends
12
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
13
d. chosen
14
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
15
d. Apostrophe
16
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
17
d. Blue d. green
18
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
19
a. less
20
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
21
b. Black c. yellow
22
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
23
d. stop
24
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
25
a. mirror image
26
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
27
d. Servo motors
28
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
29
b. traction
30
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
31
c. For pulsecount = 1 to 100
32
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 Stop742745 Forward795685 Backward674778
33
The robot will move backwards.
34
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
35
c. turned to the on position
36
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
38
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
39
b. tiles
40
There are 5 parts to a robot. The battery pack is the ___________. a.power b.muscle c.brain d.sensor
41
a. power
42
There are 5 parts to a robot. The microcontroller is the ___________. a.power b.muscle c.brain d.sensor
43
c. brain
44
There are 5 parts to a robot. The servo motor is the ___________. a.power b.muscle c.brain d.sensor
45
b. muscle
46
There are 5 parts to a robot. The whisker switch is the ___________. a.power b.muscle c.brain d.sensor
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.