WorksheetsVex Robotics Sensors
Total questions: 73
Worksheet time: 2hrs 56mins
The limit switch is a ________________ part.
Digital
Analog
Motor
The bump switch is a ________________ part.
Digital
Analog
Motor
The line tracker is a ________________ part.
Digital
Analog
Motor
The potentiometer is a ________________ part.
Digital
Analog
Motor
You can think of the VEX Cortex as the ______________ of the robot.
Brain
Ear
Computer
Eyes
What is the maximum number of ANALOG sensors that can be hooked up.
8
10
12
13
What is the maximum number of DIGITAL sensors that can be hooked up.
8
12
13
10
What is the maximum number of MOTORS that can be hooked up.
8
12
13
10
A machine that gathers information about its environment (senses) and uses that information (thinks) to follow instructions to do work (acts).
Percolator
Robot
Moog
VEX
Robots need _______, which provides information to its computer to make decisions.
Output
Input
Electricity
Charge
_________ is a command sent out by the robot computer to the physical world.
Sensor
Input
Output
Circuit
What is this called?
Line Follower
LED Light
Bumper Switch
VEX 393 Motor
Is this sensor digital or analog?
Digital
Analog
Is this sensor digital or analog?
Digital
Analog
Is this sensor digital or analog?
Digital
Analog
Is this digital or analog?
Digital
Analog
Is this sensor digital or analog?
Digital
Analog
Which of these is not a digital sensor?
Touch Sensor
Quadrature Encoder
Ultrasonic Rangefinder
Line Follower
An AND condition is true if:
Only when the first condition is true
Only when all conditions are true
How far the robot moves
None of the conditions are true
The potentiometer is:
An analog sensor that can rotate one full revolution in either direction
An analog sensor that can rotate 250 degrees in either direction
An analog sensor that can rotate a total of 360 degrees
An analog sensor that can rotate a total of 250 degrees
The ultrasonic rangefinder is:
An Analog Sensor
A Digital Sensor
A Boolean Sensor
A Character Sensor
Light intensity readings from the Line Tracking Sensor range from:
0 to 100
0 to 1000
0 to 4095
-100 to +100
Where do you type your instructions?
1
2
3
4
What are sensors?
the computer that filters the information collected from the sensors and responds by making decisions using logic.
devices that lose information every time
devices that collect input from the environment and provide information that the CPU can respond to.
allows the robot to perform desired tasks without human guidance.
What do '#Pragma config()' statements do?
They start the program
They do nothing
They configure settings which live in their own section of flash memory that is outside of your program code. They are available as soon as the microcontroller gets power, regardless where they are written in your code. This is important because sometimes they are needed before your program is executed.
Random lines of code
All of these are digital sensors except?
light sensor
shaft encoder
bump switch
ultrasonic range finder
What is the top speed value for the VEX EDR motors when programming?
2000
180
5000
127
In a ROBOTC program, this is an example of what?
Complex behaviors
Simple behaviors
Basic behaviors
Pseudocode
Value of bump switch when pressed
0
1
63
127
When is the while loop true?
Never
Always
When hit bumpSwitch
limitStwitch
Which data type uses True or False and is useful for representing truth values of logic.
Bounce
Debugger
Timers
Boolean
Normally, statements run only once, but with a __________, they can be told to repeat over and over for as long as you want
while loop
repeater
duplicator
infinity runner
It used, in ROBOTC, to confirm that all inputs and outputs are working as expected
Debugger
Timers
Comments
Pseudocode
Which battery condition allows the fastest motor rotation?
50% charged
75% charged
100% charged
charged to my credit card
Which statement below best describes a potentiometer?
It can turn up to 12 full revolutions
Measures rotation of a shaft
between 0 and ~265 degrees
Excess torque against the internal mechanical stops will not harm them
It measures potential energy
Which of the following are true for the Ultra Sonic Range Finder?
It works similar to how bats and submarines
sense distance
Returns values of -1 or -2 if used outside of this range or if a return signal is not sensed
Is an analog sensor
It returns distance values between 0 and 255 inches or the equivalent centimeters or millimeters
This sensor can control the distance which a robot moves by monitoring the angle at which the wheels attached to the shaft encoder spin. Which sensor is it?
Flashlight
Motors
Potentiometer
Optical Shaft Encoders
I use pseudocode & comments in my program because _____.
my teacher is mean and makes me do it.
I follow sound best practices and know it can help me or a teammate save time in the future.
I just like to do pseudo - anything
my teacher won't let us program a poem.
It used, in ROBOTC, to confirm that all inputs and outputs are working as expected
Debugger
Timers
Comments
Pseudocode
Which data type uses True or False and is useful for representing truth values of logic.
Bounce
Debugger
Timers
Boolean
What is the purpose of the 'while(true)' statement?
creates a finite loop to check for changes in your VEX components a number of times
creates a finite loop to check for changes in your VEX components a number of times
creates an infinite loop to continually check for changes in your VEX components
True or False: You can use a variable simply by putting its name where you want its value to be used
True
False
Which is NOT an acceptable example of an infinite loop?
while(true)
while(1==1)
while(not false)
What speed is this program running?
Full Speed
Half speed
The following statement is an example of what kind of behavior: "Motor[port2] = 127;"
Complex behavior
Simple behavior
Basic behavior
The following statement is an example of what kind of behavior: "Turn on both motors at full speed"
Complex behavior
Simple behavior
Basic behavior
What will happen in this program?
Robot will turn left
Robot will turn right
robot will move forward for 2 seconds
Robot will move backward for 2 seconds
Sensor enables a robot to detect obstacles in its path by utilizing the propagation of sound waves.
flashlight
line follower
ultrasonic range finder
potentiometer
Sensors that take in information (i.e. bumpers, switches, detectors) are considered to be _____________.
Inputs
Servos
Self-directed
Outputs
Is this sensor setup digital or analog?
digital sensor
analog sensor
Sensor enables a robot to detect black line on a white surface works by detecting reflected light coming from its own infrared LED.
flashlight
line follower
ultrasonic range finder
potentiometer
Which of the following statements can be used to extend selection from a single IF statement?
Else
Choice
While
Do
The following statement is an example of what kind of behavior: "Follow the path through the maze"
Complex behavior
Simple behavior
Basic behavior
What is the full speed value when we start a motor?
63
127
100
50
Which two ports share the same memory in the cortex?
Digital 1 and 10
Digital 2 and 10
Digital 3 and 10
Digital 4 and 10
Digital 5 and 10
