Python IF Statements

Python IF Statements

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Google Sheets Functions

Google Sheets Functions

9th - 12th Grade

15 Qs

CodeHS Concepts of Programming JavaScript

CodeHS Concepts of Programming JavaScript

9th - 12th Grade

15 Qs

Reversing Arrays

Reversing Arrays

9th - 12th Grade

5 Qs

If Statements

If Statements

9th - 12th Grade

8 Qs

Windows Form Application

Windows Form Application

6th Grade - University

9 Qs

C++ References

C++ References

6th - 12th Grade

12 Qs

Web 1 Certification Prep 2 Quiz

Web 1 Certification Prep 2 Quiz

7th - 12th Grade

13 Qs

Python End of Topic Quiz

Python End of Topic Quiz

8th Grade - University

15 Qs

Python IF Statements

Python IF Statements

Assessment

Quiz

Computers, Education

9th - 12th Grade

Hard

Created by

Carol Luce

Used 224+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Any statements inside an IF clause (section) can be executed multiple times.

FALSE

TRUE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is possible to execute both the (block of) statements under if and the else clauses at the same time.

Yes

No

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

True

False

condition1

condition2

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Given the nested if-else below, what will be the value x when the code is executed successfully.

0

4

2

3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This operator checks to see if one value is the same as the other value

==

!=

>

<

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would be outputted here?

Bigger than 2!

Number is 5

Bigger than 2!

Number is 5

Nothing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would be outputted here?

it divides by 7!

it divides by 3!

It divides by 7.

It divides by 3.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?