Python Quiz for Grade 8
Quiz
•
Science
•
8th Grade
•
Practice Problem
•
Hard
Levy Roni.Aharon
FREE Resource
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
3rd PT REVIEW in Science 6
Quiz
•
6th Grade - University
19 questions
IB BIO RECAP
Quiz
•
12th Grade
20 questions
Respiratory System Quiz
Quiz
•
11th Grade
20 questions
არდუინოს შესავალი.N1
Quiz
•
9th Grade - University
20 questions
CHOPPER 3
Quiz
•
University
20 questions
[Q1 BWJ20203] Prokaryotic vs Eukaryotic cell
Quiz
•
University
20 questions
Bab 1: Rangsangan dan Gerak Balas
Quiz
•
9th Grade
20 questions
Ecosystem dynamic
Quiz
•
11th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Science
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
22 questions
Newton's Laws of Motion
Lesson
•
8th Grade
12 questions
Phases of Matter
Quiz
•
8th Grade
20 questions
Distance Time Graphs
Quiz
•
6th - 8th Grade
21 questions
Balanced and Unbalanced Forces
Quiz
•
8th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
12 questions
Speed, Velocity, and Acceleration
Lesson
•
6th - 8th Grade
19 questions
Forces and Motion
Lesson
•
6th - 8th Grade