Search Header Logo

Python Knowledge Check

Authored by J Hamilton

Computers

9th - 12th Grade

30 Questions

Used 4+ times

Python Knowledge Check
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In computing, what is Python?

A network

A programming language

A processor

A web browser

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is used in Python to output text to the screen?

input()

output()

print()

say()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command waits for the user to type something in?

wait()

get()

receive()

input()

4.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

If you want to store the user's response, you need to assign it to a...

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you assign a user's response to a variable?

name = input("What is your name?")

name = print("What is your name?")

name == ask("What is your name?")

input("What is your name?") = name

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you output some text with a variable called name?

print("Your name is name")

print("Your name is", name)

output("Your name is", name)

print(Your name is, "name")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What's wrong with this code?

input(What's your name?)

Input should not be used to ask questions

You can't use capitals in an input statement

There are no quotation marks in the prompt

You should use square brackets instead

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?