A. What will be the output of the following expression if it is executed in Python interactive mode? 16 % 3 a. 5 b. 1 c. 0 d. -1 B. What will be the output of the following program? X=5 Y=5 print(X/Y)...

A. What will be the output of the following expression if it is executed in Python interactive mode? 16 % 3

a. 5 b. 1


c. 0 d. -1


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


X=5


Y=5


print(X/Y)


a. 1 b. 1.0


c. 0.1 d. None of the above


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


print(15 + 20 / 5 + 3 * 2 - 1)


a. 19.0 b. 19


c. 12.0 d. 24.0


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


A=7


B=4


C=2


print(a//b/c)


a. 0.85 b. 0


c. 0.5 d. 0.0





May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here