Selection in Python

Selection in Python

1st - 9th Grade

15 Qs

quiz-placeholder

Similar activities

HTML and CMS

HTML and CMS

9th Grade

15 Qs

Networking Quiz

Networking Quiz

8th - 9th Grade

15 Qs

Arduino

Arduino

7th - 9th Grade

15 Qs

VPN

VPN

1st - 5th Grade

10 Qs

Lekcja14 7-8

Lekcja14 7-8

7th - 8th Grade

13 Qs

HTML

HTML

8th - 12th Grade

15 Qs

Javascript 2

Javascript 2

1st Grade

13 Qs

TMK Tahun 4 (i)

TMK Tahun 4 (i)

4th Grade

20 Qs

Selection in Python

Selection in Python

Assessment

Quiz

Computers

1st - 9th Grade

Hard

Created by

Tezel Asena

Used 4K+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is a valid example of selection?

if

print

x = 1

=

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is else if denoted as in Python?

elif

elseif

eli

if:

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is NOT a comparison operator

!=

=

==

<=

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = 1

if a != 1:

Is this true or false?

True

False

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Media Image

What will this code print?

Type and enter your answer

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will this code output when the data you enter is 100?

Syntax error

target hit

target missed

Nothing (null)

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Select all the correct logical operators

and

for

or

not

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?