
CMU Python 4.1 If Statements
Authored by Brenda Larson
Computers
9th - 12th Grade
Used 32+ 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.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If the mouseX is clicked at 300, what color is the chameleon?
blueViolet
gradient('blueViolet', 'limeGreen')
limeGreen
rainbow
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What statement will go into the label?
John is getting ice cream
John is getting apple juice
John is getting baby formula
John is getting nothing
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What statement will go into the label?
John is getting ice cream
John is getting apple juice
John is getting baby formula
John is getting nothing
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The ‘else’ statement is optional in Python
TRUE
FALSE
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
There can be an else statement without an if statement
TRUE
FALSE
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How many "else" statements can you pair with a single "if" statement
1
<10
<20
As many as is needed.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these is used in Python to add a third, fourth, etc outcome to a scenario?
elif
else if
iff
elsa
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?