8_3 Python If Statements

8_3 Python If Statements

7th - 10th Grade

19 Qs

quiz-placeholder

Similar activities

COSC 1 Final

COSC 1 Final

9th - 10th Grade

15 Qs

Python Revision

Python Revision

7th - 9th Grade

14 Qs

Python

Python

6th - 8th Grade

16 Qs

Python grade 8

Python grade 8

8th Grade

20 Qs

Lessons11 - 15 CSA

Lessons11 - 15 CSA

10th - 12th Grade

19 Qs

Python Lists v2

Python Lists v2

9th - 12th Grade

15 Qs

Procedures and Functions

Procedures and Functions

10th Grade

20 Qs

Python list, if

Python list, if

6th - 12th Grade

20 Qs

8_3 Python If Statements

8_3 Python If Statements

Assessment

Quiz

Computers

7th - 10th Grade

Hard

Created by

SMA Computing

Used 16+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This operator means that one value is the same as the other value
==
!=
>
<

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The result of this program:

Friday = False

if Friday:

print "Jeans day!"

else:

print "Uniform day"

Jeans day

Error

Uniform day

Not Friday

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which is correct?

A

B

4.

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"

5.

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

6.

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This operator means that one value is the same as the other value
==
!=
>
<

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?