CS FundamentalsHardGATE CS
R(A, B, C, D, E) has functional dependencies A → B, B → C, C → A and D → E. What is the highest normal form R satisfies?
- A. 1NF
- B. 2NF
- C. 3NF
- D. BCNF
Correct answer: A. 1NF
The keys are AD, BD and CD, so A, B, C, D are prime and A → B, B → C, C → A only violate BCNF. But D → E makes the non-prime E depend on part of every key, a partial dependency, so R is not even in 2NF.
More DBMS and SQL questions
- R(A, B, C, D) has functional dependencies AB → C, C → D and D → B. Which statement is correct?
- R(A, B, C, D, E) has functional dependencies AB → CD, D → A and C → E. What is the highest normal form R satisfies?
- R(A, B, C, D, E, F, G) has functional dependencies A → B, BC → D, D → E, E → C and F → G. How many candidate keys does R have?
- R(A, B, C, D, E) has functional dependencies A → BC, CD → E, B → D and E → A. What are all the candidate keys of R?
- Which of these is a minimal (canonical) cover of F = {AB → C, A → D, D → C, BD → E, AB → E}?
- R(A, B, C, D, E, F) has functional dependencies AB → CDEF and CD → AB. How many superkeys does R have?