Q81. Write the output of : print(sum(1,2,1))
Q82. Write the output of the following:
val = 20
def display (N):
val = 25
if N%5 == 0:
val = val + N
else:
val = val - N
print(val, end="#")
display(70)
print(val)
Q83. Write the output of the following:
def disp(m="A", t = 1):
for i in range(t):
print(m * 1, end="#")
disp('B', 5)
Q84. Write the output of the following:
def calc(x):
r=2*x**2
return r
print(calc(3))
Q85. Write the output of the following :
def var(var, lst):
lst[0] = var
k = 33
a = [1, 2, 3]
var(k, a)
print(a)
Q86. Which of the following module is used with binary files?
Q87. Which of the following module is used for function max( )??
Q88. Write the output of the following :
t=(32, 34, 33, 33.5, 41, 44, 33)
print(sum(t) + t.count(33))
Q89. How many numbers will be printed by the following code:
def fun3(n1,n2):
for x in range(n1,n2+1):
if x%4==0:
print(x, end=" ")
fun3(100,120)
Q90. Write the output of the following:
def lst(l1):
for x in l1:
print(x.lower(),end="---")
lst(["MCQ","PAPER"])