r20 Dbms Regular Paper 2022..
r20 Dbms Regular Paper 2022..
Or
2 a) Discuss about the centralized architecture of database in detail. [8M]
b) Briefly discuss about various types of data models. [7M]
3 Consider the following relational database. Give an expression in SQL for [15M]
each of the following queries.
employee (employee-name, street, city)
works (employee-name, company-name, salary)
company (company-name, city)
manages (employee-name, manager-name)
a. Modify the database so that Jones now lives in Newtown.
b. Give all employees of First Bank Corporation a 10 percent raise.
c. Give all managers of First Bank Corporation a 10 percent raise.
d. Give all managers of First Bank Corporation a 10 percent raise unless the
salary becomes greater than $100,000; in such cases, give only a 3 percent
raise.
e. Delete all tuples in the works relation for employees of Small Bank
Corporation.
Or
4 a) What is the importance of null values? Explain with examples. [8M]
b) What are set operations of SQL? Explain. [7M]
5 A university registrar’s office maintains data about the following entities: (a) [15M]
courses, including number, title, credits, syllabus, and prerequisites; (b) course
offerings, including course number, year, semester, section number,
instructor(s),timings, and classroom; (c) students, including student-id, name,
and program; and (d) instructors, including identification number, name,
department, and title. Further, the enrollment of students in courses and grades
awarded to students in each course they are enrolled for must be appropriately
modeled. Construct an E-R diagram for the registrar’s office. Document all
assumptions that you make about the mapping constraints.
Or
6 a) Explain the distinctions among the terms primary key, candidate key, and [8M]
superkey.
b) What is a nested query? Explain with SQL examples. [7M]
1 of 2
|''|'||||''|'''|||'|
Code No: R1922054 R19 SET - 1
7 a) Explain 1NF, 2NF and 3NF in detail with suitable examples. [8M]
b) Define multivalued dependency. Explain decomposition using multivalued [7M]
dependencies.
Or
8 a) Compute the closure of the following set F of functional dependencies for [8M]
relation schema R = (A, B, C, D, E).
A →BC
CD →E
B→D
E→A
List the candidate keys for R.
b) Give asset o FDs for the relation schema R(A,B,C,D) with primary key AB [7M]
under which R is in 1NF but not in 2NF.
Or
10 Explain the following:
a) Deletion algorithm of B+ tree [5M]
b) Conflict serializability [5M]
c) Linear hashing [5M]
2 of 2
|''|'||||''|'''|||'|