wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Mastering VEXIQ Block Code

Total questions: 65

Worksheet time: 45mins

Name
Class
Date
1.

What is the first step in debugging VEXIQ code?

a)

Check for runtime errors.

b)

Check for syntax errors.

c)

Update the VEXIQ firmware.

d)

Review the hardware connections.

2.

If a robot does not move when the bumper sensor is pressed, what could be a potential issue in the code?

a)

The bumper sensor is malfunctioning.

b)

The code may not properly handle the bumper sensor input.

c)

The robot is programmed to ignore the bumper sensor.

d)

The robot's power supply is disconnected.

3.

What does the optical sensor detect in VEXIQ programming?

a)

Motion and distance

b)

Sound frequency and volume

c)

Light intensity and color contrast.

d)

Temperature and humidity

4.

How can you use the bumper sensor to stop a robot?

a)

Use the bumper sensor to increase the robot's speed.

b)

Use the bumper sensor to turn the robot left or right.

c)

Use the bumper sensor to detect obstacles and send a stop command to the robot's control system.

d)

Ignore the bumper sensor and continue moving forward.

5.

What is the purpose of the TouchLED sensor in VEXIQ?

a)

To measure temperature changes in the environment.

b)

To provide audio feedback for user interactions.

c)

The purpose of the TouchLED sensor in VEXIQ is to detect touch inputs and provide visual feedback.

d)

To control the speed of motors in the robot.

6.

If the optical sensor reads a color, how should the code respond?

a)

Ignore the color and do nothing.

b)

Respond based on predefined conditions for each color.

c)

Always respond with a default message.

d)

Change the color to black regardless of the input.

7.

How can you ensure that the robot responds correctly to the TouchLED sensor?

a)

Ignore the sensor entirely

b)

Verify sensor connection, program response logic, and test functionality.

c)

Use a different type of sensor

d)

Increase the robot's speed

8.

How can you modify the code to make the robot turn when the bumper sensor is pressed?

a)

Add an event listener for the bumper sensor and implement motor control to turn the robot when pressed.

b)

Add a timer to delay the robot's movement after the bumper is pressed.

c)

Use a light sensor to control the robot's turning behavior.

d)

Implement a sound alert instead of turning the robot when the bumper is pressed.

9.

What is the expected outcome if the optical sensor is set to detect red?

a)

The sensor will detect and respond to red light.

b)

The sensor will malfunction and not detect any light.

c)

The sensor will ignore all light sources.

d)

The sensor will only detect blue light.

10.

How can you use the TouchLED sensor to indicate a successful task completion?

a)

Use the TouchLED sensor to emit a continuous blue light.

b)

Use the TouchLED sensor to glow red for errors.

c)

Use the TouchLED sensor to glow green or blink to indicate successful task completion.

d)

Use the TouchLED sensor to turn off completely after a task.

11.

What is the flow of code when using multiple sensors together?

a)

Ignoring error handling completely.

b)

Only initializing sensors and reading data.

c)

The flow involves initializing sensors, reading data, processing it, combining results, and handling errors.

d)

Processing data without combining results.

12.

If the bumper sensor is not functioning, what troubleshooting steps should you take?

a)

Replace the bumper entirely

b)

Ignore the issue and drive on

c)

Check wiring and connections, inspect the sensor, test with a multimeter, and consult the manual.

d)

Adjust the tire pressure

13.

How does the optical sensor affect the robot's movement in a maze?

a)

The optical sensor prevents the robot from moving altogether.

b)

The optical sensor makes the robot move faster in the maze.

c)

The optical sensor helps the robot navigate the maze by detecting obstacles and guiding its movement.

d)

The optical sensor only detects light levels, not obstacles.

14.

What changes would you make to the code to improve sensor accuracy?

a)

Implement calibration routines, use filtering techniques, increase sampling rate, and ensure proper sensor placement.

b)

Ignore environmental factors during measurement

c)

Use a single data point for readings

d)

Reduce the sensor's power supply

15.

