GATE / CS ARCHIVE

GATE CSE 2009 / QUESTION 56

Normal form with key-implied dependencies

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

GATE 2009, Q56 2 marks · MCQ
Report issue

Normalization & Decomposition

Question 56, GATE 2009: For the preceding schema, supplier names and street names are unique within a city, and(sname, city) is a candidate key. No FDs other than those implied by primary/candidate keys are assumed. Choose A BCNF; B 3NF not BCNF; C 2NF not 3NF; D not 2NF.
Question 56, GATE 2009: For the preceding schema, supplier names and street names are unique within a city, and(sname, city) is a candidate key. No FDs other than those implied by primary/candidate keys are assumed. Choose A BCNF; B 3NF not BCNF; C 2NF not 3NF; D not 2NF.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

The given primary keys are Suppliers.sid, Parts.pid, and Catalog.(sid, pid); Suppliers additionally has candidate key (sname, city). The question explicitly rules out functional dependencies other than those implied by primary and candidate keys. Consequently every nontrivial FD has a superkey as determinant, exactly the BCNF condition. All three relations are in BCNF, option A. Do not infer street→city from an address or infer sname alone is a key: the stipulated uniqueness is within a city and (sname, city) is explicitly the candidate key.

BCNF tests every nontrivial FD X→Y and requires X to be a superkey. The source explicitly permits only dependencies implied by the listed keys, so all such determinants qualify. Do not invent dependencies from the meaning of street or supplier name beyond the stated within-city uniqueness. Thus the schema meets BCNF and consequently the weaker normal forms as well; A is the strongest correct listed description.

Original paper, page 13