
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()
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
Already have an account?
Similar Resources on Wayground
22 questions
QUIZ PART 2
Quiz
•
University
21 questions
excel
Quiz
•
1st - 3rd Grade
21 questions
Java Quiz on Module 1 & 2
Quiz
•
Professional Development
21 questions
CSC 103
Quiz
•
University
24 questions
FUN LEARNING CHAPTER 5 & 8
Quiz
•
University
24 questions
Ulangan Harian 1
Quiz
•
7th Grade
25 questions
latihan soal informatika SMALSA
Quiz
•
10th Grade
22 questions
1_D C Circuits
Quiz
•
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
