What is iteration known as?
LO13_Lesson 5

Quiz
•
Computers
•
10th Grade
•
Medium
Samantha Cassia
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
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’:
word= "computer"
for num in range(1,6):
print(word)
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")
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Advanced Python Iteration Quiz

Quiz
•
10th Grade
8 questions
Robotics Quiz

Quiz
•
1st - 12th Grade
10 questions
Pseudocode - OCR ERL

Quiz
•
9th - 12th Grade
10 questions
AP CSA 4.2 (For Loops)

Quiz
•
10th - 12th Grade
10 questions
Edhesive Python Unit 4: Test Review

Quiz
•
10th - 11th Grade
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
13 questions
Python Iteration

Quiz
•
10th Grade
12 questions
Python Loops

Quiz
•
9th - 11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University