Question

Consider a relational table RR that is in 3NF, but not in BCNF. Which one of the following statements is TRUE?

Choose one option
Official answer and solution
Official answer
A
From
Official GATE 2020 answer key

Solution

Compare the definitions of Third Normal Form (3NF) and Boyce-Codd Normal Form (BCNF).

Definitions:

  • For a relation RR to be in BCNF, for every non-trivial functional dependency X→AX \to A, XX must be a superkey of RR.
  • For a relation RR to be in 3NF, for every non-trivial functional dependency X→AX \to A, either:
    1. XX is a superkey of RR, OR
    2. AA is a prime attribute (an attribute that is part of some candidate key of RR).

Condition for being in 3NF but not in BCNF:

  • Since RR is not in BCNF, there exists at least one non-trivial functional dependency X→AX \to A where XX is NOT a superkey.
  • However, because RR is in 3NF, this functional dependency must satisfy condition (2) of 3NF. Thus, AA MUST be a prime attribute.
  • Therefore, RR must have a non-trivial functional dependency X→AX \to A where XX is not a superkey and AA is a prime attribute.
Final answer

A

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2020 Computer Science and Information Technology (CS)
Question
46 of 65, printed as CS Q.36
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.