Question

In: Computer Science

(a) Find a canonical cover for the FDs of the following table. (b) Put the table...

(a) Find a canonical cover for the FDs of the following table. (b) Put the table into 3NF.

T(A, B, C, D, E)

B --> CD

CD --> A

BC --> A

CD --> E

B --> E

Solutions

Expert Solution

Canonical Cover is the simplified version of given set of functional dependency. It is also called as irreducible set.

Steps:

Consider the FD B-> CD

Find the B+ by ignore that FD B->CD and consider the remaining FD

(B)+= {B,E} in this CD is not present in the closure set. so it is important we cant remove it

now consider the second FD CD - > A

(CD)+ = { C,D, E} in this A is not present in the closure set. so its important

now consider the third FD BC-> A

(BC)+= { B,C, D, E, A} in this A is present in the closure set. so we can remove this FD because by removing thes BC->A is not change in the set of FD's

now consider CD-> E

(CD)+= { C,D, A} it's important

Finally consider the FD B-> E

(B)+= { B, C, D, E, A} we can remove this FD

Finally after reducing the

canonical cover for the FDs is :

B -> CD

CD -> A

CD -> E

3NF:

It must be in 2NF. It should not contain transitive dependency.

Consider the FDs

B-> CD, CD-> A, CD-> E

in this B-> CD is Fully Functional Dependency and B is a Primary Key.

CD-> A and CD- E are contains transitive dependency

So we have following Relation Tables(A,B,C,D,E)

Table1 attributes are (B, C, D) B is a Primary Key

Table2 attributes are (C, D, A) CD is a Candidate Key

Table3 Attributes are (C,D, E)


Related Solutions

Find the characteristics and characteristic coordinates, and reduce the following equation to canonical form: for y>0...
Find the characteristics and characteristic coordinates, and reduce the following equation to canonical form: for y>0 only Uxx+yUyy=0
The following table shows the past annual returns for Stock A and Stock B, please find...
The following table shows the past annual returns for Stock A and Stock B, please find the expected return, standard deviation and coefficient of variation for Stock A, Stock B and a Portfolio that puts 40% weight on Stock A and 60% weight on Stock B. Year Stock A Returns Stock B Returns 2005 10.30%    10.71% 2006 -0.10% 25.00% 2007 23.30% 0.38% 2008 2.20% 26.20% 2009 14.00% 11.52%
This table will cover information for Q1-Q3 year project A project B 0 -1000 -900 1...
This table will cover information for Q1-Q3 year project A project B 0 -1000 -900 1 300 240 2 300 240 3 300 240 4 300 240 5 300 240 For above project, the interest rate is 10% Q1 what is NPV of project A
This table will cover information for Q1-Q3 year project A project B 0 -1000 -900 1...
This table will cover information for Q1-Q3 year project A project B 0 -1000 -900 1 300 240 2 300 240 3 300 240 4 300 240 5 300 240 For above project, interest rate is 10% Q1 what is NPV of project A 2) q2 what is IRR of project b 3) NPV for A is higher than NPV for project B True False
This table will cover information for Q7-Q8 year CF project A CF project B 0 -1000...
This table will cover information for Q7-Q8 year CF project A CF project B 0 -1000 -800, 1 600 300, 2 700 300, 3 300, 4 400 With discount rate 7%. Q7: what is project B's NPV? Q8: what is annualized EAC (annualized  NPV) for project A?
Find the characteristics and the minimal polynomial of the following matrices over R, then deduce the their corresponding Jordan Canonical Form J.
Find the characteristics and the minimal polynomial of the following matrices over \( \mathbb{R} \), then deduce the their corresponding Jordan Canonical Form J. A=\( \begin{pmatrix}1&-1&-1\\ 0&0&-1\\ 0&1&2\end{pmatrix}\: \)
Find the characteristics and the minimal polynomial of the following matrices over R , then deduce the their corresponding Jordan Canonical Form J.
Find the characteristics and the minimal polynomial of the following matrices over \( \mathbb{R} \), then deduce the their corresponding Jordan Canonical Form J. B=\( \begin{pmatrix}2&-1&-1&2\\ 0&1&-1&2\\ 2&-5&-1&6\\ 1&-3&-2&6\end{pmatrix} \)
Find the characteristics and the minimal polynomial of the following matrices over R, then deduce their corresponding Jordan Canonical Form J.
Find the characteristics and the minimal polynomial of the following matrices over R, then deduce their corresponding Jordan Canonical Form J. C=\( \begin{pmatrix}1&1&0&0\\ -1&-1&1&0\\ 0&1&1&0\\ -1&-1&1&1\end{pmatrix} \)  
Which one of the following is a synthetic long put? a. Long stock, short put b....
Which one of the following is a synthetic long put? a. Long stock, short put b. Long stock, short call c. Long stock, long put d. Short stock, long put e. Short stock, long call 7. You establish the following position: Short 1 ABCD 320 Put @ 6 If the delta of the put is 0.50 and the gamma is 0.03, what would the new delta be if ABCD decreases from 321 to 320? a. 0.47 b. 0.50 c. 0.53...
Consider the following functional dependencies: Z -> XYD, X -> Y. Find the minimal cover of...
Consider the following functional dependencies: Z -> XYD, X -> Y. Find the minimal cover of the above.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT