Back to notes
What must a table satisfy to be considered in First Normal Form (1NF)?
Press to flip
No using row order to convey information, no mixing data types within a single column, must have a primary key, and no repeating groups.
Explain the concept of a primary key and its significance in 1NF.
A primary key uniquely identifies each record in a table and ensures that rows are distinct and easily accessible.
What is a transitive dependency and why is it removed in 3NF?
A transitive dependency occurs when a non-key attribute depends on another non-key attribute. It’s removed in 3NF to ensure all non-key attributes depend only on the primary key.
How does normalization from 1NF to 5NF progressively improve database design?
Each progressive normal form imposes stricter rules to organize data, reduce redundancy, and ensure integrity, leading to more efficient and reliable databases.
What is the primary objective of Fifth Normal Form (5NF)?
To ensure that all information in a database cannot be decomposed into smaller join-dependent subsets without loss of information.
List the types of anomalies that normalization aims to protect against.
Insertion, update, and deletion anomalies.
What additional condition is applied in Boyce-Codd Normal Form (BCNF) compared to Third Normal Form (3NF)?
In BCNF, every determinant must be a candidate key, meaning every attribute must depend solely on the whole key.
How do multivalued dependencies relate to Fourth Normal Form (4NF)?
4NF eliminates multivalued dependencies that do not relate to the primary key by separating data into different tables.
What is the primary goal of normalization in database design?
To reduce redundancy and improve data integrity.
Why might achieving BCNF be more challenging than achieving 3NF?
Because BCNF requires every determinant to be a candidate key, which often necessitates further decomposition of tables.
Describe a transitive dependency and its resolution in Third Normal Form (3NF).
A transitive dependency occurs when a non-key attribute depends on another non-key attribute. It is resolved in 3NF by creating separate tables to eliminate indirect dependencies.
Give an example of a scenario that requires a table's decomposition to meet Fifth Normal Form (5NF).
Separating tables for brand preferences, flavor preferences, and brand-flavor offerings to ensure all dependencies are explicitly represented.
Why is dependency on the entire primary key crucial for a table to be in Second Normal Form (2NF)?
To ensure that every non-key attribute is fully functionally dependent on the whole primary key, not just part of it.
What issues are identified and solved by achieving Second Normal Form (2NF)?
Deletion, update, and insertion anomalies related to partial dependencies on a composite primary key.
Provide an example of how a multivalued dependency might require normalization into 4NF.
A table storing combinations of models, colors, and styles, which aren’t dependent on each other, would require separation into different tables to achieve 4NF.
Previous
Next