0% found this document useful (0 votes)
63 views5 pages

XII CS Term2 Model10

This document is a prelim exam paper for class 12 computer science. It contains 13 questions divided into 3 sections - Section A has 7 multiple choice questions worth 2 marks each, Section B has 3 questions worth 3 marks each, and Section C has 3 questions worth 4 marks each. The document provides instructions, the table of contents, and sample questions in each section related to computer science topics like databases, networking, operating systems etc.

Uploaded by

Tanishq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views5 pages

XII CS Term2 Model10

This document is a prelim exam paper for class 12 computer science. It contains 13 questions divided into 3 sections - Section A has 7 multiple choice questions worth 2 marks each, Section B has 3 questions worth 3 marks each, and Section C has 3 questions worth 4 marks each. The document provides instructions, the table of contents, and sample questions in each section related to computer science topics like databases, networking, operating systems etc.

Uploaded by

Tanishq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

SHETH CN ENGLISH MEDIUM SCHOOL

PRELIM PAPER (Term-2)


STD: XII Computer Science (083) Maximum Marks:-35
Date:- 28/01/2022 Time:-2 Hrs

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.

Section -A
Each question carries 2 marks
Q. Question Marks
No
1. Give any two characteristics of Queue. (2)

2. (i) Expand the following: (1)


SMTP , XML

(ii) Out of the following, which is the fastest wired and wireless mediumof (1)
transmission?

Infrared, coaxial cable, optical fibre,


microwave, Ethernet cable

3. Differentiate between int and date data types with respect to databases. (2)

4. A result set is extracted from the database using the cursor object (that has (2)
been already created) by giving the following statement.

Mydata=cursor.fetchone()

(a) How many records will be returned by fetchone() method?


(b) What will be the datatype of Mydata object after thegiven
command is executed?
5. Write the output of the queries (a) to (d) based on the table, Grocery (2)
given below:

Table: Grocery
ID NAME DATEOFPURCHASE COST DISCOUNT
TD01 Daal 03-Jan-2022 1500 10
R10 Rice 10-Mar-2021 1200 5
MD04 Moong 01-Dec-2021 800 0
Daal
M03 Maida 07-Dec-2021 500 3

(a) SELECT SUM(DISCOUNT)FROM


Grocery
WHERE COST>1200;

(b) SELECT MAX(DATEOFPURCHASE)FROM


Grocery;

(c) SELECT * FROM grocery


WHERE DISCOUNT>5 AND FID LIKE "T%";

(d) SELECT DATEOFPURCHASE FROM Grocery WHERE NAME


IN ("Daal");

6. Which command is used to view the details of table created? (1)

Give one point of difference between an equi-join and a natural join. (1)

7. Consider the table, MOVIEDETAILS given below: (2)


Table: MOVIEDETAILS
MOVIEID TITLE LANGUAGE RATING PLATFORM
M001 Minari Korean 5 Netflix
M004 MGR Tamil 4 Hotstar
Magan
M010 Kaagaz Hindi 3 Zee5
M020 Human Hindi 4 Netflix

(a) Identify the degree and cardinality of the table.


(b) Which field should be made the primary key? Justify your answer.
SECTION – B
Each question carries 3 marks
8. Alam has a list containing 10 integers. You need to help him create a (3)
program with separate user defined functions to perform the following
operations based on this list.
● Traverse the content of the list and push the even numbersinto a
stack.
● Pop and display the content of the stack.

For Example:
If the sample Content of the list is as follows:
N=[12, 13, 34, 56, 21, 79, 98, 22, 35, 38]

Sample Output of the code should be:


38 22 98 56 34 12

9. (i) A table, Employee has been created in a database with the (1)
following fields:
EmployeeID, NAME, Age, Salary

Give the SQL command to add a new field, Increment (of typeInteger)
to the Employee table.
(ii) Categorize following commands into DDL and DML commands? (2)

INSERT INTO, DROP TABLE, ALTER TABLE, UPDATE...SET


10. Briefly explain the concept of Digital Footprints (3)

Section C
Each question carries 4 marks
11. (i) Give two advantages and two disadvantages of star topology (2)

(ii) Define the following terms:


www , web hosting
12. “Anutulya Creations”-A start-up fashion house has set up its main centre (4)
at Kanpur, Uttar Pradesh for its dress designing, production and dress
supplying activities. It has 4 blocks of buildings.
Distance between the various blocks is as follows: A to D
50 m
A to P 60 m
A to S 110m
D to S 60m
P to S 50m
P to D 150m
Numbers of computers in each block
Block A – 20
Block D - 80
Block P - 15
Block S - 8
Based on the above specifications, answer the following
questions:
(a) Out of LAN, WAN and MAN, what type of network will be formed if
we interconnect different computers of thecampus? Justify.
(b) Suggest the topology which should be used to efficiently connect
various blocks of buildings within Kanpur centre for fast
communication.
Also draw the cable layout for the same.
(c) Suggest the placement of the following device with justification
i. Repeater
ii. Hub/Switch
(d) Now a day, video-conferencing software is being used frequently
by the company to discuss the product details with the clients.
Name any one video conferencing software.
Also mention the protocol which is used internally in video
conferencing software.
13. Carefully observe the following table named ‘stock’: (4)

Table: stock
Pid PName Category Qty Price
1 Keyboard IO 15 450
2 Mouse IO 10 350
3 Wifi-router NW 5 2600
4 Switch NW 3 3000
5 Monitor O 10 4500
6 Printer O 4 17000

Write SQL queries for the following:


(a) To display the records in decreasing order of price.
(b) To display category and category wise total quantities of products.
(c) To display the category and its average price.
(d) To display category and category wise highest price of theproducts.

You might also like