Assessment - for loop in Python
Quiz
•
Computers
•
11th - 12th Grade
•
Practice Problem
•
Medium
DHIVYA ANOOP
Used 17+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 5 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
10 sec • 5 pts
What are the values that can be seen in the output?
0,1,2,3,4,5,6,7,8,9,10, 11,12
1,2,3,4,5,6,7,8,9,10,11,
12
1,2,3,4,5,6,7,8,9,10,11,
12,13
0,1,2,3,4,5,6,7,8,9,10,11,12,13
3.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
what is the name of the variable used in the following code?
counter
for
#
4.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What type of loop is used when you know how many times you want to repeat something?
while loop
for loop
if statement
a variable
5.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Choose the set of values of i that will be displayed on the screen.
for i in range(1,6):
print(i*2)
2,4,6,8,10
1,2,3,4,5
1,2,3,4,5,6,
2,4,6,8,10,12
6.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Predict the output of the given code:
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
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - University
10 questions
Quiz 5 - Excel
Quiz
•
11th Grade
10 questions
MEDIA AND INFORMATION LITERACY
Quiz
•
12th Grade
10 questions
DNS dan Web server
Quiz
•
11th Grade
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
10 questions
PUNCTUATION SPACING RULES
Quiz
•
9th - 12th Grade
10 questions
COMPUTER PROGRAMMING Q2_FLOWCHART (2 points each)
Quiz
•
11th - 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
