FTC Code

Quiz
•
Instructional Technology
•
9th Grade
•
Medium
Jessica Holman
Used 3+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
I want the claw to open when I press a button. How do i put this in my code?
if(gamepad1.a){
claw.setPosition(.5);}
else{
claw.setPosition(0);}
claw.setPosition(gamepad1.a);
claw.setPower(gamepad1.a);
if(gamepad1.a){
claw.setPower(1);}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the following, what is motorLeft_?
if(gamepad1.y){
motorLeft_.setPower(power_motors);
The variable name that matches the name you assigned in the robot configuration
A motor in our gobilda kits is manufactured name is motorLeft_
A servo for the left side of the claw
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assuming that positive power_motors makes the robot drive forward
What happens if I press a?
The robot will drive in reverse
The robot will turn to the left
The robot will turn to the right
The robot will drive forward
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assuming that positive power_motors makes the robot drive forward
What happens if I press y for a second and then let go?
The robot will drive in reverse
The robot will drive forward and then backwards
The robot will drive forward and will not stop unless setPower(0) is somewhere else in the code
The robot will drive forward and then stop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if I press button b?
The robot will turn left
The robot will turn right
The robot will go in reverse
The robot will strafe left
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can I make the robot turn to the right?
Press the left bumper
Press the right bumper
Press x
Press both bumpers at the same time
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this piece of code do?
Configures the motors
Declares the motors
initializes the power of the motors
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Tesla vs. Edison

Quiz
•
4th - 12th Grade
15 questions
launching a hydraulic rocket

Quiz
•
9th Grade
20 questions
power tools

Quiz
•
9th - 12th Grade
18 questions
Logos

Quiz
•
9th - 10th Grade
15 questions
Mechine Learning

Quiz
•
7th - 9th Grade
12 questions
Robotic And Drone (Part 1)

Quiz
•
7th - 11th Grade
20 questions
Robótica

Quiz
•
7th - 11th Grade
20 questions
Types and Components of Computer Systems

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade