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
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.
ELIF Statements
This statement checks for a given condition, if the condition is true, then the action will be performed otherwise not.
Else Statment
These statements are used to check multiple conditions only if the given condition is false.
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
14 questions
Python Basic Unit 1

Quiz
•
7th - 8th Grade
10 questions
Input Devices

Quiz
•
1st - 10th Grade
10 questions
AQA GCSE Computer Science - 3.6.1.1 Pharming & Shouldering

Quiz
•
8th - 10th Grade
10 questions
Intro to Python

Quiz
•
8th Grade
14 questions
Python L1

Quiz
•
8th Grade - University
15 questions
S3 Databases Knowledge Check

Quiz
•
2nd - 9th Grade
10 questions
linux user and group dfn30053

Quiz
•
1st Grade - University
10 questions
Client/Server side

Quiz
•
7th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review

Quiz
•
8th Grade
18 questions
Informational Text Vocabulary

Quiz
•
7th - 8th Grade