Database-Management-System
August 29, 2024
Database-Management-System
August 29, 2024
Database-Management-System
August 29, 2024
Database-Management-System
August 29, 2024

Database-Management-System

Question 644
A relation R = {A, B, C, D, E, F,G} is given with following set of functional dependencies:
F = {AD → E, BE → F, B → C, AF → G}
Which of the following is a candidate key ?
A
A
B
AB
C
ABC
D
ABD
Question 644 Explanation: 
Since no functional dependency is having ABD in their right hand side, so every key should include ABD as a part of them to become a candidate key.
Now check whether ABD is itself a candidate key or not by finding the closure.
(ABD)​ +​ = { ABDCEFG }
since ABD can identify each attribute of the given relation uniquely.
So, ABD is the candidate key.
Correct Answer: D
Question 644 Explanation: 
Since no functional dependency is having ABD in their right hand side, so every key should include ABD as a part of them to become a candidate key.
Now check whether ABD is itself a candidate key or not by finding the closure.
(ABD)​ +​ = { ABDCEFG }
since ABD can identify each attribute of the given relation uniquely.
So, ABD is the candidate key.

Leave a Reply

Your email address will not be published. Required fields are marked *