Python Week 3 Homework - Conditional Statements

Quiz
•
Computers
•
8th Grade
•
Medium

Bayden Schellein
Used 11+ times
FREE Resource
11 questions
Show all answers
1.
MATCH QUESTION
1 min • 1 pt
Else Statment
This statement checks for a given condition, if the condition is true, then the action will be performed otherwise not.
ELIF Statements
These statements are used to check multiple conditions only if the given condition is false.
If Statement
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.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
Similar Resources on Quizizz
10 questions
Python Programming

Quiz
•
7th - 9th Grade
8 questions
User Input in Python

Quiz
•
8th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
16 questions
Year 9 Python Programming Quiz

Quiz
•
8th Grade
10 questions
Intro to Python

Quiz
•
8th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
10 questions
CyberSecurity Basics

Quiz
•
6th - 12th Grade
15 questions
algorithm and flow charts chapter 7

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade