Python Chapter 4: Loops

Quiz
•
Information Technology (IT)
•
Professional Development
•
Medium

Alejandro Hidalgo
Used 7+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
5 questions
Checkpoint2:Arduino

Quiz
•
Professional Development
10 questions
ICE BREAKING

Quiz
•
Professional Development
8 questions
Apple Academy Indonesia Quiz

Quiz
•
Professional Development
15 questions
User Experience and Interface Design Quiz

Quiz
•
Professional Development
9 questions
Fabric

Quiz
•
Professional Development
15 questions
DECI - WEEK#7 - Time Machine

Quiz
•
Professional Development
12 questions
S2 Day 07 Quiz

Quiz
•
Professional Development
10 questions
Ethical Hacking Kali Linux Part 3

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade