GATE / CS ARCHIVE

GATE CSE 2002 / QUESTION 16(c)

Highest normal form of the decomposed relations

Database Management Systems · Normalization & Decomposition · Full GATE CSE 2002 paper

GATE 2002, Q16(c) Descriptive
Report issue

Normalization & Decomposition

Question 16(c), GATE 2002: R(L,M,N,O,P) has M→O,NO→P,P→L,L→MN and is decomposed into R1(L,M,N,P),R2(M,O). Original16(c): Determine the highest normal form of each decomposed relation.
Question 16(c), GATE 2002: R(L,M,N,O,P) has M→O,NO→P,P→L,L→MN and is decomposed into R1(L,M,N,P),R2(M,O). Original16(c): Determine the highest normal form of each decomposed relation.
Tap to enlarge
Answer & solution

Answer: Both R1 and R2 are in BCNF. (no official key was published)

Step through it (2 parts)

For R1(L,M,N,P), the candidate keys are {L}, {P}, and {M,N}. L gives M,N and then P using M→O and NO→P; P gives L and hence the rest; MN gives O and then P,L. Any determinant containing L or P is therefore a superkey. A determinant containing neither is a subset of {M,N}; neither M nor N alone determines an additional R1 attribute, whereas MN is a key. Hence every nontrivial projected dependency has a superkey determinant, so R1 is BCNF. In R2(M,O), M is the key and the only essential nontrivial dependency is M→O, so R2 is also BCNF. This does not imply dependency preservation; the lost NO→P constraint still requires checking across components.

Original paper, page 9