CS FundamentalsVery hardGATE CS (PYQ pattern)

R(A, B, C, D, E, F) has the functional dependencies B → E, E → D, B → E, EB → A, A → F. Decompose R into BCNF by this procedure: while some relation r has a violating FD, take the first listed FD whose left side X lies in r and for which Y = (X+ ∩ r) − X is non-empty while X+ ∩ r is not all of r, and split r into (X ∪ Y) and (r − Y). How many relations result?

  1. A. 5
  2. B. 4
  3. C. 3
  4. D. 6

Correct answer: B. 4

Repeated splitting gives the relations ['BC', 'DE', 'AF', 'ABE'].

More DBMS and SQL questions

Exams that ask this topic