Python - Iteration (For Loops)
Quiz
•
Computers
•
10th Grade
•
Hard
Marc Hoy
Used 303+ times
FREE Resource
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
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
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
15 questions
Входной тест по информатике_1 курс
Quiz
•
9th - 10th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
16 questions
Translators and facilities of languages
Quiz
•
10th - 11th Grade
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
15 questions
tpr2_u0_initial test
Quiz
•
10th Grade
20 questions
Latihan PSAS Kelas 9
Quiz
•
9th Grade - University
20 questions
Utility Software
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
