To repeat a fixed number of times use a
Loops

Quiz
•
Computers
•
10th Grade
•
Medium
Andrei Chete
Used 11+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
while loop
if loop
for loop
indentation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To repeat until a particular condition is true use
while loop
if loop
for loop
indentation
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The character that must be at the end of the line for if, while, for etc.
;
+
\;
:
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times does the following program print the word ‘computer’:
word= "computer"
for num in range(1,6):
print(word)
1
5
6
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In programming, what is iteration?
The repetition of steps within a program
A decision point in a program
The order in which instructions are carried out
Testing a program to make sure it works
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is iteration important?
It determines the order in which instructions are carried out
It allows multiple paths through a program
It allows code to be simplified by removing duplicated steps
It ensures the code works correctly
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which two statements are used to implement iteration?
IF and WHILE
FOR and WHILE
ELSE and WHILE
IF and ELSE
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
CodeHS 2.10 While Loops

Quiz
•
9th - 12th Grade
12 questions
Sequencing, Selection and Iteration

Quiz
•
8th - 10th Grade
14 questions
1.1.5 CSE Iteration and Loops

Quiz
•
9th - 12th Grade
10 questions
Python Condition Controlled Iteration

Quiz
•
10th Grade
11 questions
while and do while Loop

Quiz
•
10th Grade
14 questions
9.1.5 - Starter Quiz

Quiz
•
7th - 11th Grade
11 questions
39. Algorithms - Tracing Algorithms Quiz

Quiz
•
9th - 12th Grade
13 questions
KS4 Python While Loops and For 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