Professional Documents
Culture Documents
Class 12 Cs QP Sample
Class 12 Cs QP Sample
CHENNAI REGION
Sample Question Paper
CLASS XII Maximum Marks: 35
Time: 2 hours
COMPUTER SCIENCE (Code: 083)
General Instructions:
The question paper is divided into 3 sections – A, B and C
Section A, consists of 7 questions (1-7). Each question carries 2 marks.
Section B, consists of 3 questions (8-10). Each question carries 3 marks.
Section C, consists of 3 questions (11-13). Each question carries 4 marks.
Internal choices have been given for question numbers 7, 8 and 12.
SECTION – A
EACH QUESTION CARRIES 2 MARKS
Q. Part QUESTION Marks
No. No.
1 Name four operations possible on Stacks. 2
2 i. Expand the following: 1
PPP, SIM
ii. What is use of SMTP? 1
3 Differentiate between Alter and Update command in SQL. 2
4 A resultset is extracted from the database using the mycursor 2
object (that has been already created) by giving the following
statement.
My=mycursor.fetchmany(5)
(a) How many records will be returned by fetchmany() method?
(b) What will be the data type of My object after the given
command is executed?
MobileMaster
M_Id M_Company M_Name M_Price M_Mf_Date
MB001 Samsung Galaxy 4500 2013-02-12
MB003 Nokia N1100 2250 2011-04-15
MB004 Micromax Unite3 4500 2016-10-17
MB005 Sony XperiaM 7500 2017-11-20
MB006 Oppo SelfieEx 8500 2010-08-21
1
MobileStock
S_Id M_Id M_Qty M_Supplier
S001 MB004 450 New Vision
S002 MB003 250 Praveen Gallery
S003 MB001 300 Classic Mobile
S004 MB006 150 A-one Mobiles
S005 MB003 150 The Mobile
S006 MB006 50 Mobile Centre
a. SELECT M_Id, SUM(M_Qty) FROM MobileStock GROUP BY
M_Id;
OR
2
SECTION – B
EACH QUESTION CARRIES 3 MARKS
● Push the keys (name of the student) of the dictionary into a stack,
where the corresponding value (age) is greater than 15.
For example:
If the sample content of the dictionary is as follows:
R={"OM":16, "JAI":15, "BOB":19, "ALI":12, "ANU":19,
"TOM":18}
OR
● Traverse the content of the list and push the odd numbers into a
stack.
For Example:
If the sample Content of the list is as follows:
N=[79,98,22,35,38]
Sample Output of the code should be:
35,79
3
10 Meena has to create a database named MYDB in MYSQL. She 3
now needs to create a table named ITEM in the database to store
the records of various ITEMS. The table ITEMS has the following
structure:
SECTION – C
EACH QUESTION CARRIES 4 MARKS
4
12 i. Give two advantages and two disadvantages of BUS topology 2
OR
Define the following terms:
www , WAN
ii. How is packet switching different from circuit switching? 2
13 Sanskar University of Himachal Pradesh is setting up a secured 4
network for its campus at Himachal Pradesh for operating their
day-to-day office & web based activities. They are planning to
have network connectivity between four buildings. Answer the
question (a) to (d) after going through the building positions in the
campus & other details which are given below:
Main 150
Admin 75
Finance 50
Academic 60