Search Header Logo

Python Quiz 1

Authored by Susan Abraham

Computers

8th Grade

Python Quiz 1
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.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will this code print?

print("Python is fun!")

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will this code print?

# This is a comment

print("Hello!")

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What will this code print?

# print("Don’t print me")

print("Print me instead")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False  

#This is a comment

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False  

In Python, everything after # is ignored by the computer.

True

False

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fix the Error

print("Hello\nWorld)

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fix the Error

print("Welcome to Python)

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?