CS FundamentalsVery hardIBM · Deloitte pattern

R(A, B, C, D, E) has functional dependencies A → B, C → D, BD → E, giving candidate key(s) AC. How many superkeys does R have in total?

  1. A. 9
  2. B. 31
  3. C. 8
  4. D. 7

Correct answer: C. 8

Testing every non-empty subset of {ABCDE} (out of 31 total) for whether its closure covers all attributes gives exactly 8 superkeys.

More DBMS and SQL questions

Exams that ask this topic