The GATE Grind

GATE 2015 CS (CS3) – Question 13

Databases · Integrity Constraints and Normal Forms · 1 mark · Multiple choice

For X(P,Q,R,S,T,U), F={PR→ST, PSU→QR}. Which dependency in F⁺ is trivial?

  1. PR→ST
  2. PR→RT
  3. PS→S
  4. PSU→Q

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (C) PS→S

Explanation

A functional dependency A→B is trivial precisely when B is a subset of A. Only PS→S has its right side contained in its left side. It follows by reflexivity regardless of the supplied nontrivial dependencies. Thus C.

More Integrity Constraints and Normal Forms questions

All Integrity Constraints and Normal Forms questions →