MS Set-3
MS Set-3
MARKING SCHEME
Q.NO QUESTIONS MARKS
1 b) &book 1
2 a) bool 1
3 b) % 1
4 c) -1 1
6 c) ‘abc’ + 3 1
7 b) -6 1
8 c) CU 1
9 a) 1111101011001110 1
10 b) Non-Volatile Memory 1
11 c) XOR 1
12 b) Diamond 1
13 c) (22,44,66) 1
14 c) Fallacy 1
15 b) Biometric sensor 1
16 d) clear() 1
SECTION - B
19 To=30 2
for K in range(0,To):
if K%4==0:
print (K*4)
else:
print (K+3)
(1/2 mark for each correction)
20 Flow chart of maximum of three numbers- 2
Page 1 of 5
21 2
Any two
correct
differences
OR
22 a) 9 2
b) False
23 a. (122)10 = (7A)16 2
b. (3674)8 = (0111 1011 1100)2
Page 2 of 5
24 i. Tmp5rzzz 2
ii. T020HYzzzz
1 Mark for each correct answer
25 (i) (A+B)’ = A’ . B’ (ii) (A.B)’ = A’ + B’ 2
With true table justification
SECTION - C
26 a) (i) X = -b + math.sqrt((b*b) – (4*a*c)) / 2 * a 2+1=3
b) 900 930
27 Correct program gives 3 marks accordingly. 3
OR
n=len(T)
item=eval(input("Enter the element that you want to search : "))
for i in range(n):
if T[i]==item:
print("Element found at the position :", i+1)
break
else:
Page 3 of 5
print("Element not Found")
SECTION - D
31 (i) L.insert(3,82) 5
print(L)
(ii) L[1]=30
print(L)
(iii) count=0
for k in L:
if k>70:
count=count+1
print("Number of students scored more than 70 marks: ",
count)
(iv) n=len(L)
sum=0
for i in L:
sum=sum+i
avg=sum/n
print("Average marks: ", round(avg,2))
(v) L.sort(reverse=True)
print(L)
32 1. ©Copyright infringement 5
2. Identity Theft
3. Cyber Stalking
4. The cybercrime discussed above is Phishing.
5. cyberbullying
( 1 mark for each )
33 (i) 2 + 3 =5
num = 5
for i in range(1, num+1):
for j in range(1, num+1):
print(j, end=" ")
num = num - 1
print("\r")
(ii)
Page 4 of 5
first=0
second=1
i=3
print(first, second, end=" ")
while i<=n:
third=first + second
print(third, end=" ")
first=second
second=third
i=i+1
SECTION - E
34 01 mark for each correct definition. 4
a) str[-4:]
‘tion’
b) str.find(‘vo’)
8
c) ‘vol’ in str
True
d) Str*3
‘Green RevolutionGreen RevolutionGreen Revolution’
******************
Page 5 of 5