Assignment Normalization
Assignment Normalization
Assignment 3(b)
Problem based on Normalization: 1NF, 2NF, 3NF, and BCNF.
11. Consider the relation R (A, B, C, D) with the following functional dependencies:
A→B
B→C
13. Consider the relation R(a,b,c,d) with Set F={a→c,b→d} (i) Decompose this relation in 2 NF
14. Given the following set of FDs on schema R (V,W,X,Y,Z) {Z→V, W→Y, XY→Z, V→WX}State
whether the following decomposition are loss-less-join decompositions or not. (i) R1=(V,W,X) ,
R2=(V,Y,Z) (ii) R1=(V,W,X), R2=(X,Y,Z)
15. Consider the universal relation R = {A, B, C, D, E, F, G, H, I, J} and the set of functional dependencies
F = { {A, B}→{C}, {A}→{D, E}, {B}→{F}, {F}→{G,H}, {D}→{I, J} }. What is the key for R?
Decompose R into 2NF and then 3NF relations
16. What is highest normal form of the Relation R(W,X,Y,Z) with the set F= { WY → XZ, X →Y }
(ii) Consider a relation R(A,B,C,D,E) with set F= { A→CD, C→B,B→AE} What are the prime
attributes of this Relation and Decompose the given relation in 3NF.
17. Normalize the following schema, with given constraints, to 3NF.
books(accessionno, isbn, title, author, publisher) ,users(userid, name, deptid, deptname)
accessionno→isbn
isbn→title
isbn→publisher
isbn→→author
userid→name
userid→deptid
deptid→deptname
18. 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 stock. Hence, the overall schema is R = (B, O, I, S, Q, D). Assume
that the following functional dependencies are required to hold on this: