CIM VEX- RobotC Review
Terms in this set (30)
What is the purpose of the RobotC Debug window?
-Start and Stop program
-Step through program one line at a time
- It must be open to use any of the other Debug windows (Sensors, Motors, etc.)
A potentiometer is a ______ sensor
A Quad Encoder (shaft encoder) is a ______ sensor
What is the purpose of the Sensor Value [sensorName] command?
tells you and sets the value of the sensors
What is the purpose of the RobotC Motors and Sensors Setup?
Place to configure along with placing motors and sensors in the cortex
What will this program cause the robot to do? #1
the Line Follower (line Tracking Sensor) is a _____ sensor
what range of values does the Line Follower provide?
0 to 4095
How many analog ports are on a cortex controller?
How many Motor output ports are on a Cortex controller?
The Ultrasonic Rangefinder (SONAR sensor) can give distances in...
cm, mm, in
The potentiometer returns values from ____ to ____.
0 to 4095
The bumper switch and limit switch give values of 1 when pressed and 0 when released. (T,F)
Is the speed of motor affected by the battery power?
Does the Potentiometer have a full range of motion?
What will the following program cause your robot to do? (#2)
turn right for 2 seconds and stop
Which of the following commands will allow a user to move a servo motor?
In which Natural Language Catagory will a user find the commands for the LEDs and the VEX Flashlight?
Which command waits for a bumper or limit switch to be pressed?
As soon as you start up RobotC for the first time, the Natural Language is enabled (T,F)
False, you must set it first
Which of these is more precise?
How does a user access the value of a sensor in RobotC?
How does a user reset a timer in RobotC?
ClearTimer (); command
Where can a user see all of the values of the sensors, timers, and global variables?
Which of these is not part of the Debug Window?
Which of these are a way to loop the program?
-repeat until ()
-if else ()
How do you create a single line comment in RobotC?
Why is it important to comment out code?
So a human could figure it out and read the code
What does "task main ()" do?
It's the main task for the Robot
What must All RobotC programs contain?