
VEX Robotics Computer Science Level 1 Python Course

Specifikationer
| Kursus | Computer Science Level 1 – Python |
|---|---|
| Enhed | 4 |
| Lektie | 3 |
| Emne | Driving Until Pressed Quiz |
Brugsvejledning
Kode Eksample
def main():
while not left_bumper.pressed():
drivetrain.drive(FORWARD)
wait(5, MSEC)
drivetrain.drive_for(REVERSE, 200, MM)
Spørgsmål 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).
Kode Eksample
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)
Spørgsmål 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). Alle rettigheder forbeholdes. Se de fulde copyrightvilkår på https://copyright.vex.com/
Dokumenter/ressourcer
Referencer
- Copyright Notice | VEX Robotics - VEX Roboticscopyright.vex.com
- Brugermanualmanual.tools
Published: June 10, 2026
Opdateret: 11. juni 2026



















