CBSE Class 12 : Python MCQ For exams 2

6.
What will be the value of the expression?

14 +13 % 15

(a) 14
(b) 27
(c) 12
(d) 0

 

7.
Evaluate the expression given below if A = 16 and B = 15.

A%B//A

(a) 0.0
(b) 0
(c) 1.0
(d) 1

 

8.
What is the value of x?

x = int(13.25 4/2)

(a) 17
(b) 14
(c) 15
(d) 23

 

9.
The expression 8/4/2 will evaluate equivalent to which of the following expressions:

(a) 8/(4/2)
(b) (8/4)/2

 

10.
Which among the following list of operators has the highest precedence?

+ , -, **, %, /, << , >>, |

(a) <<, >>
(b) **
(c) |
(d) %