A. Which one of the following operators belongs to fl oor division? a. %          b. / c. //           d. None of the above B. What will be the output of the following expression? 4*1**2 a. 16...

A. Which one of the following operators belongs to fl oor division?

a. %          b. /


c. //           d. None of the above


B. What will be the output of the following expression?


4*1**2


a. 16         b. 4


c. 8           d. 1


C .What will be the output of the following program?


X=4.6


Y=15


Z=X//Y


print(Z)


a. 0           b. 0.0


c. 0.30     d. None of the above


D.  Operators with the same precedence are evaluated in which of the following orders?


a. Left to Right          b. Right to Left


c. Unpredictable        d. None of the above


E. What will be the output, if the input data 5 is shifted towards the left by 2 bits?


a. 20        b. 10


c. 1           d. 25




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here