GATE / CS ARCHIVE

GATE CSE 2025 SET 2 / QUESTION 46

GATE CSE 2025 Set 2 Q46

Database Management Systems · Normalization & Decomposition · Full GATE CSE 2025 Set 2 paper

GATE 2025 Set 2, Q46 2 marks · MSQ
Report issue

Normalization & Decomposition

Question 46, GATE 2025: Relations have the following complete sets of functional dependencies:
R1(A,B,C,D,E): D→E, EA→B, EB→C.
R2(A,B,C,D): A→D, A→B, C→A.
Select true assertions: A. R1 is in 3NF; B. R2 is in 3NF; C. R1 is not in 3NF; D. R2 is not in 3NF.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: C, D

Step through it (2 parts)

For 3NF, every nontrivial dependency X→Y must have X a superkey or each right-hand attribute prime, meaning it belongs to some candidate key. Identify the keys before applying this test.

In R1, A and D never appear on any right-hand side, so neither can be obtained from other attributes and every key must contain both. Compute (AD)+: start with A,D; D→E adds E; EA→B adds B; EB→C adds C. Thus AD determines all five attributes and is the unique candidate key. Only A,D are prime. The dependency D→E violates 3NF: D+=DE is not a superkey and E is nonprime. Hence R1 is not in 3NF.

In R2, C never appears on a right-hand side and must belong to every key. C→A, followed by A→D and A→B, gives C+=ABCD, so C alone is the unique candidate key. A is not a superkey, since A+=ABD lacks C, and D,B are nonprime. Either A→D or A→B therefore violates 3NF. R2 is not in 3NF either. Select C,D.

Original paper, page 35 · Answer key