edited by
47,279 views
100 100 votes

Consider the schema $R=(S,T, U, V)$ and the dependencies $S \rightarrow T, T \rightarrow U, U \rightarrow V$ and $V \rightarrow S$. Let $R = (R1\text{ and } R2)$ be a decomposition such that $R1 \cap R2 \neq \phi$. The decomposition is

  1. not in $\textsf{2NF}$
  2. in $\textsf{2NF}$ but not $\textsf{3NF}$
  3. in $\textsf{3NF}$ but not in $\textsf{2NF}$
  4. in both $\textsf{2NF}$ and $\textsf{3NF}$

14 Answers

Best answer
141 141 votes
$R_1 \cap R_2 \neq \phi.$ This makes the decomposition lossless join, as all the attributes are keys, $R_1 \cap R_2$ will be a key of the decomposed relations (lossless condition says the common attribute must be a key in at least one of the decomposed relation).  Now, even the original relation $R$ is in $3NF$ (even $\text{BCNF}$)as all the attributes are prime attributes (in fact each attribute is a candidate key).  Hence, any decomposition will also be in $3NF$ (even $\text{BCNF}$). Option $D$.

PS: Decomposition in $3NF$ means decomposed relations are in $3NF$. But when we consider any decomposed relation, we must also include any FD which are being implied by the original relational schema. For example, in a decomposed relation $STU,$ there will be a FD $U\to S$ as well.
edited by
32 32 votes

Answer : In both 2NF and 3NF 

Dependencies are 

 S --> T, T --> U, U -->V  V --> S

S+ = STUV          U+ = UVST

T+ = UVST          V+ = VSTU

There is no Partial Dependencies here So it is in 2 NF

RHS of every Dependencies  is a Key as well as all are Prime Attributes So it is in 3 NF.

11 11 votes

R1 ∩ R2 != ∅. This makes the decomposition lossless join and as all the attributes are prime, so whatever is the decomposition, it will be 2NF and 3NF. So, Ans will be option d.

7 7 votes
(d) both in 2nf and 3nf

since r1 and r2 does not have any common attributes , and if we decomse it to relation having 2 attributes, then they are by default in 3nf , Suppose if we decompose r1 with 1 attribute and r2 with 3 attributes, since all of them are dependent all of them could be a prime attribute in this case also they are in 3nf, since they are in 3nf, 2nf by default satisfy
6 6 votes
If all the attributes are candidate keys, then any subset of attributes will be a super key

Whatever FD you can form, your LHS will have a subset of attributes

From above stataments, we can say that any FD that can be formed will have LHS as a super-key

This is good enough to say that the relation is in BCNF ...

This is also applicable even after the decomposition of relation irrespective of what common attributes we have (even if there is no common attributes, though lossy decompositions are not recommended)
4 4 votes
since no partial dependency and non key to non key

every determinant is deriving all atributes so in bcnf

 by default 1nf

so it is all 1nf,2nf,3nf, and bcnf
Answer:
Position:
Show:

Related questions

43 43 votes
6 answers 6 answers
16.6k
16.6k views
Kathleen asked Sep 23, 2014
16,586 views
The number of binary strings of $n$ zeros and $k$ ones in which no two ones are adjacent is$^{n-1}C_k$$^nC_k$$^nC_{k+1}$None of the above
122 122 votes
8 answers 8 answers
43.6k
43.6k views
Kathleen asked Sep 21, 2014
43,627 views
Which one of the following statements is $\text{FALSE}$?Any relation with two attributes is in $\text{BCNF}$A relation in which every key has only one attribute is in $\t...
41 41 votes
4 answers 4 answers
8.2k
8.2k views
Kathleen asked Sep 23, 2014
8,247 views
Let $R = (A, B, C, D, E, F)$ be a relation scheme with the following dependencies $C \rightarrow F, E \rightarrow A, EC \rightarrow D, A \rightarrow B $. Which one of the...
49 49 votes
4 answers 4 answers
22.3k
22.3k views
Kathleen asked Sep 23, 2014
22,280 views
Which of the following is correct?B-trees are for storing data on disk and B$^+$ trees are for main memory.Range queries are faster on B$^+$ trees.B-trees are for primary...