Search Header Logo

Python if/else

Authored by ALDO STALIN J L

Computers

University

Used 870+ times

Python if/else
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

The result of this program:

Friday = False

if Friday:

print "Jeans day!"

else:

print "Uniform day"

Jeans day

Today is Friday

Uniform day

Not Friday

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

condition

True

Program has a syntax error.

3 > 2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

True

False

condition1

condition2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

more than 7

more than 23

spam

7

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

250.0

200.0

300.0

350.0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

next

stop

next

stop

syntax error - program doesn't work

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the output?

3

3

7

3

5

7

7

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?