Search Header Logo

Python Quiz 1

Authored by SR71 Blackmore

Computers

9th - 12th Grade

CCSS covered

Used 25+ times

Python Quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is python named after

The snake
Television show called Monty Python

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the Windows environment in Python that lets you write your programs and then test them out?

Shell

Window

IDLE

CLI

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print function do in python?

It's a variable.
It can input data.
It displays something like a string or integer
It loops the code.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print("Hello world!")

SyntaxError
Hello world!
"Hello world!"
print(Hello world!)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?
print(Hello world!)

Hello world!
SyntaxError
Hello world
print(Hello world!)

Tags

CCSS.L.2.2C

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why will the following code not work:
print("Welcome to my program)

There is a quotation mark missing
print should be in uppercase
There should not be any brackets
print is spelt incorrectly

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?
name = 'Dave'
print (name)

Dave
'Dave'
name
(name)

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?