Python Lesson 4 : if-elif-else conditionals

Python Lesson 4 : if-elif-else conditionals

8th Grade

10 Qs

quiz-placeholder

Similar activities

Binary Logic

Binary Logic

8th - 12th Grade

10 Qs

Programming in Java

Programming in Java

8th Grade

10 Qs

Introduction to Python, variables and data types

Introduction to Python, variables and data types

8th Grade

8 Qs

Logic Gates #2

Logic Gates #2

KG - 12th Grade

10 Qs

Computer Architecture : Logic Gates

Computer Architecture : Logic Gates

8th - 10th Grade

15 Qs

If Elif Else

If Elif Else

8th Grade

10 Qs

Boolean Logic

Boolean Logic

8th Grade

10 Qs

Logic Gates

Logic Gates

7th - 11th Grade

15 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 412+ 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?