How can you visualize the output of the TouchLED sensor in your code?

a)

Store the sensor value in a database for later use.

b)

Use a sound output to indicate the sensor value.

c)

Use a graphical interface or print the sensor value to the console.

d)

Display the sensor value as an image on the screen.

16.

What is the significance of using comments in your VEXIQ code?

a)

Comments are not necessary in VEXIQ code.

b)

Comments are only for debugging purposes.

c)

Comments improve code readability and maintainability.

d)

Comments slow down code execution.

17.

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

18.

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?

a)

The <Less than> block should be set to -900 not 50.

b)

This project should use a <Greater than> block instead of a <Less than> block and be set to -900.

c)

The <Less than> block should be set to -900 not 50.

d)

This project should use a <Greater than> block instead of a <Less than> block and keep the same parameters.

19.

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?

a)

(Distance from) block

b)

(Timer value) block

c)

(Position of Robot) block

d)

<Pressing bumper> block

20.

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?

a)

(Position of Robot) block

b)

(Distance from) block

c)

(Timer value) block

d)

<Pressing bumper> block

21.

Which of the following would be the best comment to describe this project?

a)

Open a tutorial video.

b)

Drive the VR Robot in a triangle.

c)

Drive the VR Robot in a square.

d)

Drive the VR Robot backwards.

22.

Observa la imagen. ¿Cuál es la función de este bloque?

a)

Permite que el robot avance

b)

Permite que el robot avance y retroceda

c)

Permite que el robot avance y retroceda una distancia exacta

d)

Permite que el robot gire

23.

Observa la imagen. ¿Cuál es la función del bloque?

a)

Permite que el robot gire

b)

Permite que el robot gire hacia la derecha o izquierda.

c)

Permite que el robot gire una cantidad especifica de grados

d)

Permite que el robot gire una cantidad especifica de grados en ambas direcciones.

24.

Observa la imagen. ¿Con qué otro nombre se le conoce al bloque repetir??

a)

Secuencia

b)

Condicional

c)

Bucle

d)

Patrón

25.

¿Cuál es el programa correcto para la siguiente figura?

a)
b)
c)
d)
26.

Observa la imagen. ¿Qué bloque es el incorrecto si se desea dibujar una linea de roja 800 mm?

a)
b)
c)
d)

Todos los bloques son correctos

27.

¿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?

a)
b)
c)
d)
28.

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?

a)
b)
c)
d)
29.

What is the name of this category?

a)

Looks

b)

Variables

c)

Control

d)

Operators

30.

What is the sensor we used in the collision avoidance project?

a)

Distance Sensor

b)

Temperature Sensor

31.

What is the function of this code block?

a)

Increase Bot Speed

b)

Decrease Bot Speed

c)

Increase And Decrease Bot Speed

d)

None Of The Above

32.

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.

a)

True

b)

False

33.

‘If’ is a decision making statement

a)

TRUE

b)

FALSE

34.

It is possible to execute both the statements under if and else at the same time.

a)

TRUE

b)

FALSE

35.

What type of statement is and "If/then" statement in coding?

a)

Control

b)

Basic

c)

Conditional

d)

Absolute

36.

What shape will this program draw?

a)

a spiral design

b)

a square

c)

a circle

d)

a triangle

37.

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)

a)

Line 1

b)

Line 2

c)

Line 3

d)

none of the above

38.

Which number will the robot end on after this program runs?

a)

28

b)

78

c)

72

d)

22

39.

Which program, A or B, will move the robot to the center of the playground?

a)

option A

b)

option B

40.

The robot hits all five buildings in this program. Which building is hit last?

a)

top-left building

b)

top-right building

c)

bottom-left building

d)

bottom-right building

41.

Which of the following best describes how the Distance Sensor works?

a)

The Distance Sensor uses the time it takes for ultrasonic waves to reach an object from the sensor.

b)

The Distance Sensor uses the time it takes for ultrasonic waves to bounce off of an object and return to the sensor.

c)

The Distance Sensor uses the time it takes for the VR Robot to reach all objects in the Playground.

d)

The Distance Sensor uses the time it takes for ultrasonic waves to bounce off yellow and orange objects and return to the sensor.

42.

How will the robot 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.

43.

In this project, if the condition of the Down Eye detecting red is TRUE, how will the VR Robot move?

a)

It will turn right for 115 degrees.

b)

It will drive forward forever.

c)

It will turn left for 115 degrees.

d)

It will stop driving.

44.

Describe why a [Forever] block is used in this project.

a)

To continuously check if the VR Robot Pen is up or down.

b)

To continuously check if the VR Robot is near an object with detectable colors.

c)

To draw the color blue with the VR Robot Pen.

d)

To report if the Bumper Sensors are being pressed.

45.

If, then control blocks are

a)

Distance Sensors

b)

Conditional statements

c)

Boolean

d)

Coordinates

46.

A component of a robot that makes it see, hear, and touch its physical environment.

a)

sensor

b)

effector

c)

actuator

d)

controller

47.

Doing something over and over again is called?

a)

Loop

b)

Switch

c)

continuous

d)

None of the above

48.

What values does the <Pressing bumper> block return?

a)

TRUE (pressed) or FALSE (released).

b)

Positive (pressed); Negative (released).

c)

Number values between one and ten.

d)

Distance from object in millimeters (mm).

49.

Which block reports if the Bumper Switch is pressed?

a)

<Distance found object>

b)

<Pressing bumper>

c)

<Color near object>

d)

<Bumper switch on>

50.

How is the <Pressing bumper> 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.

51.

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?

a)

<Distance found object>

b)

<Pressing bumper>

c)

<Drive is moving>

d)

<Color sensing>

52.

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.

53.

What does the conditional evaluate in the [Wait until] block?

a)

Is the bumper pressed.

b)

Has the Distance Sensor found an object in front of the VR Robot.

c)

Is the Color sensor close to an object.

d)

The timer value.

54.

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?

a)

The project is missing a [Drive] block.

b)

The Robot stops before it reaches the number "1".

c)

Sequence of the blocks is incorrect.

d)

The last [Turn for] should be right instead of left.

55.

What is the name of this category?

a)

Drivetrain

b)

Magnet

c)

Looks

d)

Control

56.

A ______ is used to do a set of instructions for a certain number of times.

a)

Variable Block

b)

Repeat Block

c)

If Block

d)

Decision Block

57.

A ______ is used to make a decision based on a condition.

a)

Variable Block

b)

Repeat Block

c)

If Block

d)

Decision Block

58.

In computer programming, what is an algorithm?

a)

A sequence of instructions

b)

A computer programming language

c)

A problem in the software

d)

A placeholder for a piece of information that can change

59.

Why are loop codes used?

a)

to increase the accuracy of the code

b)

to repeat actions until completion

c)

to repeat actions if another action fails

d)

to repeat actions until the end of the code

60.

Will this repeat forever?

a)

Yes. it will repeat nonstop

b)

It will repeat 100 times

c)

No, it won't repeat at all

d)

It will repeat only 10 times

61.

Which of these will have your robot drive in a perfect square?

a)
b)
c)
d)
62.

Which of these will make your robot drive in a perfect triangle?

a)
b)
c)
d)
63.

Which of these will properly increment drive by 200 every iteration?

a)
b)
c)
d)
64.

What will this code execute?

a)

The robot will drive forward by 20, then turn 90 steps

b)

The robot will drive forward by 200, then turn 90 degrees to the right four times

c)

The robot will turn 90 degrees to the right, then drive forward by 200 four times

d)

The robot will turn 90 degrees to the right, then repeat

65.

What is this program doing?

a)

It will make the robot go back and forth turning 100 degrees

b)

It is making the robot go forward 100mm then back for 300mm

c)

It is making the robot go forward 100mm then turn back and repeat each time incrementing the distance by 300mm

d)

It is making the robot go forward 300mm then turn back and repeat each time incrementing the distance by 100mm