Python Quiz

Python Quiz

6th - 9th Grade

23 Qs

quiz-placeholder

Similar activities

Python basics

Python basics

7th - 10th Grade

18 Qs

Python basics yr7

Python basics yr7

6th - 9th Grade

20 Qs

Python - Conditional Statements

Python - Conditional Statements

9th - 11th Grade

23 Qs

Python for Absolute Beginners

Python for Absolute Beginners

8th - 12th Grade

25 Qs

Python Year 9 Quiz

Python Year 9 Quiz

8th - 10th Grade

19 Qs

End of year quiz: Python

End of year quiz: Python

9th Grade

20 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Python

Python

8th Grade

20 Qs

Python Quiz

Python Quiz

Assessment

Quiz

Computers

6th - 9th Grade

Hard

Created by

Rafael Diolatzis

Used 58+ times

FREE Resource

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What will the output of the following code be?

for i in ["A", "b", "3"]:

print(i)

Error

"A"

"b"

"3"

A, b, 3

A

b

3

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the output of the code below?

x = 5

if x == 0:

print("x is 0")

elif x > 1:

print("x is greater than 1")

elif x > 3:

print("x is greater than 3")

x is 0

x is greater than 1

x is greater than 3

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

for a in range(3):

print(a)

1

2

3

0

1

2

1 2 3

Error

4.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Which of the following is a python module?

Tkinter

Panda

SuperTyper

TensorFlow

Kivy

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the value of b?

a = 0

b = a

a = 3

0

3

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the output?

print(4**4)

4

16

356

256

Error

7.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Which of the following commands exists?

.upper()

.casefold()

.destroy()

.TextChar

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?