UGC-NET Aug 2016 · Normal Forms (1NF, 2NF, 3NF, BCNF)

MCQ · 2 marks · Problem DBMS-NORM-0025

Consider the table $R$ with attributes $A, B$ and $C$. The functional dependencies that hold on $R$ are : $A \rightarrow B, C \rightarrow AB$. Which of the following statements is/are True ? I. The decomposition of $R$ into $R1(C, A)$ and $R2(A, B)$ is lossless. II. The decomposition of $R$ into $R1(A, B)$ and $R2(B, C)$ is lossy.
  1. A
    Only $I$
  2. B
    Only $II$
  3. C
    Both $I$ and $II$
  4. D
    Neither $I$ nor $II$

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

Show the worked solution\[\boxed{R_1\cap R_2\to R_1\ \text{or}\ R_1\cap R_2\to R_2\ \iff\ \text{lossless}}\]I: \(R_1(C,A)\), \(R_2(A,B)\). The common attribute is \(A\), and \(A\to B\) makes \(A\) a key of \(R_2\). Lossless, so I is true. II: \(R_1(A,B)\), \(R_2(B,C)\). The common attribute is \(B\), and \(B^+=B\) is a key of neither part. Lossy, so II is true. For example, \(R=\{(a_1,b,c_1),(a_2,b,c_2)\}\) with \(C\to AB\), \(A\to B\) rejoins to give 4 tuples.Answer: C

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