
Python Week 3 Homework - Conditional Statements
Authored by Bayden Schellein
Computers
8th Grade
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MATCH QUESTION
1 min • 1 pt
If Statement
This statement checks for a given condition, if the condition is true, then the action will be performed otherwise not.
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
These statements are used to check multiple conditions only if the given condition is false.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The statement A OR B implies that A and B are:
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?