CS FundamentalsVery hardGATE CS · PSU (ISRO/BARC)

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

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

Correct answer: A. 24

Candidate keys are {AD, AF}. 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