
Python Loops Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Jakobi Gorham
Used 3+ times
FREE Resource
Enhance your content in a minute
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this code print?
A
B
C
A
C
A
A
B
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this code print?
A
B
C
A
A
C
B
C
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the code print?
B
C
A
C
B
A
C
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the code print?
10
7
4
1
Done
10
9
8
7
6
5
4
3
2
1
Done
Done
10
7
4
1
-2
-5
... and more, running infinitely.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In programming, what is iteration/looping?
The repetition of steps within a program
The order in which instructions are carried out
A decision point in a program
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is iteration important?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
numbers = [5, 14, 9, 17]
for number in numbers:
if number % 3 == 0:
print(number)
The output will be?
17
9
14
9
17
14
17
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
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
