
Looping Unit Test
Quiz
•
others
•
KG
•
Medium
Tim Collier
Used 2+ times
FREE Resource
Enhance your content
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following loops would print the following numbers.
for i in range(5) :
print(i)
for i in range(1, 5, 1) : print(i)
for i in range(6) :
print(i)
for i in range(0, 5, 1) : print(i)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following for loops would print the following numbers? 3 5 7 9
for i in range(3, 10, 2): print(i)
for i in range(3, 9, 2): print(i)
for i in range(9) :
print(i)
for i in range(3, 9) : print(i)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of num when this loop completes?
2
8
12
20
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following for loops will give the same values for i as the loop below?
for i in range(11, 0):
for i in range(10, 0, -1):
for i in range(0, 10):
for i in range(0, 11, 1):
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Three of the for loops below will provide identical values for i. Which for loop will provide values that do not others?
for i in range(0, 5):
for i in range(5):
for i in range(0, 5, 1):
for i in range(5, 0, 1):
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this program print?
It's still a nice day
It's still a nice day
It's still a nice day
It's still a nice day
It's still a nice day
It's still a nice day
It's still a nice day
It's still a nice day
It's still a nice day
It's still a nice day
It's still a nice day
It's still a nice day
It's still a nice day
It's still a nice day
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following while loops would continue to loop as long as num has values between the range of 3 exclusive?
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
10 questions
CV System and Shock - A Christmas Quiz
Quiz
•
University
13 questions
English plus 2 unit 4
Quiz
•
KG - University
20 questions
PRE TEST BIMTEK RSPP
Quiz
•
KG - University
15 questions
Would you eat gas station sushi???
Quiz
•
KG - University
12 questions
Demokracja i jak w niej uczestniczyć- quiz
Quiz
•
KG - University
17 questions
CHRISTMAS QUIZ STAFF
Quiz
•
KG
13 questions
แบบทดสอบก่อน/หลังเรียน The future of shopping
Quiz
•
KG - University
12 questions
6th Grade STAAR Review Day 12
Quiz
•
6th 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
Discover more resources for others
20 questions
Disney Characters
Quiz
•
KG
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Movie Trivia
Quiz
•
KG - 2nd Grade
20 questions
Logos
Quiz
•
KG
6 questions
Things that can move.
Quiz
•
KG
15 questions
Pronouns
Quiz
•
KG - 3rd Grade
15 questions
The Five Senses
Quiz
•
KG