All Exams Test series for 1 year @ ₹349 only
Question

Consider the following relational schema along with all the functional dependencies that hold on them.
$R1(A, B, C, D, E): \{ D \rightarrow E, EA \rightarrow B, EB \rightarrow C\}$
$R2(A, B, C, D): \{ A \rightarrow D, A \rightarrow B, C \rightarrow A\}$
Which of the following statement(s) is/are TRUE?

To determine whether the relational schemas R1(A, B, C, D, E) and R2(A, B, C, D) are in Third Normal Form (3NF), we need to review the definitions and rules for 3NF and apply them to the given schemas and their functional dependencies (FDs).

Definition of 3NF: A relation is in 3NF if:

  1. It is in Second Normal Form (2NF).
  2. It does not have any transitive dependency, i.e., every non-prime attribute is non-transitively dependent on every key of the relation.

Let's analyze each schema:

Schema: R1(A, B, C, D, E)

  • Functional Dependencies: \{ D \rightarrow E, EA \rightarrow B, EB \rightarrow C \}
  • Identify the candidate keys: The candidate key for R1 is ED because ED \rightarrow all attributes.
  • Evaluate FDs against 3NF rules:
    • D \rightarrow E: E is dependent on D, but D is not a superkey. Thus, this violates 3NF.
    • EA \rightarrow B: This FD does not violate 3NF as EA is a key.
    • EB \rightarrow C: This FD does not violate 3NF as EB is a superkey.
  • Conclusion: R1 is not in 3NF due to the FD D \rightarrow E.

Schema: R2(A, B, C, D)

  • Functional Dependencies: \{ A \rightarrow D, A \rightarrow B, C \rightarrow A \}
  • Identify the candidate keys: The candidate key here is C since C \rightarrow all other attributes.
  • Analyze FDs:
    • A \rightarrow D and A \rightarrow B: These do not violate 3NF because D and B are non-prime and A is not a superkey. This suggests a violation of 3NF since they are transitively dependent through non-candidate keys.
    • C \rightarrow A: This does not violate 3NF since C is a candidate key.
  • Conclusion: R2 is not in 3NF due to the FDs A \rightarrow D and A \rightarrow B.

Final Answer: Both statements "R1 is NOT in 3NF" and "R2 is NOT in 3NF" are true.

Was this answer helpful?

Important Questions from Normal Form

  1. Which of the following statement(s) is/are correct regarding a relation in second normal form?

    I. It is in first normal form

    II. Every non-key attribute is fully and functionally independent on the primary key

  2. Which of the following normal forms specifically addresses and eliminates partial dependencies?

  3. Consider a relational schema team(name, city, owner), with functional dependencies {name $\to$ city, name $\to$ owner}.

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

  4. In a relational database, which one of the following is CORRECT:
     

  5. Which of the following is false ?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App