Search Header Logo

LocoRobo Lesson 11

Computers

6th - 12th Grade

Used 64+ times

LocoRobo Lesson 11
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two types of comments in Python?

Inline and block

# and //

< and #

code and non-code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Inline comments begin with a

#

//

'''

(

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Block comments begin with a

'''

//

#

(

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following shows an inline comment?

#Hello

'''Hello'''

'''Hello

(Hello)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following shows a block comment?

#Comment

'''Comment'''

'''Comment

(Comment)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables are used to

store values

make comments

correct errors

loop code

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following stores an integer as a variable?

number = 12

number is 12

number = "12"

number is "12"

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?