CS FundamentalsHardGATE CS · Amazon/Microsoft placement

Σ = {B → A, D → B, AD → C, A → D}. Consider the FD AD → C while computing a canonical cover. Which statement about extraneous attributes on its left side is correct?

  1. A. Neither A nor D is extraneous
  2. B. Either A or D (but not both) can be dropped
  3. C. Only A is extraneous
  4. D. Only D is extraneous

Correct answer: B. Either A or D (but not both) can be dropped

Test each attribute: A is extraneous iff {D}⁺ (under Σ) contains C; {D}⁺ = {ABCD} and {A}⁺ = {ABCD}.

More DBMS and SQL questions

Exams that ask this topic