If every non-key attribute is functionally dependent on the primary key, then the relation is in __________ .
(A) First normal form
(B) Second normal form
(C) Third normal form
(D) Fourth normal form
Answer: (B)
Explanation: Conditions for various normal forms:
- 1 NF – A relation R is in first normal form (1NF) if and only if all underlying domains contain atomic values only.
- 2 NF – A relation R is in second normal form (2NF) if and only if it is in 1NF and every non-key attribute is fully dependent on the primary key.
- 3 NF – A relation R is in third normal form (3NF) if and only if it is in 2NF and every non-key attribute is non-transitively dependent on the primary key.
- BCNF – A relation R is in Boyce-Codd normal form (BCNF) if and only if every determinant is a candidate key.
Example:
Relation R(XYZ) with functional dependencies {X -> Y, Y -> Z, X -> Z}.
Notice here Y -> Z, in question it is not mention that non prime attribute is only dependent on primary key so this FD is perfectly valid.
This relation is in 2NF but not in 3NF because of every non-key attribute is transitively dependent on the primary key. Here {X} will be candidate key.
So, option (B) is correct.
Quiz of this Question
Recommended Posts:
- UGC-NET | UGC NET CS 2018 July - II | Question 95
- UGC-NET | UGC-NET CS 2017 Nov - III | Question 11
- UGC-NET | UGC NET CS 2016 Aug - III | Question 2
- UGC-NET | UGC NET CS 2016 Aug - III | Question 3
- UGC-NET | UGC NET CS 2016 Aug - III | Question 4
- UGC-NET | UGC NET CS 2016 Aug - III | Question 5
- UGC-NET | UGC-NET CS 2017 Nov - III | Question 8
- UGC-NET | UGC-NET CS 2017 Nov - III | Question 10
- UGC-NET | UGC NET CS 2015 Jun - II | Question 28
- UGC-NET | UGC NET CS 2018 July - II | Question 47
- UGC-NET | UGC NET CS 2018 July - II | Question 48
- UGC-NET | UGC NET CS 2018 July - II | Question 49
- UGC-NET | UGC NET CS 2015 Jun - III | Question 17
- UGC-NET | UGC NET CS 2015 Jun - III | Question 16
- UGC-NET | UGC NET CS 2016 July – II | Question 11
- UGC-NET | UGC NET CS 2016 July – II | Question 12
- UGC-NET | UGC NET CS 2018 July - II | Question 55
- UGC-NET | UGC NET CS 2015 Dec – III | Question 20
- UGC-NET | UGC-NET CS 2017 Dec 2 | Question 4
- UGC-NET | UGC NET CS 2015 Dec - II | Question 14
Improved By : PriyeshKumar4

