CS FundamentalsVery hardProduct company interview · GATE level

The set F = { A → B, BC → D, AC → D, D → E, CE → A } holds on R(A, B, C, D, E). Which of the following dependencies is redundant, i.e. can be removed from F without changing its closure?

  1. A. AC → D
  2. B. BC → D
  3. C. D → E
  4. D. CE → A

Correct answer: A. AC → D

An FD X → Y is redundant if Y is in the closure of X computed from the other FDs. Without AC → D: {A, C}+ gains B (A → B) and then D (BC → D), so AC → D is still implied and can be dropped. Without BC → D: {B, C}+ = {B, C} only. Without D → E: {D}+ = {D}. Without CE → A: {C, E}+ = {C, E}. So only AC → D is redundant; the others each carry information nothing else supplies.

More DBMS and SQL questions

Exams that ask this topic