CS FundamentalsHardGATE CS
R(A, B, C, D, E) has functional dependencies AB → CD, D → A and C → E. What is the highest normal form R satisfies?
- A. 2NF
- B. 3NF
- C. 1NF
- D. BCNF
Correct answer: A. 2NF
The keys are AB and BD, so A, B, D are prime. D → A has a prime right side and no non-prime attribute depends on part of a key, so 2NF holds; C → E is a transitive dependency of non-prime E through non-prime C, which breaks 3NF.
More DBMS and SQL questions
- 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?
- R(A, B, C, D, E) has functional dependencies A → B, BC → E and ED → A. It is decomposed into R1(A, B, C) and R2(A, C, D, E). Which…
- F = {A → B, AB → C, D → AC, D → E} and G = {A → BC, D → AE}. Which statement is correct?