0
0
DBMS Theoryknowledge~5 mins

Boyce-Codd Normal Form (BCNF) in DBMS Theory - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
ANo transitive dependencies exist
BEvery attribute is dependent on the primary key
CEvery determinant is a candidate key
DEvery attribute is atomic
BCNF is a stricter form of which normal form?
AFirst Normal Form (1NF)
BThird Normal Form (3NF)
CFourth Normal Form (4NF)
DSecond Normal Form (2NF)
If a functional dependency exists where the determinant is not a candidate key, what does this imply?
AThe relation violates BCNF
BThe relation is in 1NF
CThe relation is in BCNF
DThe relation is in 2NF
Which problem does BCNF help to avoid in databases?
AData redundancy and update anomalies
BSlow query performance
CLack of indexing
DData encryption issues
In BCNF, what is a candidate key?
AAn attribute that is always numeric
BAn attribute that can be null
CAn attribute that depends on another attribute
DAn attribute that uniquely identifies a tuple
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.