Skip to content
Official PYQ · 2025

GATE CS 2025 Set 1 Q37 — Normal Forms

Explain with AI

Consider a relational schema team (name,city,owner)\text{(name,city,owner)}, with functional dependencies {name→city,name→owner}\{\text{name} \rightarrow \text{city}, \text{name} \rightarrow \text{owner} \}.

The relation team is decomposed into two relations, t1(name,city)\text{t1(name,city)} and t2(name, owner)\text{t2(name, owner)}. Which of the following statement(s) is/are TRUE?

Select all correct options
View worked solution

Answer: B;C

Let us analyze the given relational schema team(name,city,owner)\text{team}(\text{name}, \text{city}, \text{owner}) and its functional dependencies (FDs):

F={name→city,name→owner}F = \{\text{name} \rightarrow \text{city}, \text{name} \rightarrow \text{owner}\}

1. Candidate Key of the relation team

Using the attribute closure of name\text{name}: name+={name,city,owner}\text{name}^+ = \{\text{name}, \text{city}, \text{owner}\} Since name\text{name} determines all attributes of the relation, the candidate key is {name}\{\text{name}\}.

2. Normal Form of the relation team

  • For the FD name→city\text{name} \rightarrow \text{city}, the left-hand side (name\text{name}) is a superkey.
  • For the FD name→owner\text{name} \rightarrow \text{owner}, the left-hand side (name\text{name}) is a superkey.

Since the left-hand side of every non-trivial functional dependency is a superkey, the relation team\text{team} is in BCNF (and consequently also in 3NF).

  • Statement A is FALSE: The relation team\text{team} is in BCNF.
  • Statement D is FALSE: The relation team\text{team} is in 3NF.

3. Normal Form of decomposed relations t1t1 and t2t2

  • For t1(name,city)t1(\text{name}, \text{city}): The projected FD is name→city\text{name} \rightarrow \text{city}. The candidate key is {name}\{\text{name}\}. Since the LHS is a superkey, t1t1 is in BCNF.
  • For t2(name,owner)t2(\text{name}, \text{owner}): The projected FD is name→owner\text{name} \rightarrow \text{owner}. The candidate key is {name}\{\text{name}\}. Since the LHS is a superkey, t2t2 is in BCNF.

Therefore, Statement B is TRUE.

4. Lossless Join Property

A decomposition of RR into R1R_1 and R2R_2 is a lossless join if and only if the common attribute(s) form a superkey in at least one of the decomposed relations:

R1∩R2→R1orR1∩R2→R2R_1 \cap R_2 \rightarrow R_1 \quad \text{or} \quad R_1 \cap R_2 \rightarrow R_2

Here, t1∩t2={name}t1 \cap t2 = \{\text{name}\}. Since name\text{name} is a candidate key for both t1t1 and t2t2:

name→city(t1)andname→owner(t2)\text{name} \rightarrow \text{city} \quad (t1) \quad \text{and} \quad \text{name} \rightarrow \text{owner} \quad (t2)

Thus, the decomposition is guaranteed to be a lossless join. Statement C is TRUE.

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

Published
Report a correction
Keep exploringMore Normal Forms questions