Worksheetsfun happy programming quiz
Total questions: 11
Worksheet time: 6mins
What kind of variable are leftmotorspeed / rightmotorspeed?
void
leftmotorspeed
integer
header
What’s the purpose of the variable deadband?
to make sure axis values are not one, which would prevent the robot from going in circles.
to know whether someone is driving the robot on the controller or not.
Which axis do you use for tank drive? (in order)
3 and 2
2 and 3
1 and 3
1 and 5
Which sensor is the most necessary when programming autons?
Bumper Switch
Rotation Sensor
Inertial Sensor
Vision Sensor
What is does vex::sleep mean?
a wait function that takes in seconds
a wait function that takes in milliseconds
a premade function that enables the robot code to work
a vex-made premade function that allows the robot code to declare competition
What is a variable that only can be true or false?
Bool
Int
Str
Void
If you have a semicolon not on the end of a line, then what is that error called?
Logic
Syntax
Runtime
Human
What does error stand for in a drivePID?
(Current Position - Desired Value)
(Desired inches * 360)/(pi x wheeldiameter)
What piece of code contains a logic error (that won't let it be able to function properly but still has proper structure)
LeftMotor.turn(forward)
Drivetrain.move(forward, 1, square)
RightMotorGroup.spin(forward, 28, degrees)
What part of the configuration menu
is used to add pneumatics tubes into code?
digital_out
pneumatics
digital_in
sensor_pneumatics
vex.threewireport.out
how do you wire a pneumatics solenoid?
plug into a normal port
plug into a three-wire port
Only plug into port 22
