
Python Loops Quiz
Authored by Jakobi Gorham
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
El Computador
Quiz
•
5th - 11th Grade
20 questions
Informatika
Quiz
•
10th Grade
17 questions
Traffic Light Project Quiz
Quiz
•
9th Grade
20 questions
Remidi XI TKJ2 UH 2 Teknologi Jaringan WAN
Quiz
•
11th Grade
15 questions
Vocabulary of Computer
Quiz
•
12th Grade
15 questions
Networking Quiz
Quiz
•
8th - 9th Grade
15 questions
Arduino
Quiz
•
7th - 9th Grade
15 questions
Asesmen Sumatif
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade