MS Xi-Sub CS See-2022-23.........
MS Xi-Sub CS See-2022-23.........
MARKING SCHEME
Q.N SECTION – A MM
O
1 a) Bus 1
2 b)1024 Bytes 1
3 c) (17)8 1
4 b) Debugging 1
5 a) @Total 1
6 b) algorithm 1
7 c) % 1
8 d) 36 1
9 b) 1, 2 1
10 b) tup[2]=56 1
11 c) uteruter 1
12 c) Domain Error 1
13 d) items() 1
14 b) [ ] 1
15 c) index() 1
16 c) O-R-A-G- 1
17 b) Both A and R are true and R is not the correct explanation for A 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)
Page 1 of 6
20 2
OR
21 a) 13 2
b) False
22 Convert the following:- 2
a) (B2F)16 = (5457)8
b) (367)10 = (101101111)2
23 2
24 for x in range(5,11,2): 2
print(x+10)
OR
k = 10
while (k<20):
print(k)
k+=5
25 Find the output of the following: 2
word = ‘green vegetables’
Page 2 of 6
print (word.find(‘g’,2)) output : 8
print(word.find(‘eg’,6,8)) output : 7
OR
Find the output of the following:
x = “AmaZingh”
print(x[3:], “and”, x[:2]) output – Zingh and Am
print(x[-7:], “and”, x[-4:-2]) output – maZingh and in
SECTION-C
26 (I) Give 2 mark for correct logic circuit diagram 2+1=
(II) Give 1 mark for correct truth table 3
OR
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 Defines: 5
a) Viruses- Viruses are programs that copy themselves throughout a
computer or network. Viruses can only be activated when a user
opens the program. At their worst, viruses, can corrupt or delete
data, use the user’s email to spread, or erase everything on the
hard disk etc.
b) Phishing- Phishing is an attempt to acquire sensitive information
such as username, password and credit card details by
masquerading as a trustworthy entity in an electronic
communication.
c) Plagiarism- The act of copying another person’s ideas, words or
work and pretending they are your own; something that has been
copied in this way
d) Digital Footprint- The information about a particular person that
Page 4 of 6
exists on the internet as a result of their online activity.
e) Cyber Bulling - Cyberbullying includes sending, posting, or
sharing negative, harmful, false, or mean content about
someone else. It can include sharing personal or private
information about someone else causing embarrassment or
humiliation. Some cyberbullying crosses the line into unlawful or
criminal behaviour.
33 (i) 2+3=
lst=[] 5
num = int(input(“how many numbers”))
for n in range(num)”
number=int(input(“Enter number:”))
lst.append(number)
print(“Maximum element in the list is:”, max(lst))
print(“Minimum element in the list is:”, min(lst))
(ii)
List1 [4, 6, 14, 12]
List2 [4, 6, 14, 12]
List3 [2, 4, 6, 8, 10]
OR
(i)
S=input(“Enter a string:”)
length=len(S)
print(“Original string:”,S)
S2 = ””
for a in range(0, length):
if a%2==0:
S2 += S[a]
else:
S2 += S[a].upper()
print (S2)
(ii)
a) str[-4:]
‘ence’
b) str.find(‘en’)
12
c) ‘put’ in str
True
Page 5 of 6
SECTION-E
34 India’s Information Technology (IT) Act, 2000, 4
Possible causes that contribute to this problem are:
- Differences in parental support
- Restricted access to computer
- Fewer female role models and a casual approach towards
computer activities in school.
OR
E-Waste or electronic waste include electric or electronic gadgets and
devices that are no longer in use ex. – computer, laptop etc
Three R’s means- (explanation of all the three)
Reduce………
Reuse………..
Recycle……….
35 phone = dict() 4
i=1
n=int(input(“Enter number of entries:”))
while i<=n:
a=input(“Enter Name:”)
b=input(“Enter Phone no:”)
phone[a] = b
i=i+1
print(phone)
L = phone.keys()
x=input(“Enter name to be searched:”)
for i in L:
if i==x:
print(x,”phone no is :”,phone[i])
break
else:
print(x, “does not exist”)
******************
Page 6 of 6