Search Header Logo

Codebots 2

Authored by Christy Rodgers

Computers

7th - 9th Grade

Used 3+ times

Codebots 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Light does the code turn on? leds.ls(0b00100)

User LED 3

Line Sensor LED 3

Line Sensor LED 2

User LED 2

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Your Python code can control how much electric power is delivered to each motor, over a full range. What does the following command do?

+100%

full speed forward

full speed reverse

Turns the motor on

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In order for your motors to move, what command do you have to give?

motors.enable(False)

motors.enable(True)

Motors.run(Left,50)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _______ character is shorthand for "everything". In computer lingo this is referred to as a wild-card.

"Get"

Import

*

==

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

When a computer is first powered ON, it’s called ______. Your device has a push-button that resets the main CPU, causing it to start back from the beginning and run whatever code is loaded again.

Reboot

Booting UP

Turning On

Loading

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comments are a way to put notes in your code that are ignored by the computer. In Python, the _____ symbol is used for comments.

*

%

#

@

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Function?

Can be called a method

A procedure

Reusable chunks of code

All answers are correct

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?