Recall & Review
beginner
What is Boyce-Codd Normal Form (BCNF)?
BCNF is a type of database normalization that ensures every determinant is a candidate key. It removes redundancy caused by functional dependencies.
Click to reveal answer
beginner
What is a determinant in the context of BCNF?
A determinant is an attribute or a set of attributes on which some other attribute is functionally dependent.
Click to reveal answer
intermediate
How does BCNF differ from Third Normal Form (3NF)?
BCNF is stricter than 3NF. In BCNF, every determinant must be a candidate key, while 3NF allows some exceptions if the dependent attribute is a prime attribute.
Click to reveal answer
beginner
Why is BCNF important in database design?
BCNF helps eliminate redundancy and update anomalies by ensuring that all functional dependencies are based on candidate keys.
Click to reveal answer
intermediate
Give an example of a functional dependency that violates BCNF.
If in a table, attribute A determines B but A is not a candidate key, then this violates BCNF. For example, if {StudentID, Course} is the key but Course determines Instructor, then Course → Instructor violates BCNF.
Click to reveal answer
Which of the following must be true for a relation to be in BCNF?
✗ Incorrect
BCNF requires that every determinant in a functional dependency is a candidate key.
BCNF is a stricter form of which normal form?
✗ Incorrect
BCNF is a stricter version of 3NF, removing some exceptions allowed in 3NF.
If a functional dependency exists where the determinant is not a candidate key, what does this imply?
✗ Incorrect
BCNF requires determinants to be candidate keys; otherwise, it is violated.
Which problem does BCNF help to avoid in databases?
✗ Incorrect
BCNF reduces redundancy and prevents update anomalies by enforcing strict dependency rules.
In BCNF, what is a candidate key?
✗ Incorrect
A candidate key uniquely identifies each record in a table.
Explain the main rule that a relation must follow to be in Boyce-Codd Normal Form (BCNF).
Think about what attributes determine others and their role as keys.
You got /4 concepts.
Describe why BCNF is considered stricter than Third Normal Form (3NF) and give an example of a violation.
Focus on the role of determinants and candidate keys.
You got /3 concepts.