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
Understanding Digestion and Photosynthesis
Quiz
•
9th Grade - University
20 questions
National science day - 3
Quiz
•
8th Grade
20 questions
Cardiovascular #1
Quiz
•
University
20 questions
Latihan PAT IPA Kelas 9 Tahun 2023
Quiz
•
9th Grade
20 questions
Electricitat i Magnetisme
Quiz
•
12th Grade
20 questions
LEMAK DAN GETAH
Quiz
•
10th - 12th Grade
20 questions
CogNeuro Quiz
Quiz
•
University
20 questions
Quiz sobre las capas de la atmósfera
Quiz
•
3rd Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Science
20 questions
Name That Tune Christmas Edition
Quiz
•
6th - 9th Grade
18 questions
Christmas Science
Quiz
•
6th - 8th Grade
37 questions
8.10B Weather Patterns
Quiz
•
8th Grade
10 questions
Exploring Plate Tectonics and Their Boundaries
Interactive video
•
6th - 10th Grade
22 questions
Amplify - Traits and Reproduction
Quiz
•
8th Grade
15 questions
Snow
Quiz
•
6th - 8th Grade
15 questions
Movie Trivia for Christmas
Quiz
•
6th - 8th Grade
20 questions
Cell Organelles and Functions
Quiz
•
6th - 8th Grade
