Question Paper
Question Paper
General Instructions:
1. The question paper is divided into 4 sections – A, B, C and D
2. Section A, consists of 10 questions (1-10). Attempt any 8 questions (1 mark each).
3. Section B, consists of 5 questions (11-15). Attempt any 4 questions (2 mark each).
4. Section C, consists of 5 questions (16-20). Attempt any 4 questions (3 mark each).
5. Section D, consists of 3 questions (21-23). All questions are compulsory (4 mark each).
Q.
Question Marks
N.
Section - A
Which amongst the following is the first page we normally view on a website?
01 a. Home Page b. Master Page 1
c. First Page d. Banner Page
The full form of VoIP is __________.
02 a. Value over Internet Protocol b. Viruses over Internet Protocol 1
c. Voice over Internet Protocol d. Virtual over Internet Protocol
Network of a lab is an example of ______________.
03 a. Local Area Network b. Wide Area Network 1
c. Personal Area Network d. Metropolitan Area Network
Which amongst the following network device uses MAC address to deliver the
packet?
04 1
a. Gateway b. Hub
c. Switch d. Both b & c
Which among the following is not a web browser?
05 a. Firefox b. Safari 1
c. UC Browser d. File Explorer
Which among the following is a type of Hub?
06 a. Active b. Lazy 1
c. Passive d. Both a & c
Which among the following type of network which connects a large city,
multiple cities or a town?
07 1
a. LAN b. MAN
c. WAN d. None of the following
What is the behaviour of “GROUP BY” clause in MySQL?
08 a. Group data by column b. Group data by row 1
c. Group data by column and row d. None of the mentioned
Which of the following is not an aggregate function?
09 a. Avg b. Add 1
c. Max d. Count
In which function, NULL values are excluded from the result returned?
10 a. Count b. Max 1
c. Avg d. All of these
Section - B
11 Write any four differences between LAN and WAN. 2
Write one advantage of the bus topology of the network? Also, illustrate how
12 four (4) computers can be connected with each other using the bus topology 2
of the network.
13 Differentiate between Static and Dynamic webpages. 2
Gokul is using a table Employee. It has the following columns: EmpCode, Name,
Salary, DeptCode. He wants to display maximum salary department wise and
written the following command for same:
14 2
SELECT DeptCode, MAX(Salary) FROM Employee;
But he did not get the desired result. Rewrite the above query with necessary
changes to help him get the desired output
Mr. Singh, a database learner, wants to arrange the records of a table ‘Record’
in descending order of its one of the field ‘NAME’. He needs help. Suggest him
15 2
the suitable clause for it. Also, properly explain its usage with the help of an
example.
Section - C
16 State any three differences between a web-page and a website. 3
17 What is a web server? Also, explain the concept of web-hosting with example. 3
18 Explain Modem, Hub, Switch, Repeater, Router and Gateway 3
What is the purpose of GROUP BY clause in MySQL? How is it different from
19 3
ORDER BY clause? Explain with the help of example.
20 Differentiate where and having clauses with suitable examples. 3
Section - D
Devansh, a database analyst has created the following table: Salesman
S. N. SNAME SALARY BONUS DATE_OF_JOIN STORE_TYPE
A01 ANIL 30000 45.23 29/10/2019 Grocery
A02 DEEPAK 50000 25.34 13/03/2018 Grocery
B03 NIRBHAY 30000 35.00 18/03/2017 Hardware
B04 UBESH 80000 NULL 31/12/2018 Hardware
C05 AATIF 20000 NULL 23/01/1989 Health
21 C06 KRITIKA 50000 25.34 13/03/2018 Health 4
E07 ANGEL 30000 35.00 18/03/2017 Software
E08 PAYAL 80000 NULL 31/12/2018 Software
He has written following queries:
a) SELECT SUM(Salary) FROM Salesman WHERE Bonus IS NULL AND Salary
> 20000;
b) SELECT MAX(Salary) + MIN(Bonus) FROM Salesman WHERE Store_Type
= ‘GROCERY’;
c) SELECT AVG(Salary) FROM Salesman WHERE Store_Type= ‘Software’;
d) SELECT LENGTH(SName) from salesman where bonus is NULL;
Predict the output of the above given queries. Also give proper justifications
of the output generated through each query.
Consider the following table named Product:
Code Name Price Manufacturer
P01 Washing Powder 120 Rin
P02 Toothpaste 54 Colgate
P03 Soap 25 Lifebuoy
P04 Toothpaste 65 Pepsodent
22 P05 Soap 38 Dove 4
P06 Shampoo 245 Dove
Write SQL Queries for the following:
a) Display records in increasing order by Name.
b) Display the total numbers of products manufactured by each
manufacturer.
c) Display the maximum Price.
d) Display the maximum Price for each Manufacturer.
(i) Suggest an ideal layout for connecting these blocks/centres for wired
connectivity.
(ii) Which device will you suggest to be placed/installed in each of these
blocks/centres to efficiently connect all the computers within these
blocks/centres?
(iii) Suggest the placement of a Repeater in the network with justification.
(iv) The university is planning to connect its admission office in Delhi, which
is more than 780 km from the university. Which type of network out of
LAN, MAN, or WAN will be formed? Justify your answer