Based on the standard C programming language, ROBOTC is a text-based programming language in which commands to the robot is written as text and processed by the compiler into a machine language. Then loaded onto the robot where they can be run. This quiz has been designed to test your knowledge and programming skills. Read the questions carefully and answer. See moreAll the best!
To solve the problem
To do what the programmer wants it to do
To frustrate the programmer
To follow the instructions given to it
Rate this question:
A language that both the robot and programmer understand
A language that only the robot understands
A programming language that is image based (like Mindstorms)
A hybrid language that is half way between English and the programming language
Rate this question:
They separate the commands for the robot to follow
They make the code more readable for the programmer
They identify specific classes of commands
They identify the sequence the robot needs to follow
Rate this question:
// allow the programmer to insert a note on a single line and /* */ allow the programmer to use more than one line for notes
/* is used at the beginning of a program and */ is used at the end. // is used at the end of a command line
// ends a line of code and /* */ are used for multiple lines of code
/* */ allow the programmer to insert a note on a single line and // allow the programmer to use more than one line for notes
Rate this question:
Line 1
Line 4
Line 5
Line 6
There is no error
Line 1
Line 4
Line 5
Line 6
There is no error
Rate this question:
Line 1
Line 4
Line 5
Line 8
There is no error
Go forward for 20 seconds
Turn on Motor C for 20 seconds
Do a swing turn for 20 seconds
Do a point turn for 2 seconds
Rate this question:
Go forward at half speed for 5 seconds
Go forward for 50 seconds
Reverse at half speed 5 seconds
Reverse for 50 seconds
Rate this question:
A point turn and stop for 30 seconds
Nothing
A swing turn and stop for 3 seconds
A swing turn for 30 seconds and then stop
Rate this question:
Issue direct commands to the robot’s motors
Are only there for the human programmer’s benefit, and are ignored by the robot
Control the “flow” of commands: they choose which commands to run and when
Are a form of paired punctuation
Rate this question:
Quiz Review Timeline (Updated): Mar 21, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.