Search Header Logo

Python- if -ifelse-elif

Authored by ROHINI KALGHATGI

Computers

9th - 12th Grade

Used 174+ times

Python- if -ifelse-elif
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What part of an if statement should be indented?

All of it

The statements within it

the first line

the lines within the brackets

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is the output?

condition

True

Program has a syntax error.

3 > 2

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is the output?

True

False

condition1

condition2

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is the output?

more than 7

more than 23

spam

7

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is the output?

250.0

200.0

300.0

350.0

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is the output?

next

stop

next

stop

syntax error - program doesn't work

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?