Search Header Logo

Python Chapter 4: Loops

Authored by Alejandro Hidalgo

Information Technology (IT)

Professional Development

Used 8+ times

Python Chapter 4: Loops
AI

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?