← RGPV CS-502 DBMS December 2025 solved question paper
RGPV CS-502 (GS) | December 2025 | Q4(b) | 7 marks (inferred)
Question (restated): Normalize R(A,B,C,D) with A → B, B → C and C → D.
Answer
Compute A⁺: start with {A}, apply A → B, then B → C, then C → D. Thus A⁺ = {A,B,C,D}. No dependency produces A, so every key must contain A. A alone is the unique candidate key.
Assuming atomic values, R is in 1NF. It is also in 2NF because the only candidate key has one attribute, so partial dependencies are impossible. It violates 3NF because B → C and C → D have non-superkey determinants and non-prime right-hand attributes.
Decomposition
First split R into R₃(C,D) and R′(A,B,C). Their intersection C determines R₃, so the split is lossless. Next split R′ into R₂(B,C) and R₁(A,B). Their intersection B determines R₂, so this split is also lossless.
| Relation | Key | Dependency |
|---|---|---|
| R₁(A,B) | A | A → B |
| R₂(B,C) | B | B → C |
| R₃(C,D) | C | C → D |
Every original FD is preserved within one relation. Each nontrivial projected dependency has a superkey determinant, so all three relations satisfy BCNF and therefore 3NF. Joining R₁ with R₂ on B and then R₃ on C reconstructs the original relation without spurious tuples under the given FDs.

Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion