Free Online Flashcard Deck

5 Normalization and Data Integrity Free Online FlashCards

Study 5 Normalization and Data Integrity with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What is the main purpose of normalization?

Back

Normalization organizes related data to reduce unnecessary duplication and prevent inconsistent updates.

02
Front

What does a functional dependency X→YX \to Y state?

Back

A functional dependency means each value of attribute set XX is associated with exactly one value of attribute set YY.

03
Front

What is a candidate key?

Back

A candidate key is a minimal set of attributes that uniquely identifies a row.

04
Front

What is a composite key?

Back

A key made up of multiple attributes is a composite key. In OrderItems, the pair (OrderID,ProductID)(OrderID, ProductID) identifies an order-product row.

05
Front

What is an update anomaly?

Back

An update anomaly occurs when a repeated fact is changed in some rows but not others, leaving inconsistent values.

06
Front

What is an insertion anomaly?

Back

An insertion anomaly occurs when a fact, such as a supplier, cannot be recorded unless an unrelated fact, such as a product, is also recorded.

07
Front

What is a deletion anomaly?

Back

A deletion anomaly occurs when deleting one fact, such as a supplier’s last product row, also removes the only stored record of another fact.

08
Front

What is the defining requirement of 1NF?

Back

A relation is in 1NF when each row-column intersection contains a single value of the appropriate type, not a list or repeating group.

09
Front

What does 2NF require beyond 1NF?

Back

A relation is in 2NF if it is in 1NF and every non-prime attribute depends on the whole of every candidate key.

10
Front

Why is OrderDate a partial dependency in OrderLine?

Back

In OrderLine, OrderID→OrderDateOrderID \to OrderDate is partial because the composite key is (OrderID,ProductID)(OrderID, ProductID), but OrderDate depends only on OrderID.

11
Front

What does 3NF require beyond 2NF?

Back

A relation is in 3NF if it is in 2NF and has no inappropriate dependency of a non-key attribute on a key through another non-key attribute.

12
Front

How does ProductID determine SupplierName transitively?

Back

Because ProductID→SupplierIDProductID \to SupplierID and SupplierID→SupplierNameSupplierID \to SupplierName, ProductID determines SupplierName indirectly through SupplierID.