11. Sample Paper XII 2021-22
11. Sample Paper XII 2021-22
General Instructions
Section – A
Each question carries 2 marks
Q.no Part Question Marks
No.
1. Write any 2 application of Stack in computer application. 2
2. (i) Expand the following: 1
HTTP, VoIP
(ii) Why Switch is known as Intelligent Hub? 1
3. Difference between char(n) and varchar(n) data types with respect to databases 2
4. A resultset is extracted from the table with 50 records using the cursor object (that 2
has been already created) by giving the following statement.
Records = cursor.fetchall()
Table: GAMES
GCode GameName Type Number PrizeMoney ScheduleDate
3 Jatin 101
4 Nazneen 102
Which field will be considered as the foreign key if the tables GAMES and PLAYER are
related in database?
Section – B
Each question carries 3 marks
8 Samantha has created a dictionary containing ID and their Names as the Key – Value 3
pair of 8 students. Write a program with separate user defined function to perform
the following operations:
Push the Keys (ID of the students) of the dictionary into a Stack, where
corresponding name begins from letter ‘A’
Pop and display the content of Stack.
For example if the content of Dictionary is as follows:
Student={“S001”:”Amit”,”S002”:”Lucky”,”S003”:”Akshay”,”S004”:”Navneet”,
”S005”:”Jeetu”,”S006”:”Ajay”}
Section C
Each question carries 4 marks
11 Write queries (a) to (d) based on the table GAME and PLAYER given below: 4
GAMES and PLAYER
Table: GAMES
GCode GameName Type Number PrizeMoney ScheduleDate
Table: PLAYER
PCode Name GCode
3 Jatin 101
4 Nazneen 102
Finance
Marketing
Legal
Sales
(a) Suggest and draw the cable layout to efficiently connect various blocks of
building within the Kanpur centre for connecting digital devices
(b) Suggest the placement of the following device with Justification
(i) Repeater
(ii) Hub/Switch
(c) Which kind of network (PAN/LAN/WAN) will be formed if the Kanpur office is
connected to its head office in Chennai?
(d) Which fast and very effective wireless transmission medium should preferably
be used to connect the head office at Chennai with the centre at Kanpur?