NEW
Font size
WorksheetsMastering VEXIQ Block Code
Total questions: 65
Worksheet time: 45mins
What is the first step in debugging VEXIQ code?
Check for runtime errors.
Check for syntax errors.
Update the VEXIQ firmware.
Review the hardware connections.
If a robot does not move when the bumper sensor is pressed, what could be a potential issue in the code?
The bumper sensor is malfunctioning.
The code may not properly handle the bumper sensor input.
The robot is programmed to ignore the bumper sensor.
The robot's power supply is disconnected.
What does the optical sensor detect in VEXIQ programming?
Motion and distance
Sound frequency and volume
Light intensity and color contrast.
Temperature and humidity
How can you use the bumper sensor to stop a robot?
Use the bumper sensor to increase the robot's speed.
Use the bumper sensor to turn the robot left or right.
Use the bumper sensor to detect obstacles and send a stop command to the robot's control system.
Ignore the bumper sensor and continue moving forward.
What is the purpose of the TouchLED sensor in VEXIQ?
To measure temperature changes in the environment.
To provide audio feedback for user interactions.
The purpose of the TouchLED sensor in VEXIQ is to detect touch inputs and provide visual feedback.
To control the speed of motors in the robot.
If the optical sensor reads a color, how should the code respond?
Ignore the color and do nothing.
Respond based on predefined conditions for each color.
Always respond with a default message.
Change the color to black regardless of the input.
How can you ensure that the robot responds correctly to the TouchLED sensor?
Ignore the sensor entirely
Verify sensor connection, program response logic, and test functionality.
Use a different type of sensor
Increase the robot's speed
How can you modify the code to make the robot turn when the bumper sensor is pressed?
Add an event listener for the bumper sensor and implement motor control to turn the robot when pressed.
Add a timer to delay the robot's movement after the bumper is pressed.
Use a light sensor to control the robot's turning behavior.
Implement a sound alert instead of turning the robot when the bumper is pressed.
What is the expected outcome if the optical sensor is set to detect red?
The sensor will detect and respond to red light.
The sensor will malfunction and not detect any light.
The sensor will ignore all light sources.
The sensor will only detect blue light.
How can you use the TouchLED sensor to indicate a successful task completion?
Use the TouchLED sensor to emit a continuous blue light.
Use the TouchLED sensor to glow red for errors.
Use the TouchLED sensor to glow green or blink to indicate successful task completion.
Use the TouchLED sensor to turn off completely after a task.
What is the flow of code when using multiple sensors together?
Ignoring error handling completely.
Only initializing sensors and reading data.
The flow involves initializing sensors, reading data, processing it, combining results, and handling errors.
Processing data without combining results.
If the bumper sensor is not functioning, what troubleshooting steps should you take?
Replace the bumper entirely
Ignore the issue and drive on
Check wiring and connections, inspect the sensor, test with a multimeter, and consult the manual.
Adjust the tire pressure
How does the optical sensor affect the robot's movement in a maze?
The optical sensor prevents the robot from moving altogether.
The optical sensor makes the robot move faster in the maze.
The optical sensor helps the robot navigate the maze by detecting obstacles and guiding its movement.
The optical sensor only detects light levels, not obstacles.
What changes would you make to the code to improve sensor accuracy?
Implement calibration routines, use filtering techniques, increase sampling rate, and ensure proper sensor placement.
Ignore environmental factors during measurement
Use a single data point for readings
Reduce the sensor's power supply
How can you visualize the output of the TouchLED sensor in your code?
Store the sensor value in a database for later use.
Use a sound output to indicate the sensor value.
Use a graphical interface or print the sensor value to the console.
Display the sensor value as an image on the screen.
What is the significance of using comments in your VEXIQ code?
Comments are not necessary in VEXIQ code.
Comments are only for debugging purposes.
Comments improve code readability and maintainability.
Comments slow down code execution.
In this project, the VR Robot will drive along the Y-axis until the value of the Location Sensor is greater than what value?
-400
-900
-250
-650
This project is intended to drive to number '6' on the Number Grid Map Playground but does not work. Number '6' has the coordinates X: 50 and Y: -900. What is the error?
The <Less than> block should be set to -900 not 50.
This project should use a <Greater than> block instead of a <Less than> block and be set to -900.
The <Less than> block should be set to -900 not 50.
This project should use a <Greater than> block instead of a <Less than> block and keep the same parameters.
This project is intended to drive to number '9' on the Number Grid Map Playground but the project is incomplete. What block from the Sensing category should be placed in the first [Wait until] block?
(Distance from) block
(Timer value) block
(Position of Robot) block
<Pressing bumper> block
This project is intended to drive to number "91" on the Number Grid Map Playground but the project is incomplete. What block from the Sensing category should be placed in the first [Wait until] block?
(Position of Robot) block
(Distance from) block
(Timer value) block
<Pressing bumper> block
Which of the following would be the best comment to describe this project?
Open a tutorial video.
Drive the VR Robot in a triangle.
Drive the VR Robot in a square.
Drive the VR Robot backwards.
Observa la imagen. ¿Cuál es la función de este bloque?
Permite que el robot avance
Permite que el robot avance y retroceda
Permite que el robot avance y retroceda una distancia exacta
Permite que el robot gire
Observa la imagen. ¿Cuál es la función del bloque?
Permite que el robot gire
Permite que el robot gire hacia la derecha o izquierda.
Permite que el robot gire una cantidad especifica de grados
Permite que el robot gire una cantidad especifica de grados en ambas direcciones.
Observa la imagen. ¿Con qué otro nombre se le conoce al bloque repetir??
Secuencia
Condicional
Bucle
Patrón
¿Cuál es el programa correcto para la siguiente figura?
Observa la imagen. ¿Qué bloque es el incorrecto si se desea dibujar una linea de roja 800 mm?
Todos los bloques son correctos
¿Cuál de los siguientes programas no permite que el robot dibuje una linea roja de 800 mm y regrese a su punto de origen?
Se necesita que el robot dibuje un cuadrado rojo de 600 mm en cada uno de sus lados. ¿Cual de los siguiente programas permite que el robot realice su tarea de manera correcta?
What is the name of this category?
Looks
Variables
Control
Operators
What is the sensor we used in the collision avoidance project?
Distance Sensor
Temperature Sensor
What is the function of this code block?
Increase Bot Speed
Decrease Bot Speed
Increase And Decrease Bot Speed
None Of The Above
True or False: The <Color sensing> block is a Boolean block that reports TRUE when the Eye Sensor detects a selected color, and FALSE when it detects a different color than the one selected.
True
False
‘If’ is a decision making statement
TRUE
FALSE
It is possible to execute both the statements under if and else at the same time.
TRUE
FALSE
What type of statement is and "If/then" statement in coding?
Control
Basic
Conditional
Absolute
What shape will this program draw?
a spiral design
a square
a circle
a triangle
This program has a problem. It will not draw a line. Which line number is the cause of this problem? (lines are indicated by red circles)
Line 1
Line 2
Line 3
none of the above
Which number will the robot end on after this program runs?
28
78
72
22
Which program, A or B, will move the robot to the center of the playground?
option A
option B
The robot hits all five buildings in this program. Which building is hit last?
top-left building
top-right building
bottom-left building
bottom-right building
Which of the following best describes how the Distance Sensor works?
The Distance Sensor uses the time it takes for ultrasonic waves to reach an object from the sensor.
The Distance Sensor uses the time it takes for ultrasonic waves to bounce off of an object and return to the sensor.
The Distance Sensor uses the time it takes for the VR Robot to reach all objects in the Playground.
The Distance Sensor uses the time it takes for ultrasonic waves to bounce off yellow and orange objects and return to the sensor.
How will the robot move in this project?
The VR Robot will start driving and stop when the Distance Sensor is greater than 150 millimeters (mm) away from an object.
The VR Robot will start driving and stop when the Distance Sensor is less than 150 millimeters (mm) away from an object.
The VR Robot will drive 150 millimeters (mm) then stop.
The VR Robot will drive forward, stop, drive forward again for 150 millimeters (mm) then stop.
In this project, if the condition of the Down Eye detecting red is TRUE, how will the VR Robot move?
It will turn right for 115 degrees.
It will drive forward forever.
It will turn left for 115 degrees.
It will stop driving.
Describe why a [Forever] block is used in this project.
To continuously check if the VR Robot Pen is up or down.
To continuously check if the VR Robot is near an object with detectable colors.
To draw the color blue with the VR Robot Pen.
To report if the Bumper Sensors are being pressed.
If, then control blocks are
Distance Sensors
Conditional statements
Boolean
Coordinates
A component of a robot that makes it see, hear, and touch its physical environment.
sensor
effector
actuator
controller
Doing something over and over again is called?
Loop
Switch
continuous
None of the above
What values does the <Pressing bumper> block return?
TRUE (pressed) or FALSE (released).
Positive (pressed); Negative (released).
Number values between one and ten.
Distance from object in millimeters (mm).
Which block reports if the Bumper Switch is pressed?
<Distance found object>
<Pressing bumper>
<Color near object>
<Bumper switch on>
How is the <Pressing bumper> block used in this project?
It pauses the project indefinitely.
It causes the VR Robot to move forward for 200 millimeters (mm).
It checks the condition of the Bumper Sensor. When TRUE, the VR Robot will turn right 180 degrees.
It instructs the VR Robot to turn to 90 degrees.
Which Boolean reporter block would you use with [Wait until] to create a project that instructs the VR Robot to drive forward until the bumper sensor is pressed in this project?
<Distance found object>
<Pressing bumper>
<Drive is moving>
<Color sensing>
What is the order in which behaviors will be executed in this project?
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.
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.
Drive Forward until Right Bumper is pressed, Turn Left for 90 degrees, Drive Forward, Turn Left for 90 degrees, Drive Forward.
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.
What does the conditional evaluate in the [Wait until] block?
Is the bumper pressed.
Has the Distance Sensor found an object in front of the VR Robot.
Is the Color sensor close to an object.
The timer value.
This project was used to drive the VR Robot from Start to the number '1' in the Wall Maze Playground, but does not work correctly. What is the error?
The project is missing a [Drive] block.
The Robot stops before it reaches the number "1".
Sequence of the blocks is incorrect.
The last [Turn for] should be right instead of left.
What is the name of this category?
Drivetrain
Magnet
Looks
Control
A ______ is used to do a set of instructions for a certain number of times.
Variable Block
Repeat Block
If Block
Decision Block
A ______ is used to make a decision based on a condition.
Variable Block
Repeat Block
If Block
Decision Block
In computer programming, what is an algorithm?
A sequence of instructions
A computer programming language
A problem in the software
A placeholder for a piece of information that can change
Why are loop codes used?
to increase the accuracy of the code
to repeat actions until completion
to repeat actions if another action fails
to repeat actions until the end of the code
Will this repeat forever?
Yes. it will repeat nonstop
It will repeat 100 times
No, it won't repeat at all
It will repeat only 10 times
Which of these will have your robot drive in a perfect square?
Which of these will make your robot drive in a perfect triangle?
Which of these will properly increment drive by 200 every iteration?
What will this code execute?
The robot will drive forward by 20, then turn 90 steps
The robot will drive forward by 200, then turn 90 degrees to the right four times
The robot will turn 90 degrees to the right, then drive forward by 200 four times
The robot will turn 90 degrees to the right, then repeat
What is this program doing?
It will make the robot go back and forth turning 100 degrees
It is making the robot go forward 100mm then back for 300mm
It is making the robot go forward 100mm then turn back and repeat each time incrementing the distance by 300mm
It is making the robot go forward 300mm then turn back and repeat each time incrementing the distance by 100mm
