Python -- if/else

Python -- if/else

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

13 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

Back

:

2.

FLASHCARD QUESTION

Front

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

Back

!=.

3.

FLASHCARD QUESTION

Front

What does the == symbol mean in Python?

Back

Equal to or shows equality

4.

FLASHCARD QUESTION

Front

Based on the code shown in the accompanying image, what is the console output? Options: True, False, condition1, condition2

Media Image

Back

True

5.

FLASHCARD QUESTION

Front

Based on the code shown in the accompanying image, what is the console output? Options: Case 1, Case 2, Nothing will be displayed., Case 1 and Case 2

Media Image

Back

Case 1

6.

FLASHCARD QUESTION

Front

Based on the code shown in the accompanying image, what is the console output? Options: Case 1, Case 2, Nothing will be displayed, Case 1 and Case 2

Media Image

Back

Case 2

7.

FLASHCARD QUESTION

Front

Based on the code shown in the accompanying image, what is the console output?

Media Image

Back

You can ride the carousel!

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?