Skip to content
Official PYQ · 2015

GATE CS 2015 Set 3 Q20 — Normal Forms

Explain with AI

Consider the relation X(P,Q,R,S,T,U)X(P,Q,R,S,T,U) with the following set of functional dependencies

F={    {P,R}→{S,T},    {P,S,U}→{Q,R}  }F = \{ \\ \; \; \{P, R\} \rightarrow \{S, T\}, \\ \; \; \{P, S, U\} \rightarrow \{Q, R\} \\ \; \}

Which of the following is the trivial functional dependency in F+F^+, where F+F^+ is closure to F?

Choose one option
View worked solution

Answer: C

A functional dependency A→BA \rightarrow B is defined as trivial if the right-hand side attribute set is a subset of the left-hand side attribute set, i.e., B⊆AB \subseteq A.

Let's evaluate each option based on this definition:

  • Option A: {P,R}→{S,T}\{P, R\} \rightarrow \{S, T\}. Here, {S,T}⊈{P,R}\{S, T\} \not\subseteq \{P, R\}. This is a non-trivial dependency.
  • Option B: {P,R}→{R,T}\{P, R\} \rightarrow \{R, T\}. Here, {R,T}⊈{P,R}\{R, T\} \not\subseteq \{P, R\}. This is a semi-trivial (non-trivial) dependency.
  • Option C: {P,S}→{S}\{P, S\} \rightarrow \{S\}. Here, {S}⊆{P,S}\{S\} \subseteq \{P, S\}. This is a trivial dependency. By the reflexivity rule of Armstrong's axioms, trivial dependencies always hold and are guaranteed to be in F+F^+.
  • Option D: {P,S,U}→{Q}\{P, S, U\} \rightarrow \{Q\}. Here, {Q}⊈{P,S,U}\{Q\} \not\subseteq \{P, S, U\}. This is a non-trivial dependency.

Therefore, the only trivial functional dependency is {P,S}→{S}\{P, S\} \rightarrow \{S\}.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Normal Forms questions