515 views
3 votes
3 votes
Consider relation $R(A,B,C,D,E,F,G,H)$ and the functional dependencies $\{AB \rightarrow C, BD \rightarrow EF, A \rightarrow G, F \rightarrow H\}.$ If $2\;NF$ decomposition of $R$ requires minimum $'a'$ relations, and $3\;NF$ decomposition requires minimum $'b'$ relations, the value of $a\times b =$ _____

1 Answer

Best answer
5 votes
5 votes
The only candidate key is $\{ABD\}.$

So, $AB \to C, BD \to EF$ and $A \to G$ violates 2NF. To make the relation in 2NF, we can decompose $R$ to $R_1(A,B,C), R_2(A,B,D),R_3(A,G), R_4(B,D,E,F,H)$

In the above decomposition we do not have any partial FD but transitive dependency $F \to H$ is there. To avoid this $R_4$ must be split to $R_5(B,D,E,F)$ and $R_6(F,H).$

Thus $a = 4, b = 5 \implies a \times b = 20.$
selected by
Answer:

Related questions

4 votes
4 votes
1 answer
2
gatecse asked Oct 8, 2020
365 views
From the following instance of a relation schema $R(A,B,C)$, we can conclude that:(Mark all the appropriate options)$$\begin{array}{|l|l|l|}\hline \textbf{A} & \textbf{B}...
1 votes
1 votes
1 answer
3
gatecse asked Oct 8, 2020
164 views
Given the following relation instance.$$\begin{array}{|l|l|l|}\hline \text{X} & \text{Y} & \text{Z} \\\hline \text{1} & \text{0} & \text{5} \\\text{2} & \text{1} & \text{...