



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Database Normalization| 1NF, 2NF, 3NF & Denormalization| Database Normalization| 1NF, 2NF, 3NF & Denormalization|
Typology: Exams
1 / 5
This page cannot be seen from the preview
Don't miss anything!




What is normalization in database design? - Answer-Normalization is a process for evaluating and correcting table structures to minimize data redundancies and reduce the likelihood of data anomalies. What are the first three normal forms in normalization? - Answer-First normal form (1NF), Second normal form (2NF), and Third normal form (3NF). What is the highest normal form typically needed in business database design? - Answer-Third normal form (3NF). What is denormalization? - Answer-Denormalization produces a lower normal form, increasing performance but resulting in greater data redundancy. When is normalization commonly used? - Answer-Normalization is used when designing a new database structure or analyzing the relationship among attributes within each entity. What is the main goal of normalization? - Answer-To eliminate data anomalies by removing unnecessary or unwanted data redundancies. What is a partial dependency? - Answer-A partial dependency exists when there is a functional dependence where the determinant is only part of the primary key. What does a transitive dependency indicate? - Answer-A transitive dependency exists when an attribute is dependent on another attribute that is not part of the primary key. What are the characteristics of a well-formed relation? - Answer-Each table represents a single subject, each row/column intersection contains only one value, all nonprime attributes are dependent on the primary key, and no anomalies exist. What does the first normal form (1NF) require? - Answer-1NF requires that all key attributes are defined, there are no repeating groups, and all attributes are dependent on the primary key. What is the first step in converting to first normal form (1NF)? - Answer-Eliminate the repeating groups by ensuring each cell has a single value.
What happens during the conversion to second normal form (2NF)? - Answer-New tables are created to eliminate partial dependencies, and the table is in 2NF when it is in 1NF and includes no partial dependencies. What is required for a table to be in third normal form (3NF)? - Answer-The table must eliminate transitive dependencies and be in second normal form (2NF). What is a dependency diagram? - Answer-A dependency diagram depicts all dependencies found within a given table structure, helping to visualize relationships among table attributes. What does it mean if a table has insertion, update, or deletion anomalies? - Answer-It indicates that the table structure is not properly normalized, leading to potential issues when modifying data. What is a composite key? - Answer-A composite key is a primary key that consists of two or more attributes. How does normalization work? - Answer-Normalization works one relation at a time, identifying dependencies and progressively breaking up the relation into new relations based on those dependencies. What is the role of functional dependencies in normalization? - Answer-Functional dependencies help identify which attributes determine other attributes, guiding the normalization process. What is the significance of eliminating repeating groups in a table? - Answer- Eliminating repeating groups reduces data redundancies and ensures that each cell contains a single value. Why are transitive dependencies more difficult to identify? - Answer-Transitive dependencies are more difficult to identify because they occur among non-prime attributes and require careful analysis of the data. What does it mean for a table to satisfy 1NF requirements? - Answer-It means that all key attributes are defined, there are no repeating groups, and all attributes are dependent on the primary key. What is the assumption made when identifying partial dependencies? - Answer-The assumption is that there is only one candidate key. What is the outcome of the normalization process? - Answer-The outcome is a set of tables that are free from data anomalies and redundancies, ensuring data integrity.
How does normalization impact database performance? - Answer-It can improve performance by reducing redundancy and ensuring data integrity. What is the primary goal of database denormalization? - Answer-To improve processing requirements and speed by reducing the number of joins needed. What happens to the number of database tables during denormalization? - Answer-The number of database tables expands as tables are decomposed to conform to normalization requirements. What is a consequence of joining a large number of tables? - Answer-It takes additional input/output (I/O) operations and processing logic, which can reduce system speed. How does denormalization affect data updates? - Answer-Data updates become less efficient because tables are larger. What is one defect of unnormalized tables? - Answer-Indexing becomes more cumbersome. What is an example of redundant data in denormalization? - Answer-Storing ZIP and CITY attributes in the AGENT table when ZIP determines CITY. Why might derived data be stored in a denormalized table? - Answer-To avoid extra join operations, such as storing STU_HRS and STU_CLASS when STU_HRS determines STU_CLASS. What is preaggregated data in the context of denormalization? - Answer-Storing aggregate values like STU_GPA in the student table instead of calculating it from enroll class each time. What is the purpose of using a temporary denormalized table? - Answer-To hold report data when creating a tabular report that requires data stored in rows. What is the first step in the data-modeling checklist? - Answer-Properly document and verify all business rules with the end user. What should entity names be in data modeling? - Answer-Nouns that are familiar to business, short, meaningful, and unique within the model. What does it mean for an entity to be in 3NF? - Answer-It must be in 2NF and contain no transitive dependencies. What is the significance of primary keys (PK) in entities? - Answer-They should be clearly defined and support the selected data granularity.
What should relationships in data modeling clearly identify? - Answer-Relationship participants, participation, connectivity, and cardinality. What is the purpose of the ER model validation? - Answer-To ensure it meets expected processes such as inserts, updates, and deletions. What does normalization aim to minimize? - Answer-Data redundancies in database tables. What is a table in 1NF? - Answer-A table where all key attributes are defined and all remaining attributes are dependent on the primary key. What is a table in 2NF? - Answer-A table that is in 1NF and contains no partial dependencies. What happens to a table that is not in 3NF? - Answer-It may be split into new tables until all meet the 3NF requirements. What is a potential issue with tables in 3NF? - Answer-They might contain multivalued dependencies that produce numerous null values or redundant data. How does the number of tables affect processing speed? - Answer-The larger the number of tables, the more additional I/O operations and processing logic are needed to join them.