wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Quiz on Basic Python Operators

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the result of 7+57 + 5 in Python?

a)

10

b)

12

c)

13

d)

11

2.

Which operator is used in Python for subtraction?

a)

+

b)

*

c)

/

d)

-

3.

What is the output of 6×46 \times 4 in Python?

a)

24

b)

10

c)

20

d)

18

4.

Which of the following is the division operator in Python?

a)

%

b)

/

c)

*

d)

**

5.

What is the result of 15%415 \% 4 in Python?

a)

3

b)

4

c)

2

d)

1

6.

Which operator is used for exponentiation in Python?

a)

^

b)

**

c)

//

d)

%

7.

What is the result of 939 - 3 in Python?

a)

12

b)

6

c)

3

d)

9

8.

What is the output of 8/28 / 2 in Python?

a)

4

b)

6

c)

2

d)

8

9.

What is the result of 242 ** 4 in Python?

a)

6

b)

8

c)

16

d)

12

10.

What is the result of 10%310 \% 3 in Python?

a)

1

b)

2

c)

3

d)

0