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 309
Let R = {A, B, C, D, E, F} be a relation schema with C → F, E → A, EC → D and
A→ B. Which of the following is a key for R?
A
CD
B
EC
C
AE
D
AC
Question 309 Explanation: 
ABDF is present at the right side of productions. So check for the CE
CE – CE // CE derives CE
CEF // C derives F
CEFA // E derives A
CEFAB // A derives B
CEFABD // EC derives D
So the key for R is “ EC”
(EC)+ = { A,B,C,D,E,F}
(CD)+ = {C,D,F}
(AE)+ = {A,B,E}
(AC)+ = {A,C,F,B}
Correct Answer: B
Question 309 Explanation: 
ABDF is present at the right side of productions. So check for the CE
CE – CE // CE derives CE
CEF // C derives F
CEFA // E derives A
CEFAB // A derives B
CEFABD // EC derives D
So the key for R is “ EC”
(EC)+ = { A,B,C,D,E,F}
(CD)+ = {C,D,F}
(AE)+ = {A,B,E}
(AC)+ = {A,C,F,B}

Leave a Reply

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