Search Header Logo

Python - True or False?

Authored by Michael Jefferson

Computers

7th - 11th Grade

Used 6+ times

Python - True or False?
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

height = 148

if height > 120:

...

True

False

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

height = 118

if height > 120:

...

True

False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

height = 120

if height > 120:

...

True

False

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

message = "Hi"

if message != "hi":

...

True

False

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

message = 'hello'

if message == "hello":

...

True

False

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

points = 12

points += 5

if points >= "15":

...

True

False

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does this if statement evaluate to?

points = 12

points += 5

if points == 17:

...

True

False

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?