
LO13 Lesson 8 Loops
Authored by Samantha Cassia
Computers
10th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is iteration known as?
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Why is iteration important?
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following best describes the purpose of a for loop?
A for loop is for doing something an indeterminate number of times.
A for loop is doing something an infinite number of times.
A for loop is for doing something a fixed number of times.
A for loop is for doing something three times.
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following best describes the while loop?
A loop that always executes at least once, regardless of the condition.
A loop that repeats a block of code as long as a specified condition is true.
A loop that executes a specific number of times.
A loop that is used exclusively for iterating over elements in a list.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the range() function do in a for loop?
Creates a copy of the list
Filters elements in a list
Reverses the order of elements
Generates a sequence of numbers
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How many times does the following program print the word ‘computer’?
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following programs prints ten lines?
for i in range(10):
print("hi")
for i = 1 to 10:
print("hi")
for i in 1 - 10:
print("hi")
for i from 0 to 9:
print("hi")
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
13 questions
ICT and Retail Industry
Quiz
•
8th - 12th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
10 questions
𝐂𝐡𝐚𝐩𝐭𝐞𝐫 𝟓—𝐓𝐡𝐞 𝐅𝐮𝐭𝐮𝐫𝐞 𝐨𝐟 𝐂𝐨𝐦𝐩𝐮𝐭𝐢𝐧𝐠
Quiz
•
10th Grade
10 questions
Python with DataScience
Quiz
•
7th Grade - University
10 questions
Recap: Introduction to Python
Quiz
•
10th Grade
10 questions
Podstawy Pythona
Quiz
•
9th - 12th Grade
15 questions
Learning Checkpoint 3: Primary & Secondary Storage
Quiz
•
9th - 10th Grade
14 questions
4th quarter 2nd summative
Quiz
•
10th 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
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