Search Header Logo

Level 3 - Python Quiz 1

Authored by Samuel Markham

Computers

9th - 12th Grade

Used 2+ times

Level 3 - Python Quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of an int type in Python?

5
3.14
True
hello

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of a str type in Python?

hello world
3.14
True
12345

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of a Boolean in Python?

TRUE or FALSE

1 or 0
True or False

true or flase

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the built in Python function to allow a user input in Python?

get_input()
user_input()
input()
read_input()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default data type for a user input in Python?

integer
string
boolean
float

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the operator to check if two values are equal?

!=
>
<
==

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would this code output in Python?
var = 2

print(var == 2)

True
Error
False
None

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?