database practices 2022
database practices 2022
(Regulations 2021)
Time :Three hours Maximum: 100 marks
1 List the various types of attributes used in E-R model with an example.
7.
utilizing a
Define NoSQL database types and list the merits and demerits of DISike
key-value store.
8 Recall the query language used by Neo4j and describe the same.
9. Give examples of how do SQL Injection attacks work?
10. Outline the challenges faced in maintaining database security.
PART B-(5x 13 =65 marks)
11. (a) Illustrate the use of aggregate functions with examples.
Or
(b) The following relations keep track of airline flight information:
Flights(tlno: integer, fromn: string. to: string. distance: integer, departs:
time, arrives: time, price: integer) Aireraft(aid: integer, aname: string.
cruisingrange: integer) Certified (eid: integer, aid: integer) Employees
(eid: integer, ename: string, salary: integer)
(i) Print the enames of pilots who can operate planes with cruising
range greater than 3000 miles but are not certified on any Boeing
aireraft. (4)
(ii) A customer wants to travel from Madison to New York with no
more than two changes of flight. List the choice of departure times
from Madison if the customer wants to arrive in New York by
6p.m. (4)
Find the names of aircrafts such that all pilots certified to operate
them earn more than $80,000. (5)
12. (a) Explain the design and implementation issues of active databases.
Or
13. (a) How to Store and Extract XML Documents from Databases
Demonstrate with an example. 0Ke
Or
(b) Explain the role of DTD in XML. Create an XML document to represgent
book store with two books and each book should have attributes fo: title
author and price. Write an X path expression to select all the trok
elements with price greater than $20 from the created XML document.
DSike
14. (a) Demonstrate the concepts of Hbase storage and distributed systems.
Or
(b) Explain MongoDB data model with neat diagram.
15. (a) Explain mandatory access control and role based access control.
Or