wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Robotics Final

Total questions: 100

Worksheet time: 50mins

Name
Class
Date
1.

DC batteries require

a)

more power

b)

more maintenance

c)

more space

d)

cooler tempertures

2.

Which of the following conditions is infinite?

a)

(9!=9)

b)

(9=9)

c)

(9>9)

d)

(9==9)

3.

Functions as abstractions allow the programmer to simplify a complex program by

a)

skipping the easy steps.

b)

skipping the harder steps.

c)

ignoring the key information.

d)

focusing on the key information.

4.

Which of the following is a Boolean condition from the program?

a)

(reverse)

b)

.drive

c)

velocityUnits::pct

d)

(rearBumper.pressing());

5.

Usually the same as the number of axes

a)

Degrees of Freedom

b)

Working Envelope

c)

KInematics

d)

Payload

6.

Ambient light does not have an effect when configuring signatures and programming with the Vision Sensor.

a)

True

b)

False

7.

The region of space a robot can reach

a)

Degrees of Freedom

b)

Working Envelope

c)

KInematics

d)

Payload

8.

What is the meaning of a Looped Conditional Statement?

a)

It is a loop embedded into a conditional statement 

b)

It is a conditional statement with an infinite condition

c)

It is a loop with an infinite condition

d)

It is a conditional statement embedded into a loop

9.

Line Tracking sensor analog values of light surfaces tend to be lower while analog values of dark surfaces tend to be higher.

a)

True

b)

False

10.

Position of joints in the robot that determines the robot’s possible motions

a)

Degrees of Freedom

b)

Working Envelope

c)

KInematics

d)

Payload

11.

Writing a function is similar to writing a variable.

a)

True

b)

False

12.

How much weight a robot can lift

a)

Degrees of Freedom

b)

Working Envelope

c)

KInematics

d)

Payload

13.

Where is the object's origin?

a)

A

b)

B

c)

C

d)

D

e)

E

14.

How fast the robot can position the end of its arm

a)

Speed

b)

Repeatability

c)

Accuracy

d)

End Effector

15.

In programming, parameters

a)

pass data into functions.

b)

are the amount of area inside a shape.

c)

are a form of program planning.

16.

How closely a robot can reach a commanded position

a)

Speed

b)

Repeatability

c)

Accuracy

d)

End Effector

17.

While an if statement can stand on its own in a program, an else branch cannot exist in a program without the if statement because it does not have a condition of its own.

a)

True

b)

False

18.

How closely a robot can reach a commanded position

a)

Speed

b)

Repeatability

c)

Accuracy

d)

End Effector

19.

The Vision Sensor has a limited __________, which can be seen in the Vision Utility.

a)

field of view

b)

battery life

c)

light source

d)

range of motion

20.

Any of the various tools that can be mounted at the end of a robotic arm and that are used to interact with or manipulate objects

a)

Speed

b)

Repeatability

c)

Accuracy

d)

End Effector

21.

A parameter can only pass data as an integer.

a)

True

b)

False

22.

If the Vision Sensor sees an object and the width and height values of the object are increasing, that means...

a)

the object is moving further away.

b)

the object is getting closer.

c)

the object has disappeared.

d)

the object is not moving.

23.

Create the algorithms and software systems that control autonomous vehicles, process data collected by sensors, and enable efficient communication between different components of the robotic system.

a)

Software Developer

b)

Maritime Robotics Engineer

c)

Maritime Technician

d)

Project Manager

24.

When naming functions, they must have a ______ and _______.

a)

numeral, type

b)

purpose,code

c)

name, numeral

d)

type, name

25.

Which operator means "equals"

a)

= =

b)

! =

c)

>

d)

>=

e)

<

26.

All C++ programs start with...

a)

VEX main (){}

b)

run main (){}

c)

int main (){}

d)

task main () {}

27.

Which operator means "does not equal"

a)

= =

b)

! =

c)

>

d)

>=

e)

<

28.

Which of the following allows a single function to perform slight differences in behaviors?

a)

algorithm

b)

sequence

c)

psuedocode

d)

parameter

29.

Which operator means "is greater than"

a)

= =

b)

! =

c)

>

d)

>=

e)

<

30.

Which operator means "is greater than"

a)

>

b)

>=

c)

< =

d)

<

31.

What is the error in the function?

a)

x and y should be written as whole number values

b)

Curly braces are not needed around the code

c)

There are no errors

d)

The second parameter needs a "type"

32.

Which operator means "is greater than or equal to"

a)

>

b)

>=

c)

< =

d)

<

33.

Which operator means "is less than or equal to"

a)

>

b)

>=

c)

< =

d)

<

34.

Parameters are variables within the _____ of functions.

a)

reference

b)

call

c)

parentheses

35.

A _______ loop repeats any code between its curly braces while the condition between its parentheses is true.

a)

while

b)

repeat

c)

waitUntil

d)

operator

36.

Which operator means "is less than"

a)

>

b)

>=

c)

< =

d)

<

37.

Loops can make writing programs easier because it simplifies a repetitive task. 

a)

True

b)

False

38.

Which of the following explanations describes how the robot executes this program?

a)

The robot does not stop exactly at 10 seconds because the condition of the While Loop is only checked each time before the sequence of commands is run.

b)

The robot executes each command but stops exactly at 10 seconds, no matter where it is in the program

c)

The robot starts executing the commands only after 10 seconds have passed.

d)

The robot's clock is timed in intervals of 10 while executing each command.

39.

Work on designing, developing, and maintaining autonomous underwater vehicles (AUVs), remotely operated vehicles (ROVs), or other robotic systems used in maritime applications.

a)

Software Developer

b)

Maritime Robotics Engineer

c)

Maritime Technician

d)

Project Manager

40.

If a condition is true in an if-else statement, the

a)

the robot will run the else branch.

b)

the robot will run both the if statement and the else branch.

c)

the robot will not run the if statement or the else branch.

d)

the robot will run the if statement.

41.

Identify the error in the following program:

a)

.reset( ); in line 5 should be capitalized

b)

There should be a semicolon at the end of line 6

c)

"repeat" in line 6 should be changed to "while"

d)

The operator in line 6 should be changed to "=="

42.

Responsible for the installation, maintenance, and repair of robotic systems used in maritime operations.

a)

Software Developer

b)

Maritime Robotics Engineer

c)

Maritime Technician

d)

Project Manager

43.

What would be the most appropriate sensor to use if a robot's task is to read and then respond to different color traffic lights?

a)

bumper switch

b)

distance sensor

c)

robot brain

d)

optical sensor

44.

Program Flow is only ever at one spot at a time.

a)

True

b)

False

45.

Oversee the planning, coordination, and implementation of robotic systems in various applications.

a)

Software Developer

b)

Maritime Robotics Engineer

c)

Maritime Technician

d)

Project Manager

46.

What happens in Program Flow when a condition in a While Loop becomes false?

a)

The robot ends the program immediately.

b)

The robot continues to repeat the loop.

c)

The robot executes the code within the curly braces but skips the rest of the program.

d)

The robot skips all of the code between the curly braces and moves on in the program.

47.

What is an example of an integer (int)?

a)

Whole Numbers = -321, 0 , 548

b)

Decimal Numbers = -22.7, 0.0, 3.14

c)

Single Characters using single quotes = 'a' , 'x', '7'

d)

Multiple Characters using double quotes = std::string newstring;

e)

True/False values = true, false, 0, 1

48.

What is an example of a string (string)?

a)

Whole Numbers = -321, 0 , 548

b)

Decimal Numbers = -22.7, 0.0, 3.14

c)

Single Characters using single quotes = 'a' , 'x', '7'

d)

Multiple Characters using double quotes = std::string newstring;

e)

True/False values = true, false, 0, 1

49.

When a robot reaches a function call in a program, the flow jumps to the first line in the _____________, executes the code within curly braces, and then back where it left off in int main.

a)

function definition

b)

int main (){}

c)

robot configuration

d)

parentheses

50.

What is an example of a Bool (bool)?

a)

Whole Numbers = -321, 0 , 548

b)

Decimal Numbers = -22.7, 0.0, 3.14

c)

Single Characters using single quotes = 'a' , 'x', '7'

d)

Multiple Characters using double quotes = std::string newstring;

e)

True/False values = true, false, 0, 1

51.

A robot will react differently to a program with functions compared to the same program without functions.

a)

True

b)

False

52.

Which of the following punctuation marks represents the end of a single command in C++?

a)

semicolon ;

b)

colon :

c)

comma ,

d)

period .

53.

Which of the following is not true about parameter names?

a)

The name should be one word.

b)

The name can have numbers.

c)

The name can have special characters.

d)

The name should represent its purpose.

54.

What is an example of a Float (float)?

a)

Whole Numbers = -321, 0 , 548

b)

Decimal Numbers = -22.7, 0.0, 3.14

c)

Single Characters using single quotes = 'a' , 'x', '7'

d)

Multiple Characters using double quotes = std::string newstring;

e)

True/False values = true, false, 0, 1

55.

What is an example of a Character (char)?

a)

Whole Numbers = -321, 0 , 548

b)

Decimal Numbers = -22.7, 0.0, 3.14

c)

Single Characters using single quotes = 'a' , 'x', '7'

d)

Multiple Characters using double quotes = std::string newstring;

e)

True/False values = true, false, 0, 1

56.

Which of these choices is not one of the four key pieces of information Vision Systems use to describe rectangle "blob" data?

a)

The X-coordinate of the center of the rectangle

b)

The height of the rectangle (in pixels)

c)

The Z-coordinate of the center of the rectangle

d)

The width of the rectangle (in pixels)

57.

They are capable of performing tasks that require a high degree of precision and dexterity, and can reduce the risk of complications and human error.

a)

Medical Robots

b)

Service Robots

c)

Space Robots

d)

Manufacturing Robots

58.

When will the robot drive forward?

a)

If the robot sees a red object

b)

If the robot sees a blue object

c)

If the robot does not see any object

59.

They are designed to interact with humans and to perform tasks that are repetitive, dangerous, or inconvenient

a)

Medical Robots

b)

Service Robots

c)

Space Robots

d)

Manufacturing Robots

60.

Conditional loops are way to repeat something while a certain condition is ________.

a)

True

b)

False

61.

They are capable of operating in zero-gravity environments and performing tasks that are too difficult or dangerous for humans.

a)

Medical Robots

b)

Service Robots

c)

Space Robots

d)

Manufacturing Robots

62.

They are capable of handling a wide range of materials and processes, and can improve efficiency, consistency, and safety in manufacturing operations.

a)

Medical Robots

b)

Service Robots

c)

Space Robots

d)

Manufacturing Robots

63.

When working with a robot's camera image, a "blob" is a...

a)

a spill on a surface that hardens and becomes gooey.

b)

a group of colored pixels of varying colors.

c)

a group of similarly-colored pixels that aren't touching each other.

d)

a group of similarly-colored pixels touching each other.

64.

Function names must be all one word, made up of letters, numbers and underscores, should be descriptive of the performed behavior, and NOT a word already reserved by VEX C++.

a)

True

b)

False

65.

How many times are if-else statements executed?

a)

once

b)

twice

c)

3 times

d)

infinite times

66.

They are capable of improving efficiency, reducing labor costs, and optimizing crop yields.

a)

Agriculture Robots

b)

Military Robots

c)

Education Robots

67.

They are capable of operating in hazardous environments and performing tasks that are too dangerous for humans.

a)

Agriculture Robots

b)

Military Robots

c)

Education Robots

68.

What does the number 80 represent?

a)

x-position

b)

y-position

c)

circumference

d)

radius

69.

They are designed to be user-friendly and interactive, and can help students develop skills in problem-solving, creativity, and critical thinking.

a)

Agriculture Robots

b)

Military Robots

c)

Education Robots

70.

If I want my robot to follow a dark line, it would be more efficient to program a single line tracker than all three line trackers.

a)

True

b)

False

71.

How does an autonomous tractor know when there is an obstacle in front of it?

a)

A human tells it about the obstacle.

b)

It doesn't know about the obstacle.

c)

It uses sensors to detect it.

d)

It knows only when it has caused damage to the tractor

72.

Achieve motion in two perpendicular planes, such as up-down and left-right

a)

2 DoF

b)

3 DoF

c)

6 DoF

d)

7 DoF

73.

Can move in three-dimensional space, allowing for more complex motions like reaching, lifting, and rotating objects.

a)

2 DoF

b)

3 DoF

c)

6 DoF

d)

7 DoF

74.

Why is it important to frequently recalculate the threshold value for the Line Trackers?

a)

The robot never remembers what the threshold value is.

b)

The threshold changes depending on lighting and the environment.

c)

The threshold value will never be the same again, even if it’s under the same environmental conditions.

d)

It is not important.

75.

Most common classification for industrial robotic arms

a)

2 DoF

b)

3 DoF

c)

6 DoF

d)

7 DoF

76.

If the condition of a looped conditional statement is true, the robot will skip the code and move on with the rest of program flow.

a)

True

b)

False

77.

When a robot is following a dark line, what should happen if the Left Line Tracker senses the line?

a)

The robot should swing turn left.

b)

The robot should swing turn right.

c)

The robot should make a 90-degreee left turn.

d)

The robot should make a 90-degreee right turn.

78.

Provide enhanced flexibility and dexterity, allowing for more complex and precise movements

a)

2 DoF

b)

3 DoF

c)

6 DoF

d)

7 DoF

79.

According to the condition, what shape will be displayed on the screen?

a)

red circle

b)

blue circle

c)

both a red and blue circle

d)

neither a red nor a blue circle

80.

What is the difference between a point turn and a swing turn?

a)

A point turn uses a center of rotation between the wheels while a swing turn uses a pivot point.

b)

A point turn is incapable of making a complete 90-degree turn but a swing turn can.

c)

A point turn powers all wheels at different speeds while a swing turn powers all wheels at the same speed.

d)

A point turn uses a pivot point while a swing turn uses a center of rotation between the wheels.

81.

A robot will run the code in an else branch only if

a)

the condition is false.

b)

the condition is true.

c)

the condition is neither true nor false.

82.

Which of the following is false condition?

a)

(2!=1)

b)

(2>1)

c)

(2>=1)

d)

(2==1)

83.

In programming, 1 translates as ________, and 0 translates as _________.

a)

false, true

b)

true, false

84.

A robot will not stop in the middle of a program.

a)

True

b)

False

85.

A robot is able to read multiple lines of code at the same time. 

a)

True

b)

False

86.

What will the robot do?

a)

Nothing

b)

Complete the loop once.

c)

Run the loop as long as the arm bumper is pressed.

87.

Which of the following describes Program Flow in a program with a Repeat Loop?

a)

Program Flow is sent back to the end of the program where it will begin running through each command backwards in the program.

b)

Program Flow is sent back to the end of the loop where it will begin running through the commands backwards inside the loop.

c)

Program Flow is sent back to the beginning of the program where it will begin running through each command again in the program.

d)

Program Flow is sent back to the beginning of the loop where it will begin running through the commands again inside the loop.

88.

According to the program, how many times will "Finished" be printed on the Robot Brain's screen?

a)

1

b)

2

c)

3

d)

4

89.

Function definitions occur _____ int main ().

a)

before

b)

after

90.

How do you start this loop?

a)

It starts automatically.

b)

It starts after 3 seconds. 

c)

It starts when you press the rear Bumper switch.

d)

It doesn't start. 

91.

The Program Flow inside a Repeat Loop runs top-to-bottom the number of times specified between the parenthesis.

a)

True

b)

False

92.

What error is shown in the sequence below?

a)

"PenColor" should be lower case

b)

There should be a period at the end of each command instead of a semicolon

c)

"screen" in the first command should be uppercase 

d)

There are too many parameter values for the rectangles 

93.

A ________ loop repeats any code between its curly braces the number of times specified between the parenthesis.

a)

while

b)

waitUntil

c)

conditional

d)

repeat

94.

When would be an appropriate time to use loops in a program?

a)

If you want a task completed just once.

b)

If you want a task completed multiple times.

c)

If you need to change the velocity for different commands

d)

If you need to change the duration of different commands

95.

A _____ allows you to continually execute the same code multiple times or loop through a routine until a stopping condition is met.

a)

cycle

b)

sequence

c)

command

d)

loop

96.

All function definitions start with 

a)

void

b)

int

c)

bool

d)

vexcodeInit

97.

Choose the function definition

a)

if (ClawOptical.isNearObject() && ClawOptical.color() == red) { Brain.Screen.print("red"); } else { Brain.Screen.print("Not red"); }

b)

int main() {

c)

void inspectSite(){ Brain.Screen.drawCircle(80, 70, 60, blue); wait(2, seconds); Brain.Screen.drawCircle(80, 70, 60, yellow); wait(2, seconds); Brain.Screen.clearScreen();

d)

int main() {
Drivetrain.driveFor(forward, 100, mm, 30, velocityUnits::pct); Drivetrain.turnFor(right, 90, degrees, 25, velocityUnits::pct); }

98.

Robot behaviors that are repeated throughout a program are good candidates to become a function.

a)

True

b)

False

99.

Robots do exactly what you tell them.

a)

True

b)

False

100.

The wheels on the VEX V5 Clawbot can only turn at a 90-degree angle. 

a)

True

b)

False