Selection in Python

Selection in Python

Assessment

Flashcard

Computers

1st - 9th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

14 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which one is a valid example of selection? Options: if , print, x = 1, =

Back

if

2.

FLASHCARD QUESTION

Front

What is else if denoted as in Python?

Back

elif

3.

FLASHCARD QUESTION

Front

Which one is NOT a comparison operator: !=, ==, <=, =?

Back

=

4.

FLASHCARD QUESTION

Front

a = 1
if a != 1:
Is this true or false?

Back

False

5.

FLASHCARD QUESTION

Front

What will this code print? Type and enter your answer

Back

51, 51

6.

FLASHCARD QUESTION

Front

What will this code output when the data you enter is 100? Options: Syntax error, target hit, target missed, Nothing (null)

Back

target missed

7.

FLASHCARD QUESTION

Front

2 == 3

Back

False

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?

Discover more resources for Computers