wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Python 2

Total questions: 4

Worksheet time: 4mins

Name
Class
Date
1.

A natural number is read from the keyboard. It is required to display the product of its digits. What instruction will we use?

a)

for

b)

while

2.

For which pairs of numbers below does the algorithm display the same result?

a)

21 9

b)

3 231

c)

121 13

d)

23 17

3.

What is displayed if 12345 is entered?

a)

2 3

b)

3 2

c)

5 3

d)

3 5

4.

Which pair of numbers will not be displayed?

a)

2 1

b)

4 2

c)

5 5

d)

5 4