GATE / CS ARCHIVE

GATE CSE 2016 SET 1 / QUESTION 21

GATE CSE 2016 Set 1 Q21

Database Management Systems · Functional Dependencies & Keys · Full GATE CSE 2016 Set 1 paper

GATE 2016 Set 1, Q21 1 mark · MCQ
Report issue

Functional Dependencies & Keys

Question 21, GATE 2016: A relational schema has attributes V,W,X,Y,Z and primary key VY. Which choice is NOT a superkey? A: VXYZ. B: VWXZ. C: VWXY. D: VWXYZ. No other functional dependencies are specified; distinguish the intended answer from what the premise alone guarantees.
Tap to enlarge
Your answer
Answer & solution

Official answer: B

Our answer: B is not guaranteed; literal insufficiency of dependencies

A, C, D contain the given primary key VY and are therefore superkeys. B=VWXZ omits Y, so it is the only set not guaranteed to be a superkey by that key alone, intended B. However a primary key does not exclude other candidate keys: adding X→Y would make B a superkey too while VY can remain minimal. No complete FD set is supplied, so the literal assertion that B is not a superkey needs the implicit assumption that no other dependency determines Y.

A superkey determines every attribute; any superset of a known key is therefore automatically a superkey. This immediately verifies A,C,D. Under only the supplied key dependency VY→VWX YZ, closure of VWXZ lacks Y, giving intended B. But “primary” means the chosen candidate key, not the only candidate key. If X→Y is additionally valid, VWXZ closes to all attributes. Keeping this caveat prevents a multiple-choice convention from being taught as a false database theorem.

Original paper, page 10 · Answer key