Introduction
ROBOTC is a C-based programming language for robots. When used with the VEX® platform, ROBOTC can provide hours of creative and educational fun. ROBOTC includes real-time syntax checking, compiling and contextual help, and auto-completion of functions and variables. It has a debugger, allowing you to step through your program, set break points, and track variables or watch the code execute on your VEX® model. The Natural Language PLTW programming platform will make communicating with your robots relatively easy.
Use these ROBOTC Programming videos to assist you with the Procedure questions below:
Part 1 Video = Questions 1-8
Part 2 Video = Questions 9-12
Answer the following questions in your notebook paper while watching videos and demonstrations by your teacher. Be sure to include the question in your answer.
What is code?
Is Task main the same as task main in ROBOTC?
What does it mean when a word appears in color when typed in ROBOTC?
Give an example of a simple statement.
After a simple statement has been run, what statement does ROBOTC run next?
What happens when a program has run all available statements?
How does ROBOTC know where one statement ends and the next begins?
What purpose do tabs, spaces, and line breaks serve in ROBOTC?
Identify the paired punctuation in the command
motor[port2] = 127;
What is the function of the punctuation pair you identified?
What is the difference between a simple statement and a control statement?
What special symbols mark a single-line comment?
What special symbols mark a multi-line comment?
Describe four of the Natural Language commands found in the Function Library.
What information can be found under the Help menu?
What information is stored in the Motors and Sensors Setup menu?
Why is it important for the Motors and Sensors Setup and the Electrical Engineering Schematic to match?
Think like a Technical Writer, and write about one of the simple behaviors in your code. Do not use coding language or pseudocode, instead use proper English by utilizing the academic and content vocabulary from the word bank.
See Google Classroom for the post.