Skip to main content

GATE CSE 2024Databases › Normalization & Functional DependenciesVerified

GATE CSE 2024 PYQ: ​The symbol → \rightarrow → indicates functional dependency in the context of a relational database. Which…

​The symbol →\rightarrow indicates functional dependency in the context of a relational database. Which of the following options is/are TRUE?

  1. A
    (X,Y)→(Z,W)(X, Y) \rightarrow(Z, W) implies X→(Z,W)X \rightarrow(Z, W)
  2. B
    (X,Y)→(Z,W)(X, Y) \rightarrow(Z, W) implies (X,Y)→Z(X, Y) \rightarrow Z
    Correct answer
  3. C
    ((X,Y)→Z((X, Y) \rightarrow Z and W→Y)W \rightarrow Y) implies (X,W)→Z(X, W) \rightarrow Z
    Correct answer
  4. D
    (X→Y(X \rightarrow Y and Y→Z)Y \rightarrow Z) implies X→ZX \rightarrow Z
    Correct answer

Answer

(B, C, D) ( X , Y ) → ( Z , W ) (X, Y) \rightarrow(Z, W) ( X , Y ) → ( Z , W ) implies ( X , Y ) → Z (X, Y) \rightarrow Z ( X , Y ) → Z; ( ( X , Y ) → Z ((X, Y) \rightarrow Z (( X , Y ) → Z and W → Y ) W \rightarrow Y) W → Y ) implies ( X , W ) → Z (X, W) \rightarrow Z ( X , W ) → Z; ( X → Y (X \rightarrow Y ( X → Y and Y → Z ) Y \rightarrow Z) Y → Z ) implies X → Z X \rightarrow Z X → Z

Approach

Test each proposed implication using Armstrong's axioms and their derived rules: reflexivity, augmentation, transitivity, decomposition, and union. In particular, decomposition allows splitting the right-hand side of an FD, but the left-hand side cannot be split or reduced.

Options B, C, and D are valid consequences under Armstrong's axioms. Option A is invalid because functional dependency inference does not allow dropping attributes from the left-hand side.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.