wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

quiz2

Total questions: 5

Worksheet time: 3mins

Name
Class
Date
1.

What will be the output of the following Python code?

a)

a) 1 2 3 4 5 6

b)

b) 1 2 3 4 5 6 7

c)

c) error

d)

d) none of the mentioned

2.

What will be the output of the following Python program?

a)

a) error

b)

b) 0 1 2 0

c)

c) 0 1 2

d)

d) none of the mentioned

3.

What are the values of the following Python expressions?

2**(3**2)

(2**3)**2

2**3**2

a)

a) 512, 64, 512

b)

b) 512, 512, 512

c)

c) 64, 512, 64

d)

d) 64, 64, 64

4.

What will be the output of the following Python code?

a)

a) 1

2

3

b)

b) error

c)

c) 1

2

d)

d) none of the mentioned

5.

SI unit of force

(a)