Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Vex Robotics Sensors

Total questions: 73

Worksheet time: 2hrs 56mins

Name
Class
Date
1.
What is the name of this VEX electrical system part?
a)
Bumper Switch
b)
Limit Switch
c)
Potentiometer
d)
Line Tracker
2.
What is the name of this VEX electrical system part?
a)
Bumper Switch
b)
Limit Switch
c)
Potentiometer
d)
Line Tracker
3.
What is the name of this VEX electrical system part?
a)
Bumper Switch
b)
Limit Switch
c)
Potentiometer
d)
Line Tracker
4.
What is the name of this VEX electrical system part?
a)
Bumper Switch
b)
Limit Switch
c)
Potentiometer
d)
Line Tracker
5.

The limit switch is a ________________ part.

a)

Digital

b)

Analog

c)

Motor

6.

The bump switch is a ________________ part.

a)

Digital

b)

Analog

c)

Motor

7.

The line tracker is a ________________ part.

a)

Digital

b)

Analog

c)

Motor

8.

The potentiometer is a ________________ part.

a)

Digital

b)

Analog

c)

Motor

9.

You can think of the VEX Cortex as the ______________ of the robot.

a)

Brain

b)

Ear

c)

Computer

d)

Eyes

10.

What is the maximum number of ANALOG sensors that can be hooked up.

a)

8

b)

10

c)

12

d)

13

11.

What is the maximum number of DIGITAL sensors that can be hooked up.

a)

8

b)

12

c)

13

d)

10

12.

What is the maximum number of MOTORS that can be hooked up.

a)

8

b)

12

c)

13

d)

10

13.
What color is the USB cord that connects the Cortex to the computer?
a)
red
b)
green
c)
black
d)
orange
14.
VEX axles have which shape?
a)
Round
b)
Triangular
c)
Square
15.

A machine that gathers information about its environment (senses) and uses that information (thinks) to follow instructions to do work (acts).

a)

Percolator

b)

Robot

c)

Moog

d)

VEX

16.

Robots need _______, which provides information to its computer to make decisions.

a)

Output

b)

Input

c)

Electricity

d)

Charge

17.

_________ is a command sent out by the robot computer to the physical world.

a)

Sensor

b)

Input

c)

Output

d)

Circuit

18.

What is this called?

a)

Line Follower

b)

LED Light

c)

Bumper Switch

d)

VEX 393 Motor

19.

Is this sensor digital or analog?

a)

Digital

b)

Analog

20.

Is this sensor digital or analog?

a)

Digital

b)

Analog

21.

Is this sensor digital or analog?

a)

Digital

b)

Analog

22.

Is this digital or analog?

a)

Digital

b)

Analog

23.

Is this sensor digital or analog?

a)

Digital

b)

Analog

24.

Which of these is not a digital sensor?

a)

Touch Sensor

b)

Quadrature Encoder

c)

Ultrasonic Rangefinder

d)

Line Follower

25.

An AND condition is true if:

a)

Only when the first condition is true

b)

Only when all conditions are true

c)

How far the robot moves

d)

None of the conditions are true

26.

The potentiometer is:

a)

An analog sensor that can rotate one full revolution in either direction

b)

An analog sensor that can rotate 250 degrees in either direction

c)

An analog sensor that can rotate a total of 360 degrees

d)

An analog sensor that can rotate a total of 250 degrees

27.

The ultrasonic rangefinder is:

a)

An Analog Sensor

b)

A Digital Sensor

c)

A Boolean Sensor

d)

A Character Sensor

28.

Light intensity readings from the Line Tracking Sensor range from:

a)

0 to 100

b)

0 to 1000

c)

0 to 4095

d)

-100 to +100

29.
Which one of these representations of Task Main will work in ROBOTC?
a)
Task main ()
b)
task main ()
c)
Taskmain ()
d)
task main;
30.
What does it mean when a command appears in color when typed in ROBOTC?
a)
The command is typed incorrectly
b)
The command is not allowed in the command
c)
ROBOTC recognizes the command as an important keyword
d)
It is highlighted so the programmer should look at the word or name carefully 
31.
A simple statement is:
a)
A statement that never uses words with more than two syllables
b)
A line of code, irrespective of spelling
c)
A line of code irrespective of punctuation
d)
A line of code including all the appropriate words, numbers, and punctuation
32.
A single line comment begins with:
a)
A single slash (/)
b)
Two slashes (//)
c)
A slash and asterisk (/*)
d)
An asterisk and a slask (*/)
33.

Where do you type your instructions?

a)

1

b)

2

c)

3

d)

4

34.

What are sensors?

a)

the computer that filters the information collected from the sensors and responds by making decisions using logic.

b)

devices that lose information every time

c)

devices that collect input from the environment and provide information that the CPU can respond to.

d)

allows the robot to perform desired tasks without human guidance.

35.
A program is
a)
A logical and step-by-step set of directions for the robot to follow
b)
A logical and step-by-step set of directions for the programmer to follow
c)
A set of directions, written in paragraph form, that even a robot can follow
d)
None of these
36.

What do '#Pragma config()' statements do?

a)

They start the program

b)

They do nothing

c)

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.

d)

Random lines of code

37.
Pseudocode is:
a)
False code
b)
A code, written in English, that the robot can understand
c)
A code, written in binary language, that the robot can understand
d)
A set of basic steps that the human can use to plan the program
38.

All of these are digital sensors except?

a)

light sensor

b)

shaft encoder

c)

bump switch

d)

ultrasonic range finder

39.

