Search Header Logo
VEX VR - Python: Units 1-4

VEX VR - Python: Units 1-4

Assessment

Presentation

Instructional Technology

7th - 12th Grade

Practice Problem

Medium

Created by

Johanna Salazar

Used 16+ times

FREE Resource

6 Slides • 12 Questions

1

VEX VR - Python: Units 1-4

By Mrs. Salazar

2

Unit 1: Colorization of Code in VEXcode VR Python

media

3

The Importance of Indentation

Improper indentation can result in a project not executing as intended, or not at all.

Commands that are aligned with one another will run as a sequence. Commands that are indented within other commands (like the commands inside of a loop) will run within that structure.

media

4

media
media
media

5

Multiple Choice

How far will the VR Robot move based off the command below?

drivetrain.drive_for(FORWARD, 300, MM)

1

200mm

2

400mm

3

500mm

4

300mm

6

Multiple Choice

Question image

What part of the command do you change to adjust the direction of the drive_for command?

1

1

2

2

3

3

4

4

7

Multiple Choice

Question image

How will the VR Robot move based off of the command above?

1

Turn left to a heading of 80 degrees.

2

Turn right to a heading of 90 degrees.

3

Turn left for 90 degrees.

4

Turn right for 80 degrees.

8

Multiple Choice

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

1

To make a project that works as intended.

2

To make the VR Robot skip around to random commands.

3

To have accurate values and parameters in commands.

4

To make a project that does not work as intended.

9

Multiple Choice

Question image

 What order will the buildings on the Castle Crasher Playground be knocked over according to this project above?

1

1, 2, 3, 4, 5

2

3, 2, 5, 4, 1

3

3, 1, 4, 5, 2

4

5, 2, 1, 4, 3

10

media

11

media
media
media

12

Multiple Choice

Which of the following should be the first command in a project so the VR Robot moves the pen down to draw a black line?

1

The drive_for command with the parameter set to 2000 millimeters (mm).

2

The turn_for command with the parameter set to 90 degrees.

3

The move command with the parameter set to “DOWN".

4

The move command with the parameter set to "UP".

13

Multiple Choice

Which of the following commands is used to change the color of the pen?

1

set_pen_color

2

move

3

turn_for

4

for loop

14

Multiple Choice

Question image

How many times will the for loop repeat the turn_for and drive_for commands inside of it?

1

1

2

2

3

3

4

4

15

Multiple Choice

Question image

What is the condition that will end this for loop?

1

After the VR Robot places the pen down.

2

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

3

After the for loop has repeated the commands inside of it four times.

4

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

16

Multiple Choice

Question image

How can the following example be simplified by using a for loop?

1

By placing the first two drive_for and turn_for commands in a for loop that repeats four times.

2

By placing the drive_for command in a for loop that repeats four times.

3

By placing the turn_for command in a for loop that repeats four times.

4

By changing all of the parameters of the drive_for commands to 400 MM instead of 200 MM.

17

Multiple Choice

Question image

Which behaviors will be repeated as part of the for loop in this project?

1

Moving the pen down

2

Setting the pen color to red, driving forward 200mm, and turning right 45 degrees

3

Moving the pen up, setting the pen color to blue, and turning right for 90 degrees

4

Turning right for 45 degrees, moving the pen down, and driving forward for 200mm

18

Multiple Choice

Question image

The following project was created to draw a house, but it is unfinished. Which of the following commands should be used next to begin drawing the triangular roof of the house?

1

move command set to "UP"

2

drive_for command set to drive forward 2000 millimeters (mm)

3

for loop with the range function set to six

4

turn_for command set to turn left 135 degrees

VEX VR - Python: Units 1-4

By Mrs. Salazar

Show answer

Auto Play

Slide 1 / 18

SLIDE