Skip to content
Official PYQ · 2025

GATE CS 2025 Set 2 Q36 — Normal Forms

Explain with AI

​​​​Consider the following relational schema along with all the functional dependencies that hold on them.
R1(A,B,C,D,E):{D→E,EA→B,EB→C}R2(A,B,C,D):{A→D,A→B,C→A}\begin{array}{l} R 1(A, B, C, D, E):\{D \rightarrow E, E A \rightarrow B, E B \rightarrow C\} \\ R 2(A, B, C, D):\{A \rightarrow D, A \rightarrow B, C \rightarrow A\} \end{array}

Which of the following statement(s) is/are TRUE?

Select all correct options
View worked solution

Answer: C;D

To determine if the relations are in 3NF, we find their candidate keys and check the 3NF conditions for each functional dependency (FD). A relation is in 3NF if, for every non-trivial FD X→YX \rightarrow Y, either XX is a superkey or YY is a prime attribute.

Analysis of R1(A,B,C,D,E)R_1(A, B, C, D, E) with FDs: {D→E,EA→B,EB→C}\{D \rightarrow E, EA \rightarrow B, EB \rightarrow C\}

  • The attributes AA and DD do not appear on the right-hand side of any FD. Thus, they must be part of any candidate key.
  • Computing the closure: {A,D}+={A,D,E,B,C}\{A, D\}^+ = \{A, D, E, B, C\}.
  • Therefore, {A,D}\{A, D\} is the unique candidate key.
  • Prime attributes: {A,D}\{A, D\}; Non-prime attributes: {B,C,E}\{B, C, E\}.
  • For the FD D→ED \rightarrow E, DD is not a superkey and EE is not a prime attribute. This violates the 3NF condition.
  • Hence, R1R_1 is NOT in 3NF (Option C is TRUE).

Analysis of R2(A,B,C,D)R_2(A, B, C, D) with FDs: {A→D,A→B,C→A}\{A \rightarrow D, A \rightarrow B, C \rightarrow A\}

  • The attribute CC does not appear on the right-hand side of any FD. Thus, it must be part of any candidate key.
  • Computing the closure: {C}+={C,A,D,B}\{C\}^+ = \{C, A, D, B\}.
  • Therefore, {C}\{C\} is the unique candidate key.
  • Prime attributes: {C}\{C\}; Non-prime attributes: {A,B,D}\{A, B, D\}.
  • For the FD A→DA \rightarrow D, AA is not a superkey and DD is not a prime attribute. This violates the 3NF condition.
  • Hence, R2R_2 is NOT in 3NF (Option D is TRUE).

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Normal Forms questions