Search Header Logo

Python basics

Authored by Savannah Graziano

Computers

6th - 8th Grade

Used 1K+ times

Python basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

print cannot have a capital

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To output hello world! which would be the correct python line of code

output("Hello World!)

Print("Hello World!)

print("hello world!)

print("hello world")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the variable in the code shown

variable

Name

print

name

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Pick a syntax error in the code

Capital P for print

Missing brackets

Missing comma

Missing speech marks

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code if raining was entered

Take a brolly!

Have a great day

The code would not run

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code if Raining was entered

Take a brolly!

Have a great day

The code would not run

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code if sunny was entered

Take a brolly!

Have a great day

The code would not run

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?