Python - Iteration (For Loops)
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Marc Hoy
Used 365+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output?
nothing at all
dude
dude, 4 times
dude, 6 times
dude, 3 times
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, what is the "i"
a while loop
a variable
iteration
a loop
random letter
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, what is "range"?
a function
a variable
iteration
a loop
selection
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, what is "for"?
a function
sequence
iteration
a while loop
selection
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, how would the code need to be changed, to print "dude" 10 times?
change the "dude", to a 10
change the 4, to a 10
change the for, to a while
change the 4, to an 11
change the print to an input()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be displayed?
1,2,3,4
2,3,4,5
1,1,1,1
1,2,3
0,1,2,3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be displayed?
Nothing
5, 6, 7, 8, 9
1, 2, 3, 4, 5
1, 1, 1, 1, 1
5, 6, 7, 8, 9, 10
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
15 questions
Quis Grade 5
Quiz
•
9th - 12th Grade
20 questions
Quiz SISKOM (Karakteristik Sistem Memori)
Quiz
•
10th Grade
15 questions
Kuis Sistem Komputer
Quiz
•
10th Grade
20 questions
kuis asj
Quiz
•
9th - 12th Grade
20 questions
EVALUACION 1P GRADO DECIMO 2024
Quiz
•
10th Grade
20 questions
การเขียนโปรแกรม
Quiz
•
10th - 11th Grade
20 questions
Pemrograman Dasar
Quiz
•
10th Grade
20 questions
Latihan Jaringan Dasar PSAS
Quiz
•
10th 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
