
if...else statements
Computers
6th - 8th Grade
Used 570+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is my result?
mickey = mouse .
if mickey == mouse: .
. print("Mickey is a mouse")
.else: .
. print("Minnie rules") .
"Mickey is a mouse"
"Minnie rules"
Nothing prints.
"Mickey is a mouse" & "Minnie rules"
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is my result?
john = 5 .
if john > 6: .
. print("John is getting ice cream")
else: .
. print("John is getting apple juice")
print("John is getting grapes") .
John is getting ice cream
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting ice cream
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is my result?
john = 10 .
if john > 6: .
. print("John is getting ice cream")
else: .
. print("John is getting apple juice")
print("John is getting grapes") .
John is getting ice cream
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting ice cream
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is my result?
john = 5 .
if john > 6: .
. print("John is getting ice cream")
else: .
. print("John is getting apple juice")
. print("John is getting grapes")
John is getting ice cream
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting ice cream
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is my result?
john = 8 .
if john > 6: .
. print("John is getting ice cream")
else: .
. print("John is getting apple juice")
. print("John is getting grapes")
John is getting ice cream
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting ice cream
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is my result?
john = 6 .
if john > 6: .
. print("John is getting ice cream")
else: .
. print("John is getting apple juice")
. print("John is getting grapes")
John is getting ice cream
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting ice cream
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is my result?
john = 6 .
if john != 6: .
. print("John is getting ice cream")
else: .
. print("John is getting apple juice")
. print("John is getting grapes")
John is getting ice cream
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting grapes
John is getting grapes
John is getting apple juice
John is getting ice cream
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?