wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Robotics Coding

Total questions: 18

Worksheet time: 9mins

Name
Class
Date
1.

A bumper switch is a _______________ digital sensor.

a)

touch

b)

VEX LED

c)

Line Follower

d)

Potentiometer

2.

To make a VEX 393 Motor work please use a

a)

lock plate bearing

b)

analogue sensor

c)

motor controller

d)

large motor screw

3.

What needs to be at the start and end of all coding (under task main)?

a)

parathesis

b)

stop

c)

two back slashes

d)

curly brackets

4.

Which command means run time?

a)

start

b)

wait

c)

stop

d)

while

5.

Which part do we write code?

a)

1

b)

2

c)

3

d)

4

6.

To end a line of code what symbol is used?

a)

;

b)

:

c)

.

d)

<

7.

Comments in Robot C are what color?

a)

red

b)

green

c)

black

d)

blue

8.

What must you keep in mind while coding?

a)

spaces

b)

capitalization

c)

spelling

d)

Everything, spaces, capitalization, and spelling.

9.

Using the picture, which part is being shown?

a)

limit switch

b)

cortex

c)

battery pack

d)

motor

10.

A robot that operates solely on its sensors, motors, and code is considered to be...

a)

Humaniod

b)

Augmenting

c)

Teleoperated

d)

Autonomous

11.

What coding language is Robot C?

a)

C++

b)

Python

c)

Java

d)

RENE

12.

A line follower is a ____________ sensor.

a)

digital

b)

analog

c)

motor

d)

complicated

13.

A while statement will

a)

create a loop, repeating your code.

b)

allow your motor to run

c)

make your robot wait

d)

only work if 1==2

14.

What does untilTouch code for?

a)

switches

b)

levers

c)

gates

d)

motors

15.

What does a bumper switch do?

a)

It gives the motor a forward movement (increases speed).

b)

It is a button that can start a line of code.

c)

It is a bump your car can travel over.

16.

To reverse the direction of motor movement

a)

You can not reverse motor direction.

b)

Type a negative before speed.

c)

Move the motor arrangement on your robot.

d)

Use the switch on the Motor.

17.

To have your robot run while not connected to the computer you need to download and then

a)

turn off the cortex, undo the USB cord, and turn cortex on.

b)

you can't run a robot without the computer connected.

c)

take out the batteries, then put them back in.

d)

choose the wireless VEXNET option.

18.

What does compile program function do on RobotC?

a)

analyzes your code and fixes your mistakes.

b)

analyzes your code and shows mistakes.

c)

analyzes your code and inserts comments.

d)

analyzes your code and makes you mad.