Python - Conditional Statements

Python - Conditional Statements

Assessment

Flashcard

Computers

9th - 11th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

23 questions

Show all answers

1.

FLASHCARD QUESTION

Front

‘If’ is a decision making statement.

Back

TRUE

2.

FLASHCARD QUESTION

Front

The second part of if, that is executed when the condition is false

Back

else

3.

FLASHCARD QUESTION

Front

What is the output? Options: more than 7, more than 23, spam, 7

Media Image

Back

more than 7

4.

FLASHCARD QUESTION

Front

Which symbol means "not equal to"? Options: ==, <=, >=, !=

Back

!=

5.

FLASHCARD QUESTION

Front

What do you use after an if statement to test more than one condition (chained condition)?

Back

elif

6.

FLASHCARD QUESTION

Front

Which character must be at the end of the line for if? Options: :, ;, ., {

Back

:

7.

FLASHCARD QUESTION

Front

What symbol do you use to make a comment in Python? Options: @, ¬, ;, #

Back

#

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?