wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ROBOTC Programming

Total questions: 14

Worksheet time: 7mins

Name
Class
Date
1.

All of these are digital sensors except?

a)

bumpswitch

b)

light sensor

c)

shaft encoder

d)

ultrasonic range finder

2.

The value range associated with the limit switch is?

a)

-127 to 127

b)

0 to 127

c)

-1 to 1

d)

0 or 1

3.

An axle in your optical shaft encoder rotated exactly 1 revolution. How can you know this by looking at sensor data?

a)

it changed from 0 to 1

b)

it increased by 3.14 times

c)

it shows a change of 360

d)

it can't be known by looking at the data

4.

One of the first things you should do every day after opening the ROBOTC software is:

a)

check my texts & Instagram when I think the teacher isn't looking and send a selfie to my BFF

b)

pat my head and rub my tummy at the same time

c)

check the student splash page to see if I've won the lottery

d)

update the firmware

5.

Comments in ROBOTC are what color text?

a)

Blue

b)

Green

c)

Orange

d)

Red

6.

This shape represents what in a flowchart?

a)

Decision

b)

Process

c)

Input/Output

d)

Start or Stop

7.

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

8.

Which battery condition allows the fastest motor rotation?

a)

50% charged

b)

75% charged

c)

100% charged

d)

charged to my credit card

9.

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

10.

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

11.

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

12.

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

13.

The line follower prefers what color to operate?

a)

White

b)

Black

c)

Yellow

d)

Sky Blue

14.

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.