Python Basic Flashcard 4 (Conditional Statements (if, elif, else))

Python Basic Flashcard 4 (Conditional Statements (if, elif, else))

Assessment

Flashcard

Other

6th - 8th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

Back

else

2.

FLASHCARD QUESTION

Front

What will the lines of code print? Options: A, B C, A B C, A C

Media Image

Back

A

3.

FLASHCARD QUESTION

Front

What will the following lines of code print? Options: A, B C, A C, Nothing, it will return an error.

Media Image

Back

A C

4.

FLASHCARD QUESTION

Front

Which statement will check to see if a is equal to b? Options: if a == b, if a = b:, if a != b:, if a == b:

Back

if a == b

5.

FLASHCARD QUESTION

Front

Pieces of code that only run "under certain conditions":

Back

conditional statements

6.

FLASHCARD QUESTION

Front

If you want to test more than one condition (chained condition), what do you use after if statement?

Back

elif

7.

FLASHCARD QUESTION

Front

‘If’ is a decision making statement

Back

TRUE

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?