FTC Code

FTC Code

9th Grade

17 Qs

quiz-placeholder

Similar activities

Arduino practice 2

Arduino practice 2

9th - 11th Grade

15 Qs

ULANGAN HARIAN I

ULANGAN HARIAN I

9th Grade

20 Qs

LINK TEST - KHỞI ĐỘNG

LINK TEST - KHỞI ĐỘNG

6th - 12th Grade

20 Qs

Computadoras

Computadoras

KG - Professional Development

17 Qs

CIE Computer Science syllabus 0478

CIE Computer Science syllabus 0478

9th - 11th Grade

15 Qs

Photoshop Certification [2, Panels]

Photoshop Certification [2, Panels]

9th - 12th Grade

20 Qs

CPA CPF1 System Specifications

CPA CPF1 System Specifications

8th Grade - Professional Development

16 Qs

IED Engineering Design Process

IED Engineering Design Process

9th - 12th Grade

20 Qs

FTC Code

FTC Code

Assessment

Quiz

Instructional Technology

9th Grade

Practice Problem

Medium

Created by

Jessica Holman

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

What does this piece of code do?

Configures the motors

Declares the motors

initializes the power of the motors

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?