Question:

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

Show Hint

Functional dependency follows reflexivity, augmentation, and transitivity. Carefully apply these properties to analyze dependencies.
Updated On: Jan 22, 2025
  • \( (X, Y) \rightarrow (Z, W) \) implies \( X \rightarrow (Z, W) \)
  • \( (X, Y) \rightarrow (Z, W) \) implies \( (X, Y) \rightarrow Z \)
  • \( ((X, Y) \rightarrow Z \text{ and } W \rightarrow Y) \) implies \( (X, W) \rightarrow Z \)
  • \( (X \rightarrow Y \text{ and } Y \rightarrow Z) \) implies \( X \rightarrow Z \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Analyze each functional dependency statement. Option (1): \( (X, Y) \rightarrow (Z, W) \) does not necessarily imply \( X \rightarrow (Z, W) \). For example, if \( X \) does not uniquely determine \( Z \) or \( W \) without \( Y \), this fails. Hence, this is FALSE. Option (2): \( (X, Y) \rightarrow (Z, W) \) implies \( (X, Y) \rightarrow Z \), as \( Z \) is part of the attributes determined by \( (X, Y) \). This is TRUE. Option (3): From the given dependencies \( (X, Y) \rightarrow Z \) and \( W \rightarrow Y \), we can infer \( (X, W) \rightarrow Z \) by substitution. This is TRUE. Option (4): The transitivity property of functional dependency ensures \( X \rightarrow Y \text{ and } Y \rightarrow Z \) implies \( X \rightarrow Z \). This is TRUE. Final Answer: \[ \boxed{(2), (3), (4)} \]
Was this answer helpful?
0
0

Questions Asked in GATE CS exam

View More Questions