
Mastering Python Loops
Authored by Harmeet Kaur
Computers
11th Grade
25 Questions
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output?
6
3
2
0
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does this print?
1, 4, 7,
1, 2, 3,
3, 6, 9,
1, 3, 5, 7, 9,
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following results in an infinite loop?
for i in range(10):
for i in [1, 2, 3]:
for i in iter(int, 1):
for i in range(5, 1):
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does this code output?
1-3-5-
1-3-
0-2-4-
0-1-2-3-4-
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output?
3 4 5 6 7
3 4 5 6
3 4 5
3 4 5 6 7 8
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does this code print?
l o o p
ll oo oo pp
looploop
loopp
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which is equivalent to for i in range(len(arr)):?
for i in arr:
for i in range(arr):
for i in enumerate(arr):
for i in arr.items():
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
PSTS INFORMATIKA X
Quiz
•
10th Grade - University
20 questions
Sains Komputer Tingkatan 5 - 1.3.1 Menerangkan get logik
Quiz
•
1st Grade - Professio...
21 questions
Google : ¡A trabajar!
Quiz
•
10th - 11th Grade
20 questions
2324tx6
Quiz
•
9th - 12th Grade
20 questions
QUIZ BAB 4: SISTEM OPERASI
Quiz
•
8th Grade - University
20 questions
KELAS 7 1
Quiz
•
9th - 12th Grade
20 questions
Network topologies
Quiz
•
8th Grade - University
20 questions
Visualisasi data
Quiz
•
8th Grade - University
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
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University