GATE / CS ARCHIVE

GATE CSE 2015 SET 3 / QUESTION 13

GATE CSE 2015 Set 3 Q13

Database Management Systems · Functional Dependencies & Keys · Full GATE CSE 2015 Set 3 paper

GATE 2015 Set 3, Q13 1 mark · MCQ
Report issue

Functional Dependencies & Keys

Question 13, GATE 2015: Relation X(P,Q,R,S,T,U) has functional dependencies F={ {P,R}→{S,T}, {P,S,U}→{Q,R} }. F⁺ is the closure of F. Which listed dependency is trivial? (A) {P,R}→{S,T}; (B) {P,R}→{R,T}; (C) {P,S}→{S}; (D) {P,S,U}→{Q}.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

1. The closure notation does not make a nontrivial dependency trivial. In A the right side introduces S,T; in B it introduces T; in D it introduces Q. Only C has no right-side attribute outside the left side.

2. A functional dependency X→Y is trivial precisely when Y⊆X. Here{P, S}→{S} meets this condition, C, independently of the other dependencies.

Original paper, page 57 · Answer key