CS FundamentalsVery hardGATE CS · Product placement

R(A, B, C, D, E, F) has functional dependencies B → ACDF, A → B. How many superkeys does R have?

  1. A. 16
  2. B. 24
  3. C. 23
  4. D. 32

Correct answer: B. 24

Candidate keys are {AE, BE}. Count supersets of each key and apply inclusion–exclusion (a set may contain two keys): the total is 24, not the naive sum 32.

More DBMS and SQL questions

Exams that ask this topic