StreakPeaked· Practice

ExamsGATETechnical

In a relational data model, which one of the following statements is TRUE?

  1. A relation with only two attributes is always in BCNF.
  2. If all attributes of a relation are prime attributes, then the relation is in BCNF.
  3. Every relation has at least one non-prime attribute.
  4. BCNF decompositions preserve functional dependencies.

Correct answer: A relation with only two attributes is always in BCNF.

Solution

A relation with only two attributes can only have a maximum of one functional dependency, which means it satisfies the conditions for Boyce-Codd Normal Form (BCNF) by default, as there are no non-trivial functional dependencies that violate the BCNF rules.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →