Python Quiz for Grade 8
Quiz
•
Science
•
8th Grade
•
Practice Problem
•
Hard
Levy Roni.Aharon
FREE Resource
Enhance your content in a minute
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
st = "Python"
print(st[2])
P
y
t
h
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does len('Hello World') return?
10
11
12
9
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of
print ("Hello" + " World")?
Hello World
HelloWorld
Error
Hello
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will this loop run?
for i in range(3):
print(i)
2
3
4
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of:
for i in range(2, 5):
print(i)
2, 3, 4
2, 3, 4, 5
3, 4, 5
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does range(5, 10, 2) produce?
5, 6, 7, 8, 9
5, 7, 9
6, 8, 10
5, 10
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following function?
def greet():
print('Hello')
greet()
Hello
Error
None
greet
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
21 questions
Biology Exam Review 5
Quiz
•
9th - 12th Grade
20 questions
BIOLOGY 101
Quiz
•
8th Grade
20 questions
Tes Sumatif Zat dan Perubahannya
Quiz
•
10th Grade - University
21 questions
Ekonomi Teknik
Quiz
•
University
20 questions
Acids and Bases in Everyday Life
Quiz
•
9th - 12th Grade
20 questions
Cell Organelles
Quiz
•
8th - 10th Grade
19 questions
Repàs SA2 (2a i 3a part)
Quiz
•
12th Grade
20 questions
KEMAGNETAN
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Science
33 questions
Grade 6 Quarter 3 PMA 5 Review
Quiz
•
6th - 8th Grade
85 questions
Midpoint D1 Review
Quiz
•
8th Grade
12 questions
Newton's Laws of Motion
Lesson
•
6th - 8th Grade
10 questions
Exploring the Rock Cycle: Types and Formation
Interactive video
•
6th - 8th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade
20 questions
Pure Substances & Mixtures
Quiz
•
8th Grade
28 questions
Genes and Heredity
Lesson
•
8th Grade
24 questions
Subatomic Particles
Quiz
•
8th Grade
