Python If Else Statements

Python If Else Statements

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

MEDIA AND INFORMATION LITERACY

MEDIA AND INFORMATION LITERACY

12th Grade

10 Qs

Threats to Data

Threats to Data

9th - 12th Grade

11 Qs

HEALTH AND SAFETY 9

HEALTH AND SAFETY 9

7th - 9th Grade

11 Qs

1.1.1 The structure and function of the processor

1.1.1 The structure and function of the processor

11th Grade - University

15 Qs

Chapter 7: System life cycle

Chapter 7: System life cycle

9th - 11th Grade

15 Qs

IT- Revision

IT- Revision

9th Grade

10 Qs

SQL Revision for Year 12

SQL Revision for Year 12

11th - 12th Grade

20 Qs

Module 11 - Essential Peripherals 4

Module 11 - Essential Peripherals 4

9th - 12th Grade

18 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?