What is the top speed value for the VEX EDR motors when programming?

a)

2000

b)

180

c)

5000

d)

127

40.

In a ROBOTC program, this is an example of what?

a)

Complex behaviors

b)

Simple behaviors

c)

Basic behaviors

d)

Pseudocode

41.

Value of bump switch when pressed

a)

0

b)

1

c)

63

d)

127

42.

When is the while loop true?

a)

Never

b)

Always

c)

When hit bumpSwitch

d)

limitStwitch

43.

Which data type uses True or False and is useful for representing truth values of logic.

a)

Bounce

b)

Debugger

c)

Timers

d)

Boolean

44.

Normally, statements run only once, but with a __________, they can be told to repeat over and over for as long as you want

a)

while loop

b)

repeater

c)

duplicator

d)

infinity runner

45.

It used, in ROBOTC, to confirm that all inputs and outputs are working as expected

a)

Debugger

b)

Timers

c)

Comments

d)

Pseudocode

46.
1.  What punctuation mark signals the end of a simple statement?    
a)
:
b)
)
c)
!
d)
;
47.
When is the while loop true?
a)
Never
b)
Always
c)
When hit bumpswitch
d)
When hit Limitswitch
48.

Which battery condition allows the fastest motor rotation?

a)

50% charged

b)

75% charged

c)

100% charged

d)

charged to my credit card

49.

Which statement below best describes a potentiometer?

a)

It can turn up to 12 full revolutions

b)

Measures rotation of a shaft

between 0 and ~265 degrees

c)

Excess torque against the internal mechanical stops will not harm them

d)

It measures potential energy

50.

Which of the following are true for the Ultra Sonic Range Finder?

a)

It works similar to how bats and submarines

sense distance

b)

Returns values of -1 or -2 if used outside of this range or if a return signal is not sensed

c)

Is an analog sensor

d)

It returns distance values between 0 and 255 inches or the equivalent centimeters or millimeters

51.

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?

a)

Flashlight

b)

Motors

c)

Potentiometer

d)

Optical Shaft Encoders

52.

I use pseudocode & comments in my program because _____.

a)

my teacher is mean and makes me do it.

b)

I follow sound best practices and know it can help me or a teammate save time in the future.

c)

I just like to do pseudo - anything

d)

my teacher won't let us program a poem.

53.

It used, in ROBOTC, to confirm that all inputs and outputs are working as expected

a)

Debugger

b)

Timers

c)

Comments

d)

Pseudocode

54.

Which data type uses True or False and is useful for representing truth values of logic.

a)

Bounce

b)

Debugger

c)

Timers

d)

Boolean

55.

What is the purpose of the 'while(true)' statement?

a)

creates a finite loop to check for changes in your VEX components a number of times

b)

creates a finite loop to check for changes in your VEX components a number of times

c)

creates an infinite loop to continually check for changes in your VEX components

56.

True or False: You can use a variable simply by putting its name where you want its value to be used

a)

True

b)

False

57.

Which is NOT an acceptable example of an infinite loop?

a)

while(true)

b)

while(1==1)

c)

while(not false)

58.

What speed is this program running?

a)

Full Speed

b)

Half speed

59.

The following statement is an example of what kind of behavior: "Motor[port2] = 127;"

a)

Complex behavior

b)

Simple behavior

c)

Basic behavior

60.

The following statement is an example of what kind of behavior: "Turn on both motors at full speed"

a)

Complex behavior

b)

Simple behavior

c)

Basic behavior

61.

What will happen in this program?

a)

Robot will turn left

b)

Robot will turn right

c)

robot will move forward for 2 seconds

d)

Robot will move backward for 2 seconds

62.

Sensor enables a robot to detect obstacles in its path by utilizing the propagation of sound waves.

a)

flashlight

b)

line follower

c)

ultrasonic range finder

d)

potentiometer

63.

Sensors that take in information (i.e. bumpers, switches, detectors) are considered to be _____________.

a)

Inputs

b)

Servos

c)

Self-directed

d)

Outputs

64.

Is this sensor setup digital or analog?

a)

digital sensor

b)

analog sensor

65.

Sensor enables a robot to detect black line on a white surface works by detecting reflected light coming from its own infrared LED.

a)

flashlight

b)

line follower

c)

ultrasonic range finder

d)

potentiometer

66.
Which of the following cannot be used when naming a motor or sensor? 
a)
Spaces 
b)
Special characters (*, %, $, etc.) 
c)
ROBOTC reserved words (motor, task, main, etc.) 
d)
All of the above
67.
What color lights on the VEXnet Joystick and Cortex indicate a successful connection? 
a)
Red 
b)
Green 
c)
Blue 
d)
Yellow
68.
Comments in programs are: 
a)
Descriptive text used to explain portions of code. 
b)
Useful for writing pseudocode. 
c)
Ignored by the compiler and robot
d)
All the above.
69.
What color are the comments in RobotC? 
a)
Red 
b)
White 
c)
Black 
d)
Green
70.

Which of the following statements can be used to extend selection from a single IF statement?

a)

Else

b)

Choice

c)

While

d)

Do

71.

The following statement is an example of what kind of behavior: "Follow the path through the maze"

a)

Complex behavior

b)

Simple behavior

c)

Basic behavior

72.

What is the full speed value when we start a motor?

a)

63

b)

127

c)

100

d)

50

73.

Which two ports share the same memory in the cortex?

a)

Digital 1 and 10

b)

Digital 2 and 10

c)

Digital 3 and 10

d)

Digital 4 and 10

e)

Digital 5 and 10