Skip to content

ISRO Scientist/Engineer CSE 2017Databases › Normalization

ISRO Scientist/Engineer CSE 2017 PYQ: Consider the following table: $\text{Faculty(facName, dept, office, rank, dateHired)}$ facName dept office…

Consider the following table: $\text{Faculty(facName, dept, office, rank, dateHired)}$

facName dept office rank dateHired
Ravi Art A101 Professor 1975
Murali Math M201 Assistant 2000
Narayanan Art A101 Associate 1992
Lakshmi Math M201 Professor 1982
Mohan CSC C101 Professor 1980
Sreeni Math M203 Associate 1990
Tanuja CSC C101 Instructor 2001
Ganesh CSC C105 Associate 1995

(Assume that no faculty member within a single department has same name. Each faculty mimber has only one office identified in $office$).$3NF$ refers to third normal form and $BCNF$ refers to Boyee-Codd Normal Form

Then $Faculty$ is

  1. A
    Not in 3NF,in BCNF
  2. B
    In 3NF,not in BCNF
    Correct answer
  3. C
    In 3NF, in BCNF
  4. D
    Not in 3NF, not in BCNF

Answer

(B) In 3NF,not in BCNF

Approach

A relation is in 3NF if for every nontrivial functional dependency X → A, either X is a superkey or A is a prime attribute (part of some candidate key). It is in BCNF if for every nontrivial FD X → A, X is a superkey. The given relation has a functional dependency whose left-hand side is not a superkey, but whose right-hand side is a prime attribute. Therefore the relation satisfies the relaxed condition of 3NF, so it is in 3NF. However, since the determinant is not a superkey, the stricter BCNF condition fails, so the relation is not in BCNF. Hence the relation is in 3NF but not in BCNF, which corresponds to option B.

Reviewed by ISRO IQ Editorial Team.