Question 61
HardR(A, B, C, D, E) has FDs A → B, B → C and CD → E. What is the candidate key?
- A.
A
- B.
BD
- C.
AD
- D.
ACD
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
DBMS
R(A, B, C, D, E) has FDs A → B, B → C and CD → E. What is the candidate key?
A
BD
AD
ACD
Sign up free to see the answer and a step-by-step explanation.
R(A, B, C, D) has FDs AB → C, C → D and D → A. What are its candidate keys?
AB, BC and BD
AB and BC
ABCD
AB only
Sign up free to see the answer and a step-by-step explanation.
R(A, B, C, D) has FDs AB → C, C → D and D → A, with candidate keys AB, BC and BD. What is the highest normal form it satisfies?
BCNF
3NF
2NF
1NF
Sign up free to see the answer and a step-by-step explanation.
For R(A, B, C, D, E) with FDs A → BC, C → D and D → E, what is C⁺?
CDE
CD
ABCDE
C
Sign up free to see the answer and a step-by-step explanation.
R(A, B, C, D, E) with key A has FDs A → BC, C → D and D → E. Which normal form is violated first?
3NF (transitive dependencies such as A → C → D)
None
2NF
1NF
Sign up free to see the answer and a step-by-step explanation.
Which is a minimal cover of {A → BC, B → C, AB → D}?
{A → B, B → C, A → D}
{A → B, A → C, B → C, AB → D}
{B → C, AB → D}
{A → BC, AB → D}
Sign up free to see the answer and a step-by-step explanation.
R(A, B, C) with FD C → A is decomposed into R1(A, C) and R2(B, C). Is the decomposition lossless?
No
Yes, because the common attribute C is a key of R1
Only if A → B
Only if B → C
Sign up free to see the answer and a step-by-step explanation.
R(A, B, C, D) with FDs A → B and C → D is decomposed into R1(A, B) and R2(C, D). Is it lossless?
Yes
Only in BCNF
Yes, because both FDs are preserved
No, the parts share no attributes
Sign up free to see the answer and a step-by-step explanation.
Why can a BCNF decomposition fail to preserve dependencies?
BCNF needs NULLs
Some FD's attributes may end up split across different tables
It always preserves them
BCNF removes keys
Sign up free to see the answer and a step-by-step explanation.
A relation is in 3NF but not BCNF. Which must be true of the violating FD X → A?
A is not prime
X is a super key
X is not a super key, but A is a prime attribute
There are no candidate keys
Sign up free to see the answer and a step-by-step explanation.