Chapter 14 Flashcards
______________ are used to specify formal measures of the “goodness” of relational designs, and are constraints that are derived from the meaning and interrelationships of the data attributes
Functional Dependencies (FDs)
______ are used to define normal forms for relations.
keys
Write the FD constraint of the following:
Social security number determines employee name.
SSN → ENAME
Write the FD constraint of the following:
Employee ssn and project number determines the hours per week that the employee works on the project
{SSN, PNUMBER} → HOURS
T/F: The FD constraint must hold on every relation instance r(R).
True.
T/F: If K is a key of schema R, then R functionally determines all attributes in K.
F, K funcitonally determines all attributes in K.
T/F: Given an instance (population) of a relation, all we can conclude is that an FD MAY exist between certain attributes.
true.
What we can definitely conclude is – that certain FDs do not exist because there are tuples that show a violation of those dependencies.
Find the FDs that may exist in the following:
Find the FDs that may exist in the following:
____________ is the process of decomposing unsatisfactory “bad” relations by breaking up their attributes into smaller relations.
Normalization
__________ is a condition using keys and FDs of a relation to certify whether a relation schema is in a particular normal form.
Normal Form
_____________ is the process of storing the join of higher normal form relations as a base relation—which is in a lower normal form.
Denormalization
________ is a normal form based on keys, join dependencies (JDs)
5NF
________ is a normal form based on keys, multi-valued dependencies (MVDS).
4NF
_______, ________, and ________ are normal forms based on keys and FDs of a relation schema.
2NF, 3NF, BCNF