
For Loops
Interactive Video
•
Information Technology (IT)
•
7th Grade
•
Hard
John Streety
Used 8+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a basic for loop do when you use 'range(5)'?
Prints a statement five times
Counts from 1 to 5
Counts from 1 to 6
Prints a statement six times
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you use 'range(2, 100, 2)' in a for loop, what will it do?
Count from 2 to 101 by twos
Count from 2 to 99 by twos
Count from 2 to 98 by twos
Count from 2 to 100 by twos
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does a for loop behave when using 'range(100, -2, -2)'?
Counts down from 100 to -2
Counts up from 100 to -2
Counts up from 100 to 0
Counts down from 100 to 0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using a list in a for loop?
To print numbers
To iterate over and print each element in the list
To add elements to the list
To count the number of elements
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you print elements of a list with a message in a for loop?
The message is printed once
Each element is printed with the message
Only the first element is printed
The list is printed as a whole
Similar Resources on Wayground
6 questions
Exploring Ratios and Proportions in G6Math
Interactive video
•
6th - 8th Grade
11 questions
Bivariate Data Analysis Concepts
Interactive video
•
6th - 7th Grade
6 questions
Skip Counting Adventures in Space
Interactive video
•
6th - 10th Grade
6 questions
Skip Counting by 2: A Fun Introduction
Interactive video
•
6th - 10th Grade
6 questions
CLEAN : We won't give up battle against pension reform says French union leader
Interactive video
•
9th - 10th Grade
6 questions
Stephen Powis speaks at daily coronavirus briefing
Interactive video
•
9th - 10th Grade
7 questions
Competition and Participant Dynamics
Interactive video
•
4th - 8th Grade
2 questions
CLEAN : Senegal's Macky Sall re elected president: provisional results
Interactive video
•
9th - 10th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
20 questions
Morpheme Mastery Quiz for Grade 7
Quiz
•
7th Grade
4 questions
End-of-month reflection
Quiz
•
6th - 8th Grade