Python Lesson 4 : if-elif-else conditionals

Python Lesson 4 : if-elif-else conditionals

8th Grade

10 Qs

quiz-placeholder

Similar activities

Logic Gates

Logic Gates

7th - 11th Grade

15 Qs

10.4 Python Lists

10.4 Python Lists

7th - 10th Grade

14 Qs

Binary Logic

Binary Logic

8th - 12th Grade

10 Qs

KS3 GCSE Computer Science (Programming / Python)

KS3 GCSE Computer Science (Programming / Python)

7th - 11th Grade

10 Qs

Logic Gates #2

Logic Gates #2

KG - 12th Grade

10 Qs

Logic Gates

Logic Gates

8th - 10th Grade

11 Qs

Boolean Logic

Boolean Logic

8th Grade

10 Qs

Python strings

Python strings

8th - 9th Grade

11 Qs

Python Lesson 4 : if-elif-else conditionals

Python Lesson 4 : if-elif-else conditionals

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Michelle Lim

Used 415+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What part of an if statement should be indented?

All of it

The statements within it

the first line

the lines within the brackets

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

condition

True

Program has a syntax error.

3 > 2

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output?

True

False

condition1

condition2

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output?

more than 7

more than 23

spam

7

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output?

250.0

200.0

300.0

350.0

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output?

next

stop

next

stop

syntax error - program doesn't work

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output?

3

3

7

3

5

7

7

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?