What is code? Text written as part of the program.
Is Task main the same as task main in ROBOTC? No, because replacing a capital with a lowercase or vice versa will cause the computer to become confused.
What does it mean when a word appears in color when typed in ROBOTC? Words in color are important words in the ROBOTC language.
Give an example of a simple statement.
motor[port3] = 127;
After a simple statement has been run, what statement does ROBOTC run next? tells the robot to wait for 3000 milliseconds.
What happens when a program has run all available statements? The program ends.
How does ROBOTC know where one statement ends and the next begins? its uses the semicolons.
What purpose do tabs, spaces, and line breaks serve in ROBOTC? It's used to help humans read the code
Identify the paired punctuation in the command
motor[port2] = 127;
What is the function of the punctuation pair you identified? The brackets and the semicolon.
What is the difference between a simple statement and a control statement? simple statement can only run one code after another in order while a control statement allow the program to choose the order the statements are run.
What special symbols mark a single-line comment? "//"
What special symbols mark a multi-line comment? "/*" to start & "*/" to end.
Describe four of the Natural Language commands found in the Function Library. movement, wait, until, & special.
What information can be found under the Help menu? Information about ROBOTC.
What information is stored in the Motors and Sensors Setup menu? Information about what kind of motor/sensor & what port their plugged into.
Why is it important for the Motors and Sensors Setup and the Electrical Engineering Schematic to match? If they aren't the same the robot will have trouble running if at all.