Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.
Database Design & NormalizationEasy
Q1. Normalization in databases is the process of:
- A.Adding redundant data to speed up query processing
- B.Deleting all data from every table in the database
- C.Creating as many tables as possible in the schema
- D.Organizing data to reduce redundancy and dependency✓ Correct
Explanation
Normalization organizes data to minimize redundancy and undesirable dependencies.
Report an error in this question
Database Design & NormalizationEasy
Q2. First Normal Form (1NF) requires:
- A.All attributes are restricted to numeric
- B.No foreign keys exist within the tables
- C.All attributes contain atomic values only✓ Correct
- D.Tables have only one column of any data
Explanation
1NF requires that each attribute contains only atomic (indivisible) values.
Report an error in this question
Database Design & NormalizationEasy
Q3. A functional dependency X → Y means:
- A.The value of Y uniquely determines the value of X
- B.X and Y always contain the same identical values
- C.X and Y are completely unrelated to each other
- D.The value of X uniquely determines the value of Y✓ Correct
Explanation
X → Y means that for each value of X, there is exactly one associated value of Y.
Report an error in this question
Database Design & NormalizationEasy
Q4. Redundancy in a database leads to:
- A.Insertion, deletion, and update anomalies✓ Correct
- B.Better data integrity and consistency
- C.Faster queries and improved performance
- D.Simplified database design structure
Explanation
Redundancy causes anomalies: insertion (can't add data without other data), deletion (losing data), and update (inconsistency).
Report an error in this question
Database Design & NormalizationEasy
Q5. An update anomaly occurs when:
- A.A table is created for the first time in the schema
- B.A new row is inserted into an existing data table
- C.The same data must be changed in multiple places✓ Correct
- D.An index is dropped from a column in the database
Explanation
Update anomalies occur when the same fact stored in multiple rows must all be updated consistently.
Report an error in this question
Database Design & NormalizationEasy
Q6. Second Normal Form (2NF) requires:
- A.Only atomic values without any other constraints
- B.1NF and no partial dependency on the primary key✓ Correct
- C.No functional dependencies of any kind at all
- D.All attributes must serve as keys in the table
Explanation
2NF requires 1NF and that every non-key attribute is fully functionally dependent on the entire primary key.
Report an error in this question
Database Design & NormalizationEasy
Q7. Third Normal Form (3NF) requires:
- A.No attributes defined at all in it
- B.Only 1NF without other constraints
- C.2NF and no transitive dependencies✓ Correct
- D.All attributes are primary key parts
Explanation
3NF requires 2NF and no transitive dependency of non-key attributes on the primary key.
Report an error in this question
Database Design & NormalizationEasy
Q8. A transitive dependency exists when:
- A.Two keys depend on each other in a circular dependency
- B.A key attribute depends on a non-key attribute directly
- C.A non-key attribute depends on another non-key attribute✓ Correct
- D.No dependencies exist between any attributes at all
Explanation
A transitive dependency exists when a non-key attribute functionally determines another non-key attribute.
Report an error in this question
Database Design & NormalizationEasy
Q9. A partial dependency exists when:
- A.A non-key attribute depends on the entire composite primary key
- B.A non-key attribute depends on part of a composite primary key✓ Correct
- C.No dependencies exist between any attributes in the data table
- D.All attributes depend on all keys defined in the relation schema
Explanation
A partial dependency occurs when a non-key attribute depends on only a portion of a composite primary key.
Report an error in this question
Database Design & NormalizationEasy
Q10. Denormalization is:
- A.Removing all tables and their data from the entire database
- B.Intentionally introducing redundancy to improve read performance✓ Correct
- C.Deleting all indexes to reduce overall storage requirements
- D.Normalizing the schema to a higher normal form than before
Explanation
Denormalization deliberately adds redundancy to a normalized design to improve query performance.
Report an error in this question
Database Design & NormalizationMedium
Q11. Boyce-Codd Normal Form (BCNF) is stricter than 3NF because:
- A.Every determinant must be a candidate key✓ Correct
- B.It allows partial dependencies on some keys
- C.It requires no functional dependencies at all
- D.It requires only atomic values in each field
Explanation
BCNF requires that for every non-trivial FD X→Y, X must be a superkey, which is stricter than 3NF.
Report an error in this question
Database Design & NormalizationMedium
Q12. A relation in BCNF is always in:
- A.4NF
- B.1NF
- C.5NF
- D.3NF✓ Correct
Explanation
BCNF is stricter than 3NF, so any relation in BCNF is automatically in 3NF.
Report an error in this question
Database Design & NormalizationMedium
Q13. A multivalued dependency X →→ Y exists when:
- A.Y is a primary key attribute that uniquely identifies every tuple
- B.A set of values of Y is determined by X, independent of other attributes✓ Correct
- C.X functionally determines Y through a standard functional dependency
- D.No dependency exists between the attributes X and Y in the relation
Explanation
A multivalued dependency means that for each X value, there is a set of Y values independent of other attributes.
Report an error in this question
Database Design & NormalizationMedium
Q14. Fourth Normal Form (4NF) requires:
- A.No functional dependencies of any kind in the schema
- B.BCNF and no non-trivial multivalued dependencies✓ Correct
- C.All attributes serve as keys in the relation structure
- D.Only 1NF without any additional constraints applied
Explanation
4NF requires BCNF and that there are no non-trivial multivalued dependencies.
Report an error in this question
Database Design & NormalizationMedium
Q15. A lossless join decomposition ensures that:
- A.Some data is always permanently lost during the decomposition process
- B.Joining the decomposed relations reproduces the original relation exactly✓ Correct
- C.Extra spurious tuples are generated when joining decomposed relations
- D.Only key attributes are preserved in the decomposed relation fragments
Explanation
A lossless join decomposition guarantees the original relation is perfectly reconstructed by joining.
Report an error in this question
Database Design & NormalizationMedium
Q16. Which normal form deals with join dependencies?
- A.Third Normal Form (3NF)
- B.First Normal Form (1NF)
- C.Second Normal Form (2NF)
- D.Fifth Normal Form (5NF)✓ Correct
Explanation
5NF (Project-Join Normal Form) deals with join dependencies.
Report an error in this question
Database Design & NormalizationMedium
Q17. Armstrong's axiom of reflexivity states:
- A.If X determines Y, then XZ determines YZ for any Z
- B.If Y is a subset of X, then X determines Y✓ Correct
- C.If X determines Y and Y determines Z, then X determines Z
- D.If X determines Y, then Y also determines X always
Explanation
Reflexivity: if Y ⊆ X, then X → Y (a set of attributes always determines any of its subsets).
Report an error in this question
Database Design & NormalizationMedium
Q18. Armstrong's axiom of augmentation states:
- A.If X determines Y and Y determines Z, then X determines Z
- B.If X determines Y, then Y also determines X in reverse
- C.If X determines Y, then XZ determines YZ for any attribute Z✓ Correct
- D.If Y is a subset of X, then X functionally determines Y
Explanation
Augmentation: if X → Y, then adding the same attributes Z to both sides preserves the dependency.
Report an error in this question
Database Design & NormalizationMedium
Q19. The canonical (minimal) cover of a set of FDs:
- A.Is always empty regardless of the original dependency set
- B.Contains all possible FDs derivable from the original set
- C.Has maximum redundancy among all its functional dependencies
- D.Has no redundant dependencies and no extraneous attributes✓ Correct
Explanation
The canonical cover is a minimal set of FDs equivalent to the original, with no redundancy or extraneous attributes.
Report an error in this question
Database Design & NormalizationMedium
Q20. A dependency-preserving decomposition ensures that:
- A.All original functional dependencies can be enforced without joining decomposed tables✓ Correct
- B.All tables in the decomposition must have exactly the same schema and attributes
- C.Joins are never needed between any of the resulting decomposed relation fragments
- D.Some functional dependencies are always lost during the process of decomposition
Explanation
Dependency preservation means each FD can be checked within individual decomposed relations.
Report an error in this question
Database Design & NormalizationHard
Q21. Fifth Normal Form (5NF) eliminates:
- A.Join dependencies that are not implied by candidate keys✓ Correct
- B.Multivalued dependencies among the stored data attributes
- C.Functional dependencies between attributes in the table
- D.All types of dependencies regardless of their categories
Explanation
5NF eliminates join dependencies that are not implied by candidate keys.
Report an error in this question
Database Design & NormalizationHard
Q22. A relation is in Domain-Key Normal Form (DKNF) if:
- A.Every constraint is a logical consequence of domain constraints and key constraints✓ Correct
- B.It satisfies only the requirements of first normal form and nothing beyond that
- C.All attributes in the relation must serve as keys for unique identification
- D.It has no constraints of any type defined on its attributes or relationships
Explanation
DKNF requires that every constraint on the relation is implied by domain and key constraints.
Report an error in this question
Database Design & NormalizationHard
Q23. The synthesis algorithm for 3NF decomposition:
- A.Always produces a BCNF decomposition that preserves all functional dependencies
- B.Uses the canonical cover to create a dependency-preserving, lossless decomposition✓ Correct
- C.Only works for binary relations with exactly two attributes in the schema
- D.Removes all dependencies from the relation during the decomposition procedure
Explanation
The synthesis algorithm uses the minimal cover of FDs to produce a 3NF decomposition that is both lossless and dependency-preserving.
Report an error in this question
Database Design & NormalizationHard
Q24. It is possible to have a decomposition that is lossless but NOT dependency-preserving in:
- A.BCNF decomposition✓ Correct
- B.1NF decomposition
- C.Any decomposition
- D.No decomposition
Explanation
BCNF decomposition guarantees lossless join but may not preserve all functional dependencies.
Report an error in this question
Database Design & NormalizationHard
Q25. The chase algorithm is used to:
- A.Create indexes on frequently queried columns
- B.Optimize storage allocation across disk pages
- C.Test whether a decomposition is lossless✓ Correct
- D.Test whether a query is syntactically correct
Explanation
The chase algorithm tests if a decomposition has the lossless join property by applying FDs to a test table.
Report an error in this question
Database Design & NormalizationHard
Q26. A trivial functional dependency is one where:
- A.The right side is a subset of the left side✓ Correct
- B.The left side is empty with no attributes
- C.No attributes are involved in the FD
- D.Both sides are identical key attributes
Explanation
A functional dependency X → Y is trivial if Y is a subset of X.
Report an error in this question
Database Design & NormalizationHard
Q27. An extraneous attribute in an FD X → Y is an attribute that:
- A.Can be removed from X or Y without changing the closure✓ Correct
- B.Cannot be removed under any circumstance from the FD
- C.Must always be present in the functional dependency rule
- D.Is a primary key attribute that cannot ever be removed
Explanation
An extraneous attribute can be removed from a functional dependency without altering the closure of the FD set.
Report an error in this question
Database Design & NormalizationHard
Q28. Normalization theory is based on which mathematical concept?
- A.Functional dependencies and their properties✓ Correct
- B.Probability theory and statistical methods
- C.Set theory only without other foundations
- D.Graph theory only without other foundations
Explanation
Normalization theory is fundamentally based on functional dependencies and their formal properties.
Report an error in this question
Database Design & NormalizationHard
Q29. When BCNF decomposition is not dependency-preserving, the alternative is:
- A.Go to 4NF which eliminates all multivalued dependencies from the relation
- B.Accept 3NF which guarantees both lossless join and dependency preservation✓ Correct
- C.Denormalize completely to avoid any decomposition of the original table
- D.Use 1NF only which requires just atomic values in every attribute field
Explanation
When BCNF doesn't preserve all FDs, 3NF is preferred as it guarantees both lossless join and dependency preservation.
Report an error in this question
Database Design & NormalizationHard
Q30. A fully functionally dependent attribute means:
- A.Removing any attribute from the left side of the FD destroys the dependency✓ Correct
- B.The attribute has no dependencies of any kind on other attributes at all
- C.The attribute is part of the key and contributes to unique identification
- D.The attribute depends on a single column only in the current relation schema
Explanation
Full functional dependence means the attribute depends on the entire left side and no proper subset of it.
Report an error in this question