wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Some RobotC Basics and Virtual World

Total questions: 22

Worksheet time: 11mins

Name
Class
Date
1.

What is the name of the programming software for the EV3?

a)

ROBOPROGRAMO

b)

EV3-C

c)

Assembly

d)

ROBOTC

2.

To make sure ROBOTC is properly configured to program the Physical EV3, you should:

a)

Make sure that the “Robot” > “Compiler Target” is set to “Physical Robot” when you’re using a real EV3 robot

b)

Make sure that the “Robot” > “Platform Type” is set to “EV3”

c)

Make sure that the “Robot” > “Compiler Target” is set to “Virtual Worlds” when you’re using a virtual EV3 robot

d)

All of these options

3.

You can build a ROBOTC Text-Based program by:

a)

Typing out or dragging and dropping in commands into the ROBOTC text editor.

b)

Using text-to-speech on your computer to dictate what you want the robot to do.

c)

Using text-to-speech on your computer to dictate what you want the robot to do.

d)

Drawing the path of the robot with your mouse or trackpad

4.

True or False: Robots run commands one-at-a-time, starting at the top of the program.

a)

True

b)

False

5.

What are the three parameters of the forward and backwards commands?

a)

Units, Speed, Unit Type

b)

Wheel Size, Distance, Acceleration

c)

Quantity, Unit Type, Speed

d)

Distance, Words, Numbers

6.

A programmer can tell the arm motor to go to a specific position using this command:

a)

stopMotor

b)

forward

c)

backward

d)

moveMotor

7.

When using the turn right command, using the number 2 as the first parameter will result in which of the following?

a)

The robot moving backwards for five rotations

b)

The wheel motor making two full rotations

c)

The robot making two full rotations

d)

The arm moving 2 full rotations up

8.

Which of the following is an example of a parameter in the turnRight command?

a)

Number of units

b)

Unit Type

c)

Speed

d)

All of these

9.

What does the repeat structure do?

a)

Repeat the commands between the [and]

b)

Repeat the commands between

c)

Repeat the commands between the { and }

d)

Repeat the commands between the (and)

10.

In the video we watched today how many times does the repeat loop run the commands inside it?

a)

An infinite number of times

b)

The number of times specified between the { and }

c)

Four times

d)

The number of times specified between the ( and )

11.

True or False: The repeat structure ends with a semicolon.

a)

True

b)

False

c)

Sometimes true

d)

Sometimes False

12.

Code that appears after a // mark is:

a)

Ignored by the compiler but sent to the robot

b)

Given priority over other lines of code and will run first

c)

Ignored by the compiler and not sent to the robot

d)

Accelerated and will execute twice as fast

13.

Which of the following lines is correctly marked as a comment?

a)

THIS IS A COMMENT: COMMENT.

b)

/comment>

c)

//

d)

/=>!

14.

Comments are used to:

a)

Configure a robot's motors and sensors

b)

Leave notes to human programmers

c)

Make a program run faster

d)

Update the firmware

15.

How do you select different views of the robot in the Robot Virtual World software?

a)

Press Alt+Tab on the keyboard

b)

Open the Command Prompt and type the name of the view you would like to use

c)

Press the Camera 1, Camera 2, or Camera 3 buttons in the software

d)

Use text-to-speech on your computer to request another view

16.

True or False: Changing the camera view can be helpful when solving a programming challenge.

a)

True

b)

False

17.

True or False: The Measurement Toolkit allows you to get key distances and angles in the Robot Virtual Worlds

a)

True

b)

False

18.

Which set of 3 buttons allows you to control the Measurement Toolkit?

a)

Place, Increment, Decrement

b)

Place, Add, Clear

c)

Show, Add, Clear

d)

Show, Increment, Decrement

19.

True or False: Pressing the Show button enables and disables the Measurement Toolkit.

a)

False: The Measurement Toolkit must be enabled in ROBOTC program in order to be used in Robot Virtual Worlds.

b)

True: The Show Button shows and hides the Measurement Toolkit.

20.

How do you add a custom marker, or waypoint, in the virtual world?

a)

Open up the programming console, and type “add marker”, along with the desired coordinates

b)

Click the Add button to enable makers to be “added”, then click in the world where you would like the marker to be placed

c)

Use text-to-speech on your computer to specify where the marker should be placed

d)

Press the Clear button in the Measurement Toolkit

21.

How many markers, or waypoints, does the toolkit allow you to place?

a)

5

b)

3

c)

4

d)

2

22.

What does the "#pragma" command mean in ROBOTC?

a)

A command that sets information about the motors and sensors being used

b)

A social media keyword to help users share their programs

c)

A command on which sample program to open

d)

A command that sets the type of robot being used