You are given the following set of functional dependencies for a relation…

You are given the following set of functional dependencies for a relation R(A,B,C,D,E,F),

F = {AB → C, DC → AE, E → F }.

i. Is this relation in BCNF?

ii. Is the decomposition (A,B,C,D) (B,C,D,E,F) a dependency preserving decomposition?

Answer: D. i: No, ii: YesGiven relation R(A, B, C, D, E, F) with functional dependencies: AB → C, DC → AE, E → F. Part i: Is R in BCNF? BCNF requires that for every FD X → Y, X is a…

  1. A.

    i: Yes, ii: Yes

  2. B.

    i: Yes, ii: No

  3. C.

    i: No, ii: No

  4. D.

    i: No, ii: Yes

Attempted by 20 students.

Show answer & explanation

Correct answer: D

Given relation R(A, B, C, D, E, F) with functional dependencies: AB → C, DC → AE, E → F.

Part i: Is R in BCNF?

BCNF requires that for every FD X → Y, X is a superkey. Check the closures:

  1. AB → C: AB+ = {A, B, C}. Cannot derive D, E, or F, so AB is not a superkey.

  2. DC → AE: From DC → AE and E → F, DC+ = {D, C, A, E, F}. B is not obtained, so DC is not a superkey.

  3. E → F: E+ = {E, F}, which is not all attributes, so E is not a superkey.

Because none of the FD left-hand sides are superkeys, R is not in BCNF.

Part ii: Is the decomposition (A,B,C,D) and (B,C,D,E,F) dependency preserving?

Check where each original FD appears in the decomposed relations:

  • AB → C: All attributes A, B, C are in relation (A,B,C,D), so this FD is preserved in that relation.

  • DC → AE: This FD splits across the decomposed relations: DC → A is preserved in (A,B,C,D) and DC → E is preserved in (B,C,D,E,F). Together they preserve DC → AE.

  • E → F: Both attributes E and F appear in (B,C,D,E,F), so E → F is preserved there.

Since every original functional dependency is present in one of the decomposed relations (or can be reconstructed from FDs present in the components), the decomposition is dependency preserving.

Final Answer: i: No (R is not in BCNF). ii: Yes (the decomposition is dependency preserving).

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…