Python Week 3 Homework - Conditional Statements

Python Week 3 Homework - Conditional Statements

8th Grade

11 Qs

quiz-placeholder

Similar activities

Form Edublocks

Form Edublocks

4th Grade - University

15 Qs

CyberSafety Pre-Assessment

CyberSafety Pre-Assessment

KG - University

16 Qs

Year 9 Python Programming Quiz

Year 9 Python Programming Quiz

8th Grade

16 Qs

Gmail Login

Gmail Login

KG - 12th Grade

10 Qs

Get My Result

Get My Result

2nd - 8th Grade

13 Qs

Programming concepts: Revision

Programming concepts: Revision

4th - 9th Grade

15 Qs

ICT

ICT

6th - 10th Grade

15 Qs

App Development - Thunkable

App Development - Thunkable

8th Grade

9 Qs

Python Week 3 Homework - Conditional Statements

Python Week 3 Homework - Conditional Statements

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Bayden Schellein

Used 11+ times

FREE Resource

11 questions

Show all answers

1.

MATCH QUESTION

1 min • 1 pt

Match the following

ELIF Statements

If the condition is true then the action right after the condition is performed. And if the condition is false then another action is performed.

Else Statment

This statement checks for a given condition, if the condition is true, then the action will be performed otherwise not.

If Statement

These statements are used to check multiple conditions only if the given condition is false.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image
The statement A OR B implies that A and B are:
Booleans
Integers
Strings
Constants

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This program converts a binary number to its decimal equivalent. Locate the line of code that contains a condition (a logical expression)

1

4

5

8

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which ARE not allowed for variables naming? (Choose 2!)

Lowercase

Uppercase

Starts with numbers

Have space in between

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What Python command is used to mean "all other conditions"?

if

else

for

input

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of this condition?

You have blue eyes

blue

green

You do not have Blue eyes

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is NOT a data type in Python?

integer

boolean

Word

float

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?