VEX Robotics Computer Science Level 1 Python Course

Especificacions
| Curs | Computer Science Level 1 – Python |
|---|---|
| Unitat | 4 |
| Lliçó | 3 |
| Tema | Driving Until Pressed Quiz |
Instruccions d'ús
Codi Example
def main():
while not left_bumper.pressed():
drivetrain.drive(FORWARD)
wait(5, MSEC)
drivetrain.drive_for(REVERSE, 200, MM)
Pregunta 1
What will the VR Robot do when the Bumper Sensor is pressed in this project?
- Turn right for 180 degrees.
- Stop driving.
- Turn right for 90 degrees.
- Drive in reverse for 200 millimeters (mm).
Codi Example
def main():
while not left_bumper.pressed():
drivetrain.drive(FORWARD)
wait(5, MSEC)
drivetrain.turn_for(RIGHT, 90, DEGREES)
while not left_bumper.pressed():
drivetrain.drive(FORWARD)
wait(5, MSEC)
drivetrain.turn_for(LEFT, 90, DEGREES)
Pregunta 2
What needs to happen for the VR Robot to turn left in this project?
- The Left Bumper Sensor needs to be pressed once.
- The VR Robot needs to drive for 300 millimeters (mm).
- The Left Bumper Sensor needs to be pressed twice.
- The pen needs to draw a circle on the Playground.
Copyright 2021 Innovation First, Inc. (dba VEX Robotics). Tots els drets reservats. Vegeu els termes complets dels drets d'autor a https://copyright.vex.com/
Documents/Recursos
Referències
- Copyright Notice | VEX Robotics - VEX Roboticscopyright.vex.com
- Manual d'usuarimanual.tools
Published: June 10, 2026
Actualitzat: 11 de juny de 2026



















