Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Programming Language and VR Robot Worksheet

Total questions: 30

Worksheet time: 30mins

Name
Class
Date
1.

Which of these best describes a programming language?

a)

A set of rules where symbols represent actions.

b)

A set of spoken commands for a robot.

c)

An action performed by a robot.

d)

A list of behaviors the robot already completed.

2.

What is the name for an action performed by the VR Robot?

a)

Command

b)

Behavior

c)

Parameter

d)

Programming Language

3.

How do you change the behavior of the VR Robot?

a)

Change the programming language.

b)

Name and save your project.

c)

Change the programming blocks called commands.

d)

Change the Playground.

4.

Refer to the code blocks shown in the diagram. Which of the following is the best description of what the VR Robot will do based on this project?

a)

The VR Robot will drive forward 1000 millimeters (mm) at maximum velocity. It will turn right 180 degrees and drive forward 1000 millimeters (mm).

b)

The VR Robot will drive forward 1000 millimeters (mm) at maximum velocity. It will turn right 90 degrees, set velocity back to the default, and drive forward 1000 millimeters (mm).

c)

The VR Robot will drive forward 1000 millimeters (mm) at maximum velocity. It will turn right 180 degrees, set velocity back to the default, and drive forward 1000 millimeters (mm).

d)

The VR Robot will drive forward 1000 millimeters (mm) at maximum velocity. It will turn left 180 degrees, set velocity back to the default, and drive forward 1000 millimeters (mm).

5.

Why is it important to correctly sequence commands in a project?

a)

To make a project that works as intended.

b)

To make the VR Robot skip around to random commands.

c)

To have accurate values and parameters in commands.

d)

To make a project that does not work as intended.

6.

What is the first step in coding the VR Robot to move the VR Pen down to draw a black line?

a)

Drive for block set to 2000 millimeters (mm).

b)

Drag the Turn for block into the workspace and set the parameter to "400 millimeters (mm)".

c)

Drag the move robot pen block into the workspace and use the drop-down menu to set the position to "down".

d)

Drag the move robot pen block into the workspace and use the drop-down menu to set the position to "up".

7.

How many times will the [Repeat] block repeat the [Turn for] and [Drive for] blocks inside of it?

a)

Only once.

b)

Two times.

c)

Three times.

d)

Four times.

8.

Refer to the code block diagram shown. What is the condition that will end this [Repeat] block?

a)

After the VR Robot places the pen down.

b)

After the VR Robot drives forward one time for 200 millimeters (mm).

c)

After the [Repeat] block has repeated the blocks inside of it four times.

d)

After the VR Robot has driven forward 200 millimeters (mm) then turned right 60 degrees six times.

9.

How can the following example be simplified by using a [Repeat] block?

a)

By placing the [Drive for] and [Turn for] blocks in a [Repeat] block that repeats four times.

b)

By placing the [Drive for] block in a [Repeat] block that repeats four times.

c)

By placing the [Turn for] block in a [Repeat] block that repeats four times.

d)

By changing all of the parameters of the [Drive for] blocks to 400 millimeters (mm) instead of 200 millimeters (mm).

10.

When will the VR Robot move the VR Pen up?

a)

Before the [Repeat] block has repeated all of the blocks inside of it twice.

b)

Before the VR Pen is set to the color red.

c)

After the [Repeat] block has repeated all of the blocks inside of it six times.

d)

After the [Repeat] block has repeated all of the blocks inside of it twice.

11.

How could you use the Bumper Sensor in the Wall Maze challenge?

a)

To calculate the distances between the VR Robot and a wall.

b)

To instruct the VR Robot to turn when it bumps into a wall.

c)

To make the VR Robot ascend a wall to finish the maze faster.

d)

To determine the color of the wall.

12.

What does the highlighting feature do when a waiting block is being executed?

a)

A highlight will appear around the block until the behavior is complete.

b)

It will change colors depending on whether the project is running a waiting or non-waiting block.

c)

It will move to the next block to show the next behavior in the project.

d)

A highlight will stay on the block until the entire project is complete.

13.

What types of values does the [Wait until] block accept?

a)

Boolean values: TRUE or FALSE.

b)

Numeric values: one - ten.

c)

Color values.

d)

Time values.

14.

How is the block used in this project?

a)

It pauses the project indefinitely.

b)

It causes the VR Robot to move forward for 200 millimeters (mm).

c)

It checks the condition of the Bumper Sensor. When TRUE, the VR Robot will turn right 180 degrees.

d)

It instructs the VR Robot to turn to 90 degrees.

15.

Refer to the code blocks shown in the diagram. What is the order in which behaviors will be executed in this project?

a)

Drive Forward until Left Bumper is pressed, Turn right for 90 degrees, Drive Forward until Left Bumper is pressed, Turn Left for 90 degrees, Drive Forward.

b)

Drive Forward; Turn Right for 90 degrees; Drive Forward when Left Bumper is pressed; Turn Left for 90 degrees; Drive Forward when Left Bumper is Pressed.

c)

Drive Forward until Right Bumper is pressed, Turn Left for 90 degrees, Drive Forward, Turn Left for 90 degrees, Drive Forward.

d)

Drive Forward, Turn Right for 90 degrees, Drive Forward until Left Bumper is pressed, Turn Left for 90 degrees, Drive Forward until Left Bumper is Pressed.

16.

Which of the following is the best description of what the Distance Sensor does in a project?

a)

To report the location angle of the VR Robot.

b)

To change behaviors of the VR Robot if pressed.

c)

To measure the distance between the front of the Distance Sensor and the object.

d)

To report the current heading of the VR Robot.

17.

In this example project the VR Robot should get to the number "2" in the Wall Maze, but it does not. Which of the following describes the error in this project?

a)

A [Drive for] block is missing.

b)

A block was used instead of a block.

c)

A [Turn for] block was used instead of [Turn] block.

d)

A [Turn to rotation] block is missing lengthening and thinning occurred

18.

Which is an advantage of being able to monitor sensor values in the Monitor Console when creating VEXcode VR projects?

a)

Allows the user to see what is happening in a VEXcode VR project in real time.

b)

Allows the user to control what is happening in a VEXcode VR project.

c)

Allows the user to see what is happening in the Playground Dashboard.

d)

Allows the user to see a breakdown of each VEXcode VR project step.

19.

Which of the following describes how the VR Robot will move in this project?

a)

The VR Robot will start driving and stop when the Distance Sensor is greater than 150 millimeters (mm) away from an object.

b)

The VR Robot will start driving and stop when the Distance Sensor is less than 150 millimeters (mm) away from an object.

c)

The VR Robot will drive 150 millimeters (mm) then stop.

d)

The VR Robot will drive forward, stop, drive forward again for 150 millimeters (mm) then stop.

20.

Which of the following describes why the VR Robot will not move in this example project?

a)

The distance between the Distance Sensor and the object is less than 150 millimeters (mm) away.

b)

The Eye Sensor is reporting the color red.

c)

The distance between the Distance Sensor and the object is greater than 150 millimeters (mm) away.

d)

The VR Robot will immediately crash into a wall if it moves.

21.

In this project, the VR Robot will drive along the Y-axis until the value of the Location Sensor is greater than what value?

a)

-400

b)

-900

c)

-250

d)

-650

22.

Refer to the Number Grid Map Playground diagram. What are the approximate coordinates for the number '13' on the Number Grid Map Playground?

a)

X: -500 millimeters (mm) Y: -700 millimeters (mm)

b)

X: 500 millimeters (mm) Y: 700 millimeters (mm)

c)

X: 700 millimeters (mm) Y: -300 millimeters (mm)

d)

X: -900 millimeters (mm) Y: -900 millimeters (mm)

23.

This project is intended to drive to number '61' on the Number Grid Map Playground but does not work. Number '61' has the coordinates X: -900 and Y: 300. What is the error?

a)

The block should be set to -300.

b)

This project should use a block instead of a block and be set to -900.

c)

This project should use a block instead of a block and keep the same parameters.

d)

The block should be set to -900 instead of 300.

24.

What does using comments in a project allow users to do?

a)

Launch the Playground window.

b)

Describe parts of their project for other users.

c)

Attach .VRBLOCKS files.

d)

Watch tutorial videos.

25.

This project was used to drive the VR Robot to number "4" on the Number Grid Map, but it does not work correctly. What is the error?

a)

The VR Robot should turn left first.

b)

[Wait until position X in millimeters (mm)] should be LESS than -300, not GREATER than.

c)

The [Turn for] block should be the first block in the project, not the last.

d)

The [Drive] block is not needed.

26.

Which of the following is the best description of what the Eye Sensor does?

a)

It reports the (X,Y) position of the VR Robot.

b)

It reports the distance between the VR Robot and the nearest solid object.

c)

It can be controlled to pick up and drop disks with metal cores.

d)

It detects if there is an object present and if so, the color of that object.

27.

What will happen when the Front Eye Sensor detects red in this project?

a)

The VR Robot will stop driving.

b)

The VR Robot will turn left for 90 degrees.

c)

The VR Robot will drive forward.

d)

The VR Robot will check the Front Eye Sensor repeatedly.

28.

What is the purpose of having multiple [If then] blocks in this project?

a)

To have the Electromagnet Sensor pick up and place disks.

b)

To be able to have the Down Eye Sensor check for the color red.

c)

To have the Distance Sensor report how far the VR Robot is from an object.

d)

To have the Front Eye Sensor check for each color and have the VR Robot perform a discrete behavior depending on the color detected.

29.

What condition will be checked next if the condition of the Front Eye Sensor detecting blue is FALSE?

a)

The condition of the Front Eye Sensor detecting green will be checked.

b)

The condition of the Down Eye Sensor detecting red will be checked.

c)

The condition of the Front Eye Sensor detecting none will be checked.

d)

The condition of the Front Eye Sensor detecting red will be checked.

30.

The goal of this challenge is to navigate the VR Robot through the Disk Maze and stop at the red Disk. Which of the following could be added to this project in order to solve the Disk Maze challenge?

a)

If the Front Eye Sensor detects blue then stop.

b)

If the Down Eye Sensor detects purple then stop.

c)

Wait until the Front Eye Sensor detects red.

d)

If FrontEye detects red then Stop.