Question
Consider the relation with the following set of functional dependencies
Which of the following is the trivial functional dependency in , where is closure of ?
Official answer and solution
- Official answer
- C
- From
- Official GATE 2015 answer key
Solution
Recall the formal definition of a trivial functional dependency.
By definition, a functional dependency is trivial if and only if the right-hand side is a subset of the left-hand side:
Evaluate the choices:
- Option A: . Here , so it is non-trivial.
- Option B: . Here (since ), so it is semi-trivial / non-trivial.
- Option C: . Here . Thus, is a trivial functional dependency.
- Option D: . Here , so it is non-trivial.
Therefore, Option C is the trivial functional dependency.
C
Confusing functional dependencies given in F with trivial dependencies, which hold universally by reflexivity regardless of F.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2015 Computer Science and Information Technology (CS) Session 3
- Question
- 30 of 65, printed as CS Q.20
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.