if...else statements

if...else statements

6th - 8th Grade

8 Qs

quiz-placeholder

Similar activities

If-Else in Java

If-Else in Java

8th Grade

10 Qs

Lists IN PYTHON!!!!!!!!

Lists IN PYTHON!!!!!!!!

KG - 12th Grade

12 Qs

User Input in Python

User Input in Python

8th Grade

8 Qs

Python

Python

8th Grade

11 Qs

INTRODUCTION TO PHOTO EDITING / PHOTOSHOP

INTRODUCTION TO PHOTO EDITING / PHOTOSHOP

7th - 8th Grade

10 Qs

Python Data Structures

Python Data Structures

8th - 12th Grade

10 Qs

Python Basics Quiz

Python Basics Quiz

7th Grade - University

10 Qs

If Else Statement

If Else Statement

6th - 8th Grade

8 Qs

if...else statements

if...else statements

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Used 552+ times

FREE Resource

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 apple juice
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 apple juice
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 apple juice
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 apple juice
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 apple juice
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 apple juice
John is getting grapes
John is getting apple juice
John is getting ice cream

8.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is my result?
john = 3                                                                        .
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 apple juice
John is getting grapes
John is getting apple juice
John is getting ice cream