16CS52
16CS52
USN
RV COLLEGE OF ENGINEERING®
(An Autonomous Institution affiliated to VTU)
V Semester B. E. Examinations August-2022
Computer Science and Engineering
DATABASE DESIGN
Time: 03 Hours Maximum Marks: 100
Instructions to candidates:
1. Answer all questions from Part A. Part A questions should be answered
in first three pages of the answer book only.
2. Answer FIVE full questions from Part B. In Part B question number 2, 7
and 8 are compulsory. Answer any one full question from 3 and 4 & one
full question from 5 and 6
PART-A
PART-B
OR
OR
6 a Suppose we have a database for an investment firm, consisting of the
following attributes:
B-Broker,O-Office of a broker, I-Investor,S-Stock
Q-Quantity of stock owned by an investor, D-dividend paid by a sock.
Hence, the overall schema is R=(B,O,I,S,Q,D).
Assume that the following functional dependencies are required to
hold on this database.
I
i. Determine the key for R.
ii. Normalize R into BCNF.
iii. Normalize R into 3NF preserving functional dependency.
Verify whether your answer is in BCNF? 10
b Differentiate between Nested Queries and correlated Nested Queries
with examples. 06