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
Create a free account and access millions of resources
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
20 questions
UH BAB Kemagnetan
Quiz
•
9th Grade
20 questions
EL MÓN EN L'EDAT ANTIGA
Quiz
•
4th Grade - University
20 questions
Enviro Quizizz 2021
Quiz
•
University
20 questions
Tabla periódica de los elementos
Quiz
•
8th Grade
20 questions
ÔN TẬP CÂU LỆNH LẶP FOR VÀ WHILE
Quiz
•
10th Grade
19 questions
Level 3: Earth's Atmosphere
Quiz
•
7th Grade - University
20 questions
G12 BIOLOGY REVISION
Quiz
•
11th - 12th Grade
24 questions
Seasons Review
Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Science
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
20 questions
Balanced and Unbalanced Forces
Quiz
•
6th - 8th Grade
20 questions
Galaxies
Quiz
•
8th Grade
22 questions
Plate Tectonics
Lesson
•
6th - 8th Grade
9 questions
Conduction, Convection, and Radiation
Lesson
•
6th - 8th Grade
20 questions
Life Cycle of a Star
Quiz
•
8th Grade
22 questions
Newton's Laws of Motion
Lesson
•
8th Grade
