Skip to content
Official PYQ · 2002

GATE CS 2002 Q2.25 — Normal Forms

Explain with AI

From the following instance of a relation schema R(A,B,C)R(A,B,C), we can conclude that:

ABC111110232232\begin{array}{|l|l|}\hline \textbf{A} & \textbf{B} & \textbf{C} \\ \hline \text{1} & \text{1} & \text{1} \\ \text{1} & \text{1} & \text{0} \\ \text{2} & \text{3} & \text{2} \\ \text{2} & \text{3} & \text{2} \\ \hline \end{array}

Choose one option
View worked solution

Answer: C

To determine which options are correct, we must understand a fundamental property of functional dependencies (FDs):

  • A functional dependency X→YX \rightarrow Y is a semantic constraint that must hold for all possible instances of a relation schema.
  • A single relation instance can disprove (falsify) a functional dependency if we find a violation.
  • However, a single relation instance can never prove that a functional dependency holds for the schema, as future valid instances might violate it.

Let's analyze the given instance of relation R(A,B,C)R(A, B, C):

ABC111110232232\begin{array}{|c|c|c|}\hline \textbf{A} & \textbf{B} & \textbf{C} \\ \hline 1 & 1 & 1 \\ 1 & 1 & 0 \\ 2 & 3 & 2 \\ 2 & 3 & 2 \\ \hline \end{array}

1. Testing B→CB \rightarrow C:

Look at the first two tuples:

  • Tuple 1: (1,1,1)(1, 1, 1)
  • Tuple 2: (1,1,0)(1, 1, 0)

Here, the BB values are identical (11), but the corresponding CC values are different (11 and 00). This is a direct violation of the dependency B→CB \rightarrow C.

Therefore, we can conclusively state that BB does not functionally determine CC (B↛CB \not\rightarrow C).

2. Testing A→BA \rightarrow B:

In this specific instance, for every identical value of AA, the values of BB are also identical:

  • For A=1A = 1, B={1,1}B = \{1, 1\}
  • For A=2A = 2, B={3,3}B = \{3, 3\}

While the dependency A→BA \rightarrow B is satisfied by this specific instance, we cannot conclude that A→BA \rightarrow B holds as a schema-level constraint, because a future instance might violate it.

Conclusion:

  • We can definitely conclude that BB does not functionally determine CC (Option C).
  • We cannot conclude that AA functionally determines BB, which makes Option B incorrect.

Thus, the correct option is C.

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

Published
Report a correction
Keep exploringMore Normal Forms questions