Search Header Logo

P7 SciTech R Programming 2-5-2019

Authored by Arthur Barela

Other

6th - 8th Grade

Used 14+ times

P7 SciTech R Programming 2-5-2019
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the program we use to write programs for the robot models?

RobotC

Chrome

Microsoft Word

PLTW

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What punctuation mark needs to be at the end of each line of code?

;

.

!

/

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where do we usually plug in the button on the cortex?

Digital 2

Analog 2

Motor 2

USB port

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What code will make a motor spin for 3 seconds?

startMotor(port2,40);

wait(3);

startMotor(port3,80);

wait(2);

stopMotor(port2);

untilTouch(bumpSwitch);

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen with this line of code:

untilTouch(bumpSwitch);

The program will start when you press the button

A motor will spin

A motor will stop spinning

There will be an "x" because the code is wrong

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A model moves forward with this code:

startMotor(port3,60);

startMotor(port4,60);


How would you change it to move backward?

change each 60 to be -60

change port3 to -60

change port4 to -60

change startMotor to wait

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A model moves backward with this code:

startMotor(port4,50);

startMotor(port5,-50);


How can you change the code to make it move forward?

change it to (port4,-50) and (port5,50);

change it to (port5,50);

change it to (port4,-50);

change the command to wait

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?