LocoRobo Lesson 11

LocoRobo Lesson 11

6th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

Python Revision

Python Revision

8th Grade

16 Qs

Procedures and Functions

Procedures and Functions

10th Grade

20 Qs

Foundations of Programming

Foundations of Programming

9th - 10th Grade

18 Qs

Python Basics

Python Basics

9th - 12th Grade

20 Qs

Python Review

Python Review

9th - 12th Grade

20 Qs

Basic Python

Basic Python

9th - 12th Grade

20 Qs

Computer

Computer

10th Grade

15 Qs

Progamming - Java Syntax

Progamming - Java Syntax

11th - 12th Grade

15 Qs

LocoRobo Lesson 11

LocoRobo Lesson 11

Assessment

Quiz

Computers

6th - 12th Grade

Hard

Used 64+ times

FREE Resource

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"

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?