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
To repeat a fixed number of times use a
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 Wayground
14 questions
1.1.5 CSE Iteration and Loops

Quiz
•
9th - 12th Grade
8 questions
Small Basic Mid Point Review

Quiz
•
6th - 12th Grade
10 questions
Code.org Unit 5 - Loops

Quiz
•
9th - 12th Grade
12 questions
CodeHS Unit 1

Quiz
•
9th - 12th Grade
10 questions
CodeHS 2.10 While Loops

Quiz
•
9th - 12th Grade
10 questions
Programming Constructs - Bitesize

Quiz
•
KG - 11th Grade
15 questions
Lesson 5 Looping Quiz

Quiz
•
10th - 12th Grade
10 questions
Programming Constructs

Quiz
•
5th - 11th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade