wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Iterative Statements in Python

Total questions: 18

Worksheet time: 9mins

Name
Class
Date
1.

………………………… statement is also known as iterative statement.

a)

Looping

b)

Sequential

c)

Both of these

2.

…………………………. Loop is used when numbers of iterations are known.

a)

For

b)

While

c)

Any of these

3.

………………………. Loop is used to execute a block of statements repeatedly until a given condition is true

a)

For

b)

While

c)

For-While

4.

. If the condition in a loop is false in the first step itself, we get ………………………………………

a)

Error

b)

no output

c)

infinite

5.

The …………………… loop can be applied to a program where the number of iterations is not known beforehand.

a)

While

b)

For

c)

Both of these

6.

………………………………… is the another name of iterative statement

a)

Loop

b)

Sequential

c)

Both of these

7.

In Python, the two types of loops are _____ and _______

a)

While

b)

For

c)

None of these

8.

….............… value is the initialization value which is specified in a loop.

a)

Error

b)

no output

c)

infinite

d)

Starting

9.

1. What is the other name of iterative statement?

a)

A loop is another name of iterative statement.

b)

While loop and for loop

c)

Control Variable

10.

Name the iterative statements in Python.

a)

A loop is another name of iterative statement.

b)

While loop and for loop

c)

Control Variable

11.

Name the variable which is used to control the flow of a program.

a)

A loop is another name of iterative statement.

b)

While loop and for loop

c)

Control Variable

12.

What do you understand by loops? Name the main components of loop. What is the first statement of the audio clip?

a)

A loop is another name of Iterative statement.Iterative statement or repetitive statement refers to the statement

b)

which is used to repeat a set of statements for the specified number of times as long as the given condition is true.

c)

The main components of loop are: Initialisation Test Expression Body of Loop Step Value

13.

What do you understand by loops? Name the main components of loop. What is the second statement of the audio clip?

a)

A loop is another name of Iterative statement.Iterative statement or repetitive statement refers to the statement

b)

which is used to repeat a set of statements for the specified number of times as long as the given condition is true.

c)

The main components of loop are: Initialisation Test Expression Body of Loop Step Value

14.

What do you understand by loops? Name the main components of loop. What is the second statement of the audio clip?

a)

A loop is another name of Iterative statement.Iterative statement or repetitive statement refers to the statement

b)

which is used to repeat a set of statements for the specified number of times as long as the given condition is true.

c)

The main components of loop are: Initialisation Test Expression Body of Loop Step Value

15.

What do you understand by loops? Name the main components of loop. What is the second statement of the audio clip?

a)

A loop is another name of Iterative statement.Iterative statement or repetitive statement refers to the statement

b)

which is used to repeat a set of statements for the specified number of times as long as the given condition is true.

c)

The main components of loop are: Initialisation Test Expression Body of Loop Step Value

16.

What do you understand by loops? Name the main components of loop. What is the third statement of the audio clip?

a)

A loop is another name of Iterative statement.Iterative statement or repetitive statement refers to the statement

b)

which is used to repeat a set of statements for the specified number of times as long as the given condition is true.

c)

The main components of loop are: Initialisation Test Expression Body of Loop Step Value

17.

This loop can only be used when the programmer knows the number of times a code is to be repeated

a)

while

b)

for

c)

do while

d)

repeat until

18.
What are the two main types of loops that we have learned about in Python?
a)
IF Function & Variables
b)
FOR and WHILE Loops
c)
Forever and Fixed Loop
d)
Data Types and Numbers