Python (Week 7)

Python (Week 7)

9th Grade

30 Qs

quiz-placeholder

Similar activities

Beginner Python KS3 Revision

Beginner Python KS3 Revision

8th - 10th Grade

26 Qs

Java - Flow of Control Quiz

Java - Flow of Control Quiz

9th - 12th Grade

26 Qs

CSP Python Review

CSP Python Review

9th - 12th Grade

25 Qs

Python new

Python new

3rd Grade - University

26 Qs

[AP CSP] Programming with Conditionals [If, Elif, Else]

[AP CSP] Programming with Conditionals [If, Elif, Else]

9th Grade - University

35 Qs

Intro to CS Unit 3 Review

Intro to CS Unit 3 Review

9th - 12th Grade

25 Qs

Introduction to Programming

Introduction to Programming

9th - 12th Grade

25 Qs

Understanding Input, Selection and Loops in Python

Understanding Input, Selection and Loops in Python

7th Grade - University

25 Qs

Python (Week 7)

Python (Week 7)

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Learn ICT

Used 3+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The second part of if, that is executed when the condition is false

if

else

for

input

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which statement will check to see if a is equal to b?

if a == b

if a = b:

if a != b:

if a == b:

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output?

more than 7

more than 23

spam

7

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output?

True

False

condition1

condition2

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be displayed at the end of the program?

Nothing will be displayed.

Case 1 and Case 2

Case 1

Case 2

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

This operator means that one value is the same as the other value

==

!=

>

<

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

I am 71 years old! What will the output be?: IF you are 70 or older, say “You are aged to perfection!” ELIF you are exactly 50, say “Wow, you are half a century old!” ELSE say “You are a spring chicken!”

“You are aged to perfection!”

"Wow, you are half a century old!"

"You are a spring chicken!"

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?