
CSP Python For Loops
Quiz
•
Computers, Education
•
•
Practice Problem
•
Medium
Emre Korkmaz
Used 4+ times
FREE Resource
Enhance your content in a minute
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
FOR loops are
loops which run an unknown number of times
loops which run for a specific number of times
the same as if statements
not part of programming
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What value is stored in the "total" variable after the following code runs?
total = 0
for i in range(1,4):
total = total + i
0
6
7
5
3.
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
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, what is the "i"
a while loop
a variable
iteration
a loop
random letter
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, what is "range"?
a function
a variable
iteration
a loop
selection
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code, what is "for"?
a function
sequence
iteration
a while loop
selection
7.
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()
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
25 questions
ICT - HTML
Quiz
•
6th - 7th Grade
24 questions
Скреч
Quiz
•
5th - 7th Grade
21 questions
Chapter 4-Java Selection & Loops
Quiz
•
University
21 questions
TEST 12
Quiz
•
1st - 5th Grade
23 questions
Revision grade 11 term 3
Quiz
•
11th Grade
22 questions
Functions in RobotC
Quiz
•
7th - 11th Grade
23 questions
Thunkable
Quiz
•
1st Grade - University
23 questions
HS 185 Dancing on Horseback
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
