GATE IT 2007 · Normal Forms (1NF, 2NF, 3NF, BCNF)

MCQ · 1 mark · Problem DBMS-NORM-0078

Consider the following implications relating to functional and multivalued dependencies given below, which may or may not be correct.i. if \(A \rightarrow \rightarrow B\) and \(A \rightarrow \rightarrow C\) then \(A \rightarrow BC\)ii. if \(A \rightarrow B\) and \(A \rightarrow C\) then \(A \rightarrow \rightarrow BC\)iii. if \(A \rightarrow \rightarrow BC\) and \(A \rightarrow B\) then \(A \rightarrow C\)iv. if \(A \rightarrow BC\) and \(A \rightarrow B\) then \(A \rightarrow \rightarrow C\)Exactly how many of the above implications are valid?
  1. A
    0
  2. B
    1
  3. C
    2
  4. D
    3

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solution\[\boxed{X\to Y\ \Rightarrow\ X\twoheadrightarrow Y,\quad\text{but } X\twoheadrightarrow Y \not\Rightarrow X\to Y}\]i. Invalid. The MVDs give only \(A\twoheadrightarrow BC\) (union rule), not the FD. Counterexample on \(R(A,B,C)\): \(\{(0,0,0),(0,1,1)\}\) satisfies both MVDs (trivially, since \(A\twoheadrightarrow BC\) covers all of \(R\)) but violates \(A\to BC\).ii. Valid. \(A\to B,\ A\to C\Rightarrow A\to BC\Rightarrow A\twoheadrightarrow BC\).iii. Invalid. In \(R(A,B,C)\), \(A\twoheadrightarrow BC\) is trivial. The relation \(\{(0,0,0),(0,0,1)\}\) satisfies \(A\to B\) but not \(A\to C\).iv. Valid. \(A\to BC\Rightarrow A\to C\Rightarrow A\twoheadrightarrow C\).Exactly 2 implications are valid.Answer: C

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com