GATE / CS ARCHIVE

GATE CSE 2006 / QUESTION 70

Closures under six functional dependencies

Database Management Systems · Functional Dependencies & Keys · Full GATE CSE 2006 paper

GATE 2006, Q70 2 marks · MCQ
Report issue

Functional Dependencies & Keys

Question 70, GATE 2006: Given dependencies AB→CD, AF→D, DE→F, C→G, F→E, G→A, which claimed attribute closure is false? Both reproductions contain the following options, including F in D.
Options:
(A) (CF)⁺={A,C,D,E,F,G}
(B) (BG)⁺={A,B,C,D,G}
(C) (AF)⁺={A,C,D,E,F,G}
(D) (AB)⁺={A,B,C,D,F,G}
Tap to enlarge
Your answer
Answer & solution

Answer: C, D (no official key was published)

1. Apply AB→CD, AF→D, DE→F, C→G, F→E, G→A until closure stops. (CF)+={A,C,D,E,F,G}: C gives G then A; F gives E; AF gives D.

2. (BG)+={A,B,C,D,G}: G gives A then AB gives C,D; neither E nor F is derivable. (AF)+={A,D,E,F}: AF gives D and F gives E, but nothing yields C or G.

3. (AB)+={A,B,C,D,G}: AB gives C,D, C gives G; no E or F follows. Thus C is false and D is also false because its printed right side includes F.

4. A and B are true. There is no unique single false option in these reproductions.

5. Teaching check: Begin each closure with the attributes on the left, then repeatedly add a dependency’s right side only when its entire left side is present. In particular DE→F cannot fire with D alone. This is why AB cannot acquire E or F and why AF cannot acquire C or G.

Original paper, page 11