
VEX VR - Python: Units 1-4
Presentation
•
Instructional Technology
•
7th - 12th Grade
•
Practice Problem
•
Medium
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
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.
4
5
Multiple Choice
How far will the VR Robot move based off the command below?
drivetrain.drive_for(FORWARD, 300, MM)
200mm
400mm
500mm
300mm
6
Multiple Choice
What part of the command do you change to adjust the direction of the drive_for command?
1
2
3
4
7
Multiple Choice
How will the VR Robot move based off of the command above?
Turn left to a heading of 80 degrees.
Turn right to a heading of 90 degrees.
Turn left for 90 degrees.
Turn right for 80 degrees.
8
Multiple Choice
Why is it important to correctly sequence commands in a project?
To make a project that works as intended.
To make the VR Robot skip around to random commands.
To have accurate values and parameters in commands.
To make a project that does not work as intended.
9
Multiple Choice
What order will the buildings on the Castle Crasher Playground be knocked over according to this project above?
1, 2, 3, 4, 5
3, 2, 5, 4, 1
3, 1, 4, 5, 2
5, 2, 1, 4, 3
10
11
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?
The drive_for command with the parameter set to 2000 millimeters (mm).
The turn_for command with the parameter set to 90 degrees.
The move command with the parameter set to “DOWN".
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?
set_pen_color
move
turn_for
for loop
14
Multiple Choice
How many times will the for loop repeat the turn_for and drive_for commands inside of it?
1
2
3
4
15
Multiple Choice
What is the condition that will end this for loop?
After the VR Robot places the pen down.
After the VR Robot drives forward one time for 200 millimeters (mm).
After the for loop has repeated the commands inside of it four times.
After the VR Robot has driven forward 200 millimeters (mm) then turned right 60 degrees six times.
16
Multiple Choice
How can the following example be simplified by using a for loop?
By placing the first two drive_for and turn_for commands in a for loop that repeats four times.
By placing the drive_for command in a for loop that repeats four times.
By placing the turn_for command in a for loop that repeats four times.
By changing all of the parameters of the drive_for commands to 400 MM instead of 200 MM.
17
Multiple Choice
Which behaviors will be repeated as part of the for loop in this project?
Moving the pen down
Setting the pen color to red, driving forward 200mm, and turning right 45 degrees
Moving the pen up, setting the pen color to blue, and turning right for 90 degrees
Turning right for 45 degrees, moving the pen down, and driving forward for 200mm
18
Multiple Choice
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?
move command set to "UP"
drive_for command set to drive forward 2000 millimeters (mm)
for loop with the range function set to six
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
Similar Resources on Wayground
13 questions
Making suggestions
Presentation
•
7th - 12th Grade
12 questions
Dia de Muertos
Presentation
•
7th - 12th Grade
16 questions
SP2.4 Escribir - El aeropuerto
Presentation
•
7th - 12th Grade
13 questions
Parallel Lines and Transversals
Presentation
•
8th - 12th Grade
16 questions
Types of Chemical Reactions
Presentation
•
7th - 12th Grade
14 questions
Intervals
Presentation
•
6th - 12th Grade
12 questions
SUBTRACTION OF INTEGERS
Presentation
•
6th - 12th Grade
13 questions
Ilmu Pengetahuan Alam
Presentation
•
KG
Popular Resources on Wayground
20 questions
"What is the question asking??" Grades 3-5
Quiz
•
1st - 5th Grade
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
10 questions
Fire Safety Quiz
Quiz
•
12th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
47 questions
8th Grade Reading STAAR Ultimate Review!
Quiz
•
8th Grade