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

Quiz
•
8th Grade
10 questions
L2 Selection in Programming

Quiz
•
8th Grade
12 questions
Networking Concepts

Quiz
•
8th Grade
9 questions
Python КБ

Quiz
•
8th Grade
15 questions
Linux-2 Quiz 2 -- LAMP

Quiz
•
1st - 12th Grade
12 questions
Coding Vocabulary Words

Quiz
•
8th Grade
12 questions
N5 SDD - Python input and output

Quiz
•
7th - 11th Grade
10 questions
Python Inputs

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade