edited by
2,457 views
1 votes
1 votes

Consider the following functional dependencies in a database:

$A \rightarrow B$

$B \rightarrow C$

$D \rightarrow E$

$E \rightarrow D$

$F \rightarrow G$

$F \rightarrow H$

$(E,F) \rightarrow I$

The relation $(E,D,A,B)$ is

  1. $2$ NF
  2. $3$ NF
  3. BCNF
  4. None of the above
edited by

3 Answers

1 votes
1 votes

If we observe FDs then AD & AE are candidate keys for this relation. 

Given relation is in 1NF because of PARTIAL DEPENDENCY like

$E\rightarrow D$ 

$D\rightarrow E$

therefore OPTION D.

 

1 votes
1 votes
For relation (A,B,D,E) FD are

A -> B

D -> E

E -> D

Candidate key is AD and AE. A -> B is partial dependency. Database by default is in 1 NF.

So D none of these is correct.
1 votes
1 votes
Functional dependencies of the given subrelation R(E,D,A,B) are:
A → B
D → E
E → D
Since A is not determined by any of the given functional dependencies for R(E,D,A,B) so it must be included in the key now check whether “A” is the Primary key or not.
(A)+ = {A}
(AB)+ = {AB}
(AD)+ = {ABDE}
(AE)+ = {ABDE}
So (AD)+ and (AE)+ are the primary keys of R(E,D,A,B).
A → B, in this given FD there exist a partial dependency because here a prime key attribute(attribute which is a part of primary key but not a primary key itself of a function) which is determining a non-key attribute.
So the relation R(E,D,A,B) is not in 2NF .
Answer:

Related questions

1 votes
1 votes
2 answers
1
Arjun asked Dec 7, 2018
2,003 views
Identify the true statement from the given statements:Number of child pointers in a B/B+ tree node is always equal to number of keys in it plus oneB/B+ tree is defined by...
2 votes
2 votes
3 answers
2
Arjun asked Dec 7, 2018
965 views
______ is NOT a part of the ACID propertiesInconsistencyConsistencyAtomicityIsolation
1 votes
1 votes
2 answers
3
Arjun asked Dec 7, 2018
1,365 views
____ symbol is used to denote derived attributes in ER modelDashed ellipseSquared ellipseEllipse with attribute name underlinedRectangular Box
4 votes
4 votes
3 answers
4
Arjun asked Dec 7, 2018
3,678 views
The following table has two attributes $X$ and $Y$ where $X$ is the primary key and $Y$ is the foreign key referencing $X$ with on-delete cascade.$\begin{array}{|c|c|} \h...