CS FundamentalsHardProduct placement · DBMS interview

Teach(course, teacher, book) satisfies course ↠ teacher | book, and the course DBMS has 3 teachers and 4 books. How many tuples must Teach store for DBMS, and how many tuples do the 4NF tables (course, teacher) and (course, book) store for it in total?

  1. A. 12 and 12
  2. B. 7 and 7
  3. C. 12 and 7
  4. D. 7 and 12

Correct answer: C. 12 and 7

The MVD forces every teacher–book pair: 3 × 4 = 12 tuples. After decomposition: 3 + 4 = 7 tuples, which is the redundancy 4NF removes.

More DBMS and SQL questions

Exams that ask this topic