CS FundamentalsVery hardGATE CS

R(A, B, C, D, E, F) has functional dependencies A → BC, CD → E, E → A and B → F. It is decomposed into R1(A, B, C, F) and R2(A, C, D, E). Which statement is correct?

  1. A. It is lossy, because the common attributes A, C are not a key of R2
  2. B. It is lossless and dependency-preserving; R1 is in 2NF but not 3NF, and R2 is in 3NF but not BCNF
  3. C. It is lossless but not dependency-preserving, because B → F is lost
  4. D. It is lossless and dependency-preserving, and both R1 and R2 are in BCNF

Correct answer: B. It is lossless and dependency-preserving; R1 is in 2NF but not 3NF, and R2 is in 3NF but not BCNF

A⁺ = ABCF, so the common part A, C is a key of R1 and the join is lossless; every FD lies inside R1 or R2. R1 has key A and the transitive B → F, so it is 2NF only. R2 has keys AD, CD and DE; E → A violates BCNF, but A is prime, so R2 is in 3NF.

More DBMS and SQL questions

Exams that ask this topic