Professional Documents
Culture Documents
HALF-YEARLY EXAMINATION-2023-24
CLASS-XI- MARKING SCHEME
SUB-COMPUTER SCIENCE(083)
6. Ans. b) continue 1
7. Ans. c) 14 9
1
8. Ans. (c) 13.0 1
10. Ans. b) 3 1
18. Ans. (b) Both A and R are True and R is not the correct explanation for A 1
1|Page
20. Ans. 2
The expression of the Logic Diagram is: A.B+(A.C)’
[1 mark for each correct term]
OR
Logic Circuit of the expression: A’.B’+A.C+B'. C
[1/2 mark for each gate (4 no.s) ]
21. Ans. 2
22. Ans. 2
[1x2=2]
23. Ans. 2
OR
Ans.
L1=[3,4,5]
L2=L1 + [6]
print(L1* 3)
print(L2)
value of integer/float/string datatype can not be concatenated with List. List can
be concatenated with list only.
2|Page
Q.N SECTION-C Marks
o
26. Ans. 0.5 mark for correct input diagram 3
1 mark for correct output diagram
1.5 marks for correct decision diagram
OR
ii) a)5 b) 1
32. Ans. i) a) True b) False [1 mark each for correct output] [1x2=2] 4
b) bool(str(0): True because 0 is different than str(0) which converts 0 into value
of string datatype.
3|Page
[1/2 mark each for correct justification] [1/2x2=1]
33. Ans. 5
num=int(input(“Enter number : “))
rev=0
n=num
while ( n != 0): # Use == or !=
digit= n % 10 # operator for remainder.
n=n / 10 # operator for quotient(whole number).
rev=rev*10+digit
If rev == num : # comparison between original and reverse
print(num, “is a palindrome number.”)
else:
print(num, “is not a palindrome number.” )
34. i) 9 5
ii) ['Computer', 'Science', 'with', 'Python']
iii) ('Computer Science ', 'with', ' Python')
iv) Cmue cec ihPto
v) 2
OR
i) Sita plays guitar
ii) Sita Plays Guitar
iii)3
iv) Reeta plays guitar
v) Sita***plays***guitar
35. Ans. 5
i) a) 1/2 mark for correct input statement [3+2=5]
b) 1/2 mark for correct output statement
c) 2 marks for correct logic. 1 mark partial correct.
OR
i) a) 1/2 mark for correct input statement [3+2=5]
b) 1/2 mark for correct output statement
c) 2 marks for correct logic. 1 mark partial correct.
4|Page