
RobotC Introduction and Sensors
Authored by Dustin Belyea
Science
9th - 12th Grade
NGSS covered
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does every program have to have?
task main( ) and a set of { }
Task main and ( )
Main task and { }
task main and semicolons
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Simple ROBOTC commands (statement) always end with a
}
)
semi-colon
]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements are true about comments?
Comments are used by programmers to make notes in their codes
The compiler and robot both ignore comments when running the program
It cuts down on potential confusion later on when someone else may need to read the code
All of these statements are true
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The value range associated with the limit switch is?
-127 to 127
0 to 127
-1 to 1
0 or 1
5.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
A motor can be reversed by_____________.
Standing on my head and looking at the motor upside down
changing the sign (+/-) of the speed in the program
Check "Reverse" in Motors & Setup
turn the motor with my LEFT hand instead of my right hand
Tags
NGSS.MS-PS2-1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this line of code do?
Assigns the vertical right joystick to the main motor
Assigns the horizontal right joystick to the motor port named 'mainMotor'
Assigns the vertical left joystick to the motor port named 'mainMotor'
Assigns the horizontal left joystick to the main motor
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What do these lines of code do?
motors for ports 2 and 5 half power in reverse, motors for ports 3 and 4 half power, only while button 6-d is pressed
motors for ports 3 and 4 full power in reverse, motors for ports 2 and 5 full power, only if button 6-d is pressed
motors for ports 2 and 5 half power in reverse, motors for ports 3 and 4 half power, only if button 6-d is pressed
motors for ports 2 and 5 full power in reverse, motors for ports 3 and 4 full power, only when button 6-d is pressed
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?