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
These statements are used to check multiple conditions only if the given condition is false.
Else Statment
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.
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
15 questions
Y8 Lent Python

Quiz
•
8th Grade
12 questions
Networking Concepts

Quiz
•
8th Grade
10 questions
Python Inputs

Quiz
•
7th - 8th Grade
14 questions
Python - True or False?

Quiz
•
7th - 11th Grade
10 questions
Programming Fundamentals Recap

Quiz
•
8th Grade
15 questions
ECDL/ICDL Computer Essentials

Quiz
•
KG - Professional Dev...
15 questions
untitled

Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade