Python If Else Statements

Python If Else Statements

9th - 12th Grade

24 Qs

quiz-placeholder

Similar activities

Programming Techniques

Programming Techniques

8th - 10th Grade

30 Qs

UH-PWPB

UH-PWPB

12th Grade

25 Qs

III 3rdQ Quiz 1

III 3rdQ Quiz 1

12th Grade

25 Qs

Computer Spec - 10X4

Computer Spec - 10X4

9th - 11th Grade

25 Qs

Ôn tập học kì 1 tin 11

Ôn tập học kì 1 tin 11

11th Grade

25 Qs

Sistem Komputer

Sistem Komputer

10th Grade

23 Qs

i servizi: dhcp  e nat

i servizi: dhcp e nat

12th Grade

24 Qs

ETech Quiz reviewer week 1

ETech Quiz reviewer week 1

11th Grade

24 Qs

Python If Else Statements

Python If Else Statements

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Forrest Ingram-Johnson

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

if
else
for
input

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which statement will check to see if a is equal to b?

if a == b
if a = b:
if a != b:
if a == b:

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output?

more than 7

more than 23

spam

7

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol means "not equal to"?

==

<=

>=

!=

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which character must be at the end of the line for if?

:

;

.

{

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the = = symbol mean in Python?

Equal to or shows equality

Not Equal

Code that will be skipped

End of clause

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be displayed at the end of the program?

Case 1

Case 2

Nothing will be displayed.

Case 1 and Case 2

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?