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
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
This statement checks for a given condition, if the condition is true, then the action will be performed otherwise not.
If Statement
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 Wayground
15 questions
ICT

Quiz
•
6th - 10th Grade
9 questions
App Development - Thunkable

Quiz
•
8th Grade
15 questions
Form Edublocks

Quiz
•
4th Grade - University
16 questions
CyberSafety Pre-Assessment

Quiz
•
KG - University
16 questions
Year 9 Python Programming Quiz

Quiz
•
8th Grade
10 questions
Gmail Login

Quiz
•
KG - 12th Grade
13 questions
Scratch

Quiz
•
8th Grade
10 questions
Computer Software

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade