Python Quiz

Quiz
•
Computers
•
6th - 9th Grade
•
Hard

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
Similar Resources on Wayground
20 questions
Year 7 Lent

Quiz
•
7th Grade
19 questions
Python Year 9 Quiz

Quiz
•
8th - 10th Grade
20 questions
End of year quiz: Python

Quiz
•
9th Grade
20 questions
GCSE Computer Science: Programming (Data Structures)

Quiz
•
9th - 10th Grade
20 questions
Grade 7 Python Programming Quiz

Quiz
•
7th Grade - University
25 questions
Python Class 9

Quiz
•
9th - 10th Grade
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
20 questions
Basic Python Quiz for Beginners

Quiz
•
3rd - 6th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
13 questions
Primary and Secondary Sources

Quiz
•
6th Grade