edited by
9,154 views
5 votes
5 votes

If every non-key attribute functionally dependent on the primary key, then the relation will be in

  1. First normal form
  2. Second normal form
  3. Third normal form
  4. Fourth Normal form
edited by

12 Answers

8 votes
8 votes
$\underline{\textbf{Answer:}\Rightarrow}\;\mathbf{b.}$

1 NF: atomic values

2 NF: Full Functional Dependency.

3 NF: No transitive dependency.

BCNF: Super Key

Edit: The language of this question is poorly framed as it is not mentioned whether we have a partial or full functional dependency.

So, answer can very according to the interpretations between $1-NF$ to $2-NF$.
edited by
5 votes
5 votes
Answer : C) Third normal form.

2NF: All non-prime(non-key) attributes are dependent on the primary key.

3NF: All the non-prime(non-key) attributes must depend only on the candidate/primary key.
2 votes
2 votes
It has to be in 3NF as here we have X->Y where x is primary key which will have prime attribute and it will determine non prime attribute which is condition well held in 3NF
1 votes
1 votes

If every non-key attribute functionally dependent on the primary key, then the relation will be in

Let us take a relation R(A,B,C). 

Consider a functional dependency: AB -> C (this satisfies the statement). Let us add another fd to this relation. A -> C. Here we have a partial dependency. So it cannot be 2NF. So the relation has to be in 1NF only.

So Basically for relation

R(A, B, C)

 AB -> C

 A -> C

Had they given "If every non-key attribute functionally dependent only on the primary key, then the relation will be in..." then answer would have been 3NF. 

Also this was discussed long before here : https://gateoverflow.in/15778/every-attribute-functionally-dependent-primary-relation?show=323328#a323328

 

So answer is option A:1NF

Answer:

Related questions

6 votes
6 votes
5 answers
1
Satbir asked Jan 13, 2020
2,975 views
If $x+2y=30$, then $\left(\dfrac{2y}{5}+\dfrac{x}{3} \right) + \left (\dfrac{x}{5}+\dfrac{2y}{3} \right)$ will be equal to$8$$16$$18$$20$
3 votes
3 votes
4 answers
2
Satbir asked Jan 13, 2020
8,959 views
A given grammar is called ambiguous iftwo or more productions have the same non-terminal on the left hand sidea derivation tree has more than one associated sentencethere...
3 votes
3 votes
3 answers
3
Satbir asked Jan 13, 2020
2,188 views
Which of the following is true?Every subset of a regular set is regularEvery finite subset of non-regular set is regularThe union of two non regular set is not regularInf...
2 votes
2 votes
4 answers
4
Satbir asked Jan 13, 2020
2,738 views
Context free languages are closed underunion, intersectionunion, kleene closureintersection, complementcomplement, kleene closure