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
20 questions
L.2.1
Quiz
•
8th Grade
20 questions
Understanding Your Brain
Quiz
•
11th Grade - University
21 questions
Levels of Organism
Quiz
•
7th - 8th Grade
21 questions
Levels of Organization
Quiz
•
7th - 8th Grade
21 questions
PBS 3.2.1-3.2.3
Quiz
•
9th - 12th Grade
21 questions
Levels of Organization
Quiz
•
7th - 8th Grade
21 questions
9.1 Quiz: rotation and revolution
Quiz
•
8th - 11th Grade
20 questions
S2A Science2 Eval 5
Quiz
•
8th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Science
12 questions
Newton's Laws of Motion
Lesson
•
6th - 8th Grade
20 questions
Elements, Compounds and Mixtures
Quiz
•
8th Grade
10 questions
Exploring Earth's Seasons and Their Causes
Interactive video
•
6th - 8th Grade
20 questions
Natural Selection and Adaptations
Quiz
•
6th - 8th Grade
10 questions
Exploring Plate Tectonics and Their Boundaries
Interactive video
•
6th - 10th Grade
18 questions
Carbon Cycle
Quiz
•
8th Grade
11 questions
Rock Cycle
Lesson
•
6th - 8th Grade
15 questions
Plate Tectonics STAAR Review Comprehension Quiz
Quiz
•
8th Grade
