Search Header Logo

Python lesson quiz

Authored by bailey shelton

Computers

University

Used 1+ times

Python lesson quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is used to print stuff out to the screen?

print()

log()

show()

output()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the length of the list ['Tom', 'luis', 'bob', 'alice']

2

3

4

1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


What is the output?

name = "Bob"
print(name)

"name"

name

"Bob"

Bob

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we do if we don't know how to solve a problem?

Give up

Google it

Keep going without fixing it

Not solve it

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop is this?
for num in numbers:
do something

while loop

num loop

for loop

do loop

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is statically typed not dynamically typed T/F

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an algorithm?

Instructions to do something

Fancy word for nonsense

Game design

Not math

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?

Discover more resources for Computers