Xii CS MS PP-3 2024-25
Xii CS MS PP-3 2024-25
Practice paper-3
Class: XII Subject: Computer Science (083)
Maximum Marks: 70 Period: 3 Hours
Instructions:
● This question paper contains 37 questions.
● All questions are compulsory. However, internal choices have been provided in some
questions. Attempt only one of the choices in such questions
● The paper is divided into 5 Sections- A, B, C, D and E.
● Section A consists of 21 questions (1 to 21). Each question carries 1 Mark.
● Section B consists of 7 questions (22 to 28). Each question carries 2 Marks.
● Section C consists of 3 questions (29 to 31). Each question carries 3 Marks.
● Section D consists of 4 questions (32 to 35). Each question carries 4 Marks.
● Section E consists of 2 questions (36 to 37). Each question carries 5 Marks.
● All programming questions are to be answered using Python Language only.
● In the case of MCQ, the text of the correct answer should also be written.
newt=lshift((1,2,3,4,5,6),13)
print(newt)
(1 mark for each correction)
27 (i) 2
(A) Unique
OR
(B) Default
(ii)
(A) ALTER TABLE STUDENT DROP PRIMARY KEY;
OR
(B) ALTER TABLE STUDENT ADD PRIMARY KEY(RNO);
(1 mark each)
28 Advantage: 2
Hierarchical connection between the nodes.
Disadvantage:
Less reliable than star and mesh.
(1 mark each)
OR
TELNET : Teletype Network Telnet is a network protocol used to virtually access
a computer and provide a two-way, collaborative and text-based communication
channel between two machines. It follows a user command TCP/IP networking
protocol that creates remote sessions.
(1 mark for expansion and 1 mark for use)
def pop_star(StarStudent):
if StarStudent:
return StarStudent.pop()
else:
print("Underflow")
def peek_star(StarStudent):
if StarStudent:
return StarStudent[-1]
else:
print("None")
(1 mark for each correct function definition)
OR
(B)
pos_int=[ ]
def push_positive(N):
for i in N:
if i>0:
pos_int.append(i)
def pop_positive():
if pos_int:
return pos_int.pop()
else:
print("Empty")
def disp_positive():
for i in range(-len(pos_int),0,-1):
print(pos_int[i], end=“ ”)
else:
print("None")
(1 mark for each correct function definition)
31 Shoes10# 3
Gloves20#
Jackets15#
(1 mark for each correct output)
OR
1#
4# 3# 2# 1#
2# 1#
2# 1#
4# 3# 2# 1#
1#
(1/2 mark for each correct output)