
24-25 G8 3rd assessment review
Quiz
•
Computers
•
8th Grade
•
Easy
HoangViet Phannguyen
Used 176+ times
FREE Resource
Enhance your content
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a Python "for" loop?
repeats a code block
check the condition
Prints a message
get user's input
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a Python "while" loop?
repeats a code block indefinitely if a condition is met
Repeats a block of code for a specific time
check and run code based on a true or false condition
get user's input
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, how do you begin a "for" loop?
for (x = 5):
for x = 5:
for "x = 5"
for x = 5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the range() function in a "for" loop?
to check for errors
to end the loop when it meet a condition
to repeat code a specific number of time
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To print numbers from 1 to 5, how do you write a for loop?
for i in range(1,5):
for i in range(5):
for i in range(1 - 5):
for i in range[1,5]:
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the output of the following loop?
0,1,2,3
4
1,2,3,4
i
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the output of the following loop?
5
1,4
6
total
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
35 questions
Python definite iteration
Quiz
•
8th Grade
29 questions
Python Y10
Quiz
•
4th - 12th Grade
30 questions
CODERZ- SPIKE PRIME QUIZ
Quiz
•
6th - 8th Grade
25 questions
Introduction to Python
Quiz
•
KG - University
25 questions
NEW Coding 2 Performance Final
Quiz
•
6th - 8th Grade
25 questions
Python
Quiz
•
6th - 8th Grade
34 questions
Python Unit 4 - Loops & Error Handling
Quiz
•
6th - 9th Grade
30 questions
Programming Techniques
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade