Chapter 3 - for loop quiz
Interactive Video
•
Computers
•
University
•
Practice Problem
•
Hard
Nicol Sutherland
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What are the two main purposes of a for loop?
Iteration and repetition
Addition and subtraction
Multiplication and division
Sorting and searching
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the common variable name used in for loops?
x
i
loop
var
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What function is often combined with for loops to create lists of integers?
int()
list()
str()
range()
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the value of the iteration variable in the second pass of a for loop using range(3)?
3
0
2
1
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
How many times does the print statement repeat itself?
1
2
3
4
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?
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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