Recall & Review
beginner
What is normalization in database design?
Normalization is the process of organizing data to reduce duplication and improve data integrity by dividing tables and defining relationships.
Click to reveal answer
beginner
Why should you use primary keys in tables?
Primary keys uniquely identify each record in a table, ensuring each row can be referenced and preventing duplicate records.
Click to reveal answer
beginner
What is the purpose of foreign keys?
Foreign keys link records between tables, enforcing referential integrity by ensuring related data exists in the referenced table.
Click to reveal answer
beginner
Why is it important to avoid redundant data in a database?
Avoiding redundant data saves storage space, reduces errors, and makes updates easier because data is stored in one place only.
Click to reveal answer
intermediate
What does indexing do in a database?
Indexing speeds up data retrieval by creating a quick lookup structure, similar to an index in a book.
Click to reveal answer
Which of the following best describes a primary key?
✗ Incorrect
A primary key uniquely identifies each record and cannot have duplicates.
What is the main goal of normalization?
✗ Incorrect
Normalization organizes data to reduce redundancy and improve integrity.
Which key enforces a relationship between two tables?
✗ Incorrect
Foreign keys link tables and enforce referential integrity.
Why should you avoid storing the same data in multiple places?
✗ Incorrect
Storing duplicate data wastes space and can cause inconsistencies.
What does an index do in a database?
✗ Incorrect
Indexes speed up searching by creating a quick lookup.
Explain the importance of primary keys and foreign keys in database design.
Think about how tables connect and keep data consistent.
You got /4 concepts.
Describe what normalization is and why it is used in databases.
Consider how to keep data clean and avoid repetition.
You got /4 concepts.