wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Introduction to Vex Robotics

Total questions: 30

Worksheet time: 17mins

Name
Class
Date
1.

How many motor ports are there on the VEX Cortex?

a)

12

b)

8

c)

10

d)

6

2.

All 10 motor ports are the same on the VEX Cortex.

a)

True

b)

False

3.

How many motor ports take 3 prongs instead of 2?

a)

8

b)

2

c)

10

d)

6

4.

Into which ports can you plug in the motor controller?

a)

Ports 1 and 10

b)

Ports 2 thru 5

c)

Port 2 thru 9

d)

Into the digital ports

5.

If you want you motor to shut off, what speed value would you program into RobotC?

a)

0

b)

15

c)

-127

d)

127

6.

Which part gets inserted into the motor so you can add wheels and/or gears?

a)

A motor controller

b)

An axle

c)

A base plate

d)

A battery

7.

Which of these actuators mainly produces precise rotary motion

a)

DC Motor

b)

Servo

c)

Solenoid

d)

Rack and Pinion

8.

What is it?

a)

nut

b)

bolt

c)

pliers

d)

pincers

9.

What is it?

a)

bolt

b)

nut

c)

tool kit

d)

wrench

10.
a)
Needle Nose Pliers
b)
Diagonal Side Cutters
c)
Linemans pliers
d)
Multi-purpose tool
11.

This "D" of robotics has to do with jobs that humans might not want to do because they are boring

(a)  

12.

This "D" of robotics has to do with jobs that humans might be too afraid to do

(a)  

13.

This "D" of robotics has to do with jobs that humans might be to grossed out to do.

(a)  

14.

Line of code to make the motor "leftMotor" move when I push the left stick of the vex remote

a)

motor[leftMotor] = vexRT[Ch3];

b)

motor(leftMotor) = vexRT(Ch3);

c)

motor{leftMotor} = vexRT{Ch3};

15.

Which of the following is not a requirement for being a robot (based on the notes from our class)

a)

Having a power source (battery)

b)

Having inputs (sensors)

c)

Being able to make decisions

d)

Being able to move

e)

Being able to communicate

16.

What is the purpose of "task main()" at the start of a RobotC program

a)

It creates an infinite loop so that the program is always running

b)

It is what executes every time the robot is turned on

c)

It is where you declare and name all of your motors and sensors

d)

It is where you declare what type of robotics platform you are using (cortex 2.0 or IQ)

17.

What is the purpose of using a "while(true)" statement in a RobotC program

a)

It creates an infinite loop so that the program is always running

b)

It is what executes every time the robot is turned on

c)

It is where you declare and name all of your motors and sensors

d)

It is where you declare what type of robotics platform you are using (cortex 2.0 or IQ)

18.

A motor can be reversed by_____________.

a)

Standing on my head and looking at the motor upside down

b)

changing the sign (+/-) of the speed in the program

c)

Check "Reverse" in Motors & Setup

d)

turn the motor with my LEFT hand instead of my right hand

19.

Find the error in this code.


turnLEDOff(red);

turnLEDOff(yellow)

turnLEDOff(green);

turnLEDOn(red);

untilTouch(touchSensor);

turnLEDOff(red);

a)

Missing a parameter

b)

Missing a semicolon

c)

Reversed parameters

d)

Wrong notation for name of sensor/command

20.

Which is NOT an acceptable example of an infinite loop?

a)

while(true)

b)

while(1==1)

c)

while(not false)

d)

while(55==55)

21.

What does this line of code mean?

a)

if the VEX router has a value of 1

b)

while the button 6-up is pressed

c)

nothing because it's written incorrectly

d)

if the VEX remote transmission for button 6-up is true

22.

What do these lines of code do?

a)

motors for ports 2 and 5 half power in reverse, motors for ports 3 and 4 half power, only while button 6-d is pressed

b)

motors for ports 3 and 4 full power in reverse, motors for ports 2 and 5 full power, only if button 6-d is pressed

c)

motors for ports 2 and 5 half power in reverse, motors for ports 3 and 4 half power, only if button 6-d is pressed

d)

motors for ports 2 and 5 full power in reverse, motors for ports 3 and 4 full power, only when button 6-d is pressed

23.

How would you fix the error on line 2 in this program?

a)

add “ { ” (open bracket)

b)

add “ } “ (closed bracket)

c)

line is not needed - delete line

d)

add a ‘ ; ” at the end of the line

24.

How would you fix the error on line 1 in this program?

a)

add “ { ” (open bracket)

b)

“task main” needs to be one word “taskmain”

c)

add “ ) “ (closed parenthesis)

d)

add a “ ; ” at the end of the line

25.

What is causing these errors?

a)

Wrong platform type

b)

Wrong communication mode

c)

Capitalization errors

d)

Missing semicolons

26.

What does every program have to have?

a)

task main( ) and a set of { }

b)

Task main and ( )

c)

Main task and { }

d)

task main and semicolons

27.

Simple ROBOTC commands (statement) always end with a

a)

}

b)

)

c)

semi-colon

d)

]

28.

What will the robot do?

a)

Move forward

b)

Move backward

c)

Nothing/stay still

d)

Spin Left

e)

Spin Right

29.

What will the robot do?

a)

Move forward

b)

Move backward

c)

Nothing/stay still

d)

Spin Left

e)

Spin Right

30.

What will the robot do?

a)

Move forward

b)

Move backward

c)

Nothing/stay still

d)

Spin Left

e)

Spin Right