Python -- if/else

Python -- if/else

Assessment

Flashcard

Computers

9th - 12th Grade

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

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

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

Back

Case 2

7.

FLASHCARD QUESTION

Front

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

Back

You can ride the carousel!

Create a free account and access millions of resources

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

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

Already have an account?