
Python Chapter 4: Loops
Authored by Alejandro Hidalgo
Information Technology (IT)
Professional Development
Used 8+ 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
30 sec • 1 pt
A control structure that causes a statement or group of statements to repeat as many times as necessary is known as a(n) _____.
loop
operator
counter
sequence
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A _________ loop uses a true/false condition to control the number of repetitions
count-controlled
condition-controlled
situation-controlled
prequalified
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A _________ loop uses a true/false condition to control the number of repetitions
count-controlled
condition-controlled
situation-controlled
prequalified
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A single execution of the statements in the body of the loop is called a(n) _____.
accumulation
iteration
range
control
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A while loop tests its expression:
once, during initialization
before each iteration
after each iteration
inside the loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will ‘Hello World’ be printed in the following code?
0
1
10
an infinite number of times
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An infinite loop repeats until the program is
replicated
debugged
interrupted
recompiled
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?