Python If Else Statements

Python If Else Statements

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

UNIT 1.8 ELCE

UNIT 1.8 ELCE

10th Grade

14 Qs

แบบทดสอบบทที่ 1 เรื่อง ข้อมูลมีคุณค่า ม.5

แบบทดสอบบทที่ 1 เรื่อง ข้อมูลมีคุณค่า ม.5

10th Grade

20 Qs

Access - Lesson 14

Access - Lesson 14

9th - 12th Grade

10 Qs

ICT 10 : Introduction to Adobe Illustrator(CS5)

ICT 10 : Introduction to Adobe Illustrator(CS5)

10th Grade

10 Qs

Computer Science - X

Computer Science - X

8th - 10th Grade

20 Qs

Administrasi Infrastruktur Jaringan 1

Administrasi Infrastruktur Jaringan 1

11th Grade

20 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

CCEA Digital Technology Chapter 14 Multimedia Applications

CCEA Digital Technology Chapter 14 Multimedia Applications

11th Grade

20 Qs

Python If Else Statements

Python If Else Statements

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Alicia Marsh

Used 371+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

if
else
for
input

2.

MULTIPLE CHOICE QUESTION

30 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

2 mins • 1 pt

Media Image

What is the output?

more than 7

more than 23

spam

7

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pieces of code that only run "under certain conditions":

conditional statements

control flow statments

syntax

variables

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol means "not equal to"?

==

<=

>=

!=

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

:

;

.

{

7.

MULTIPLE CHOICE QUESTION

30 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

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?