Functional Dependencies
- 75Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
75 questions
- 1A functional dependency stating that alpha determines beta means that any two tuples matching on alpha must also match on_____.
Hint
It is the attribute set on the right-hand side of the dependency.
Answer
beta
- 2A functional dependency is a constraint that must hold in every_____of the relational schema.
Hint
Think of a particular set of tuples that conforms to the schema.
Answer
instance
- 3The three basic Armstrong axioms are reflexivity, augmentation, and_____.
Hint
This rule chains one dependency into another.
Answer
transitivity
- 4The reflexivity axiom allows a dependency when the right-hand attribute set is a_____of the left-hand attribute set.
Hint
The rule covers dependencies that follow directly from attributes already present.
Answer
subset
- 5Under augmentation, if alpha determines beta, adding the same attributes to both sides gives a valid dependency; this is called_____.
Hint
It is the Armstrong axiom that extends both sides equally.
Answer
augmentation
- 6If alpha determines beta and beta determines gamma, transitivity gives the dependency alpha determines_____.
Hint
It is the right-hand side of the second dependency in the chain.
Answer
gamma
- 7The set of all functional dependencies derivable from a given set F is called the_____of F.
Hint
It includes the original dependencies and every dependency implied by them.
Answer
closure
- 8Armstrong's axioms are sound and complete: soundness means they derive only dependencies that are_____, while completeness means they can derive every dependency that follows.
Hint
A sound rule never produces a dependency that fails to hold.
Answer
valid
- 9When two dependencies have the same left-hand side, the derived rule that combines their right-hand sides is the rule of_____.
Hint
The rule joins the two right-hand attribute sets into one.
Answer
union
- 10The reverse of the union rule, which splits a dependency on a combined right-hand side into separate dependencies, is called_____.
Hint
It breaks one dependency into smaller right-hand sides.
Answer
decomposition
- 11From alpha determines beta and gamma together with beta determines delta, the derived rule gives gamma together with alpha determines delta; this rule is called_____.
Hint
It combines augmentation with a transitive chain.
Answer
pseudo-transitivity
- 12Union, decomposition, and pseudo-transitivity are derived rules: they are sound, but are not required for the_____of Armstrong's axioms.
Hint
The three original axioms already suffice to derive every implied dependency.
Answer
completeness
- 13Starting with A determines B and B determines C, transitivity lets us infer that A determines_____.
Hint
Follow the chain from A through B to its final attribute.
Answer
C
- 14In the larger example, A determines B and B determines H, so transitivity gives A determines_____.
Hint
It is the right-hand side of the second dependency in the chain.
Answer
H
- 15Augmenting A determines C with G gives the dependency AG determines_____.
Hint
Add G to both the original left-hand and right-hand sides.
Answer
CG
- 16Given AG determines CG and CG determines I, transitivity gives AG determines_____.
Hint
The intermediate attribute set is CG.
Answer
I
- 17From CG determines I, augmenting both sides with C and G yields CG determines_____.
Hint
The original right-hand side is joined by the attributes added through augmentation.
Answer
CGI
- 18Using union on CG determines CGI and CG determines HI gives CG determines_____.
Hint
Combine the two right-hand attribute sets, counting shared attributes only once.
Answer
CGHI
- 19A direct algorithm for computing F plus begins by initializing the set of known dependencies to_____.
Hint
At the start, no derived dependencies have been added yet.
Answer
F
- 20In the closure algorithm, reflexivity and augmentation are applied to individual dependencies, while transitivity is checked using every_____of dependencies.
Hint
Transitivity needs one dependency to lead into another.
Answer
pair
- 21The direct algorithm for F plus terminates because a finite schema has only a finite number of possible functional_____.
Hint
These are the statements the algorithm adds to its closure set.
Answer
dependencies
- 22The algorithm has reached F plus when applying its rules no longer changes the set of known_____.
Hint
The stopping condition is that no new statements are added.
Answer
dependencies
- 23The closure of an attribute set alpha with respect to F contains the attributes that alpha can functionally_____using F.
Hint
It describes the attributes reachable from alpha through the dependencies.
Answer
determine
- 24When computing alpha plus, the algorithm starts with the attributes in_____.
Hint
These attributes are already determined by themselves.
Answer
alpha
- 25While computing a closure, if beta is already in the current result and beta determines gamma, the algorithm adds_____to the result.
Hint
Use transitivity from the starting attributes through beta.
Answer
gamma
- 26The attribute-closure procedure repeats its scan of the dependencies until the result stops_____.
Hint
It ends when no more attributes can be added.
Answer
changing
- 27For the example dependencies, computing the closure of AG first gives the starting result_____.
Hint
The initial result is exactly the attribute set whose closure is being computed.
Answer
AG
- 28Because A is in the initial set AG, the dependencies A determines B and A determines C add_____and C to the closure.
Hint
It is the first right-hand attribute named in the two dependencies.
Answer
B
- 29Once the closure of AG contains C and G, the dependency CG determines H adds_____.
Hint
It is the right-hand attribute of the dependency whose left side is CG.
Answer
H
- 30After H has been added to the closure of AG, CG determines I allows the algorithm to add_____.
Hint
It is the other attribute inferred from the left side CG.
Answer
I
- 31A set of attributes is a super key if its closure contains every attribute of the relation; therefore, AG is a super key when AG plus contains all attributes of_____.
Hint
This symbol names the entire relation schema.
Answer
R
- 32To establish that a super key is a candidate key, one must also show that it is_____.
Hint
No proper subset should still be a super key.
Answer
minimal
- 33For AG, checking minimality requires testing whether either A alone or G alone is a_____.
Hint
Test the proper subsets of AG to see whether either already determines all attributes.
Answer
super key
- 34In the example, A plus contains ABCH but not every attribute of R, so A alone is not a_____.
Hint
A super key must cover all attributes of the relation.
Answer
super key
- 35Because G never appears on the right-hand side of any given dependency, no key for the relation can omit_____.
Hint
An attribute that cannot be derived must be included in any set that determines all attributes.
Answer
G
- 36Since neither A plus nor G plus contains all attributes of R, AG is a minimal super key and therefore a_____.
Hint
This is the name for a super key with no redundant attributes.
Answer
candidate key
- 37To test whether alpha determines beta under F, compute alpha plus and check whether it contains_____.
Hint
The test compares the closure with the proposed right-hand side.
Answer
beta
- 38The closure of attribute sets can also be used to compute F plus by finding the closure of each attribute set and recording the dependencies it determines; this offers an alternative that is described as more_____.
Hint
It can avoid repeatedly applying every inference rule to every dependency.
Answer
efficient
- 39A relation must already satisfy first normal form before it can be in Boyce-Codd Normal Form, abbreviated_____.
Hint
Use the standard abbreviation for Boyce-Codd Normal Form.
Answer
BCNF
- 40A relation is in BCNF if every dependency in the closure is trivial or has a left-hand side that is a_____for the relation.
Hint
The determinant must identify every tuple unless the dependency is trivial.
Answer
super key
- 41A functional dependency is trivial when its right-hand attribute set is a subset of its_____.
Hint
The dependency follows from reflexivity when the attributes on the right are already present on the left.
Answer
left-hand side
- 42In the instructor-with-department relation, department name determines building and budget, but department name is not a key; this dependency therefore_____BCNF.
Hint
A nontrivial dependency with a left side that is not a super key fails the BCNF test.
Answer
violates
- 43To decompose a relation using a violating dependency alpha determines beta, one component is formed from alpha union_____.
Hint
This component combines the determinant with the dependency's right-hand attributes.
Answer
beta
- 44In the other component of a BCNF decomposition, the attributes removed from R are the nontrivial part of beta, namely beta minus_____.
Hint
Remove from beta any attributes that already occur on the left-hand side.
Answer
alpha
- 45For the department name dependency, the first BCNF component contains department name, building, and_____.
Hint
It is the other attribute determined by department name.
Answer
budget
- 46In the instructor example, removing building and budget from the combined relation leaves the original_____relation.
Hint
This component contains ID, name, salary, and department name.
Answer
instructor
- 47In the decomposed instructor relation, ID determines name, salary, and department name; in the department relation, department name determines building and budget. These left sides are_____in their respective relations.
Hint
Each left side determines every attribute of its own component.
Answer
keys
- 48For a decomposition into R1 and R2 to cover the original relation, the union of their attributes must equal the attributes of_____.
Hint
This is the original schema being decomposed.
Answer
R
- 49A natural join decomposition is lossless when joining the component instances always reconstructs exactly the original relation, with no extra_____.
Hint
A lossy join may produce combinations that were not in the original instance.
Answer
tuples
- 50In the lossless-join condition described, the attributes shared by R1 and R2 must form a key in at least one of the_____.
Hint
The key condition applies to one of the two decomposed components.
Answer
relations
- 51In the instructor and department decomposition, the intersection is department name, which is a key of the_____relation.
Hint
This component contains department name, building, and budget.
Answer
department
- 52Dependency preservation means that after decomposition, each functional dependency can be checked using the individual relations, without needing to perform a_____.
Hint
The costly operation combines the decomposed relations.
Answer
join
- 53Checking dependencies by joining decomposed relations can be expensive because a join may require solving a_____problem.
Hint
The content names the product operation associated with the cost of joining.
Answer
Cartesian
- 54For the relation with attributes city, street, and zip code, the dependency CS determines Z makes CS a_____.
Hint
CS determines the remaining attribute as well as its own attributes.
Answer
key
- 55In the city, street, and zip code example, Z determines C violates BCNF because Z is not a_____.
Hint
The dependency is nontrivial, so its left side must meet the BCNF key condition.
Answer
key
- 56Decomposing the city, street, and zip code relation on Z determines C produces the components_____and SZ.
Hint
One component contains the determinant Z and the determined attribute C.
Answer
ZC
- 57For the ZC and SZ decomposition, the shared attribute is Z, and Z determines ZC, so the intersection is a key of component_____.
Hint
The component contains the attributes determined by Z.
Answer
ZC
- 58After decomposing into ZC and SZ, the dependency CS determines Z cannot be checked in either component alone; checking it requires a_____.
Hint
The dependency involves attributes that are spread across both components.
Answer
join
- 59The ZC and SZ decomposition is lossless but does not preserve every dependency; therefore BCNF does not guarantee dependency_____.
Hint
This property means that constraints can be checked without reconstructing the original relation.
Answer
preservation
- 60Third Normal Form keeps the BCNF conditions for trivial dependencies and dependencies whose left side is a_____.
Hint
This is the same determinant condition used in BCNF.
Answer
super key
- 61The additional 3NF condition applies to each attribute in the nontrivial right-hand portion, beta minus_____.
Hint
Exclude attributes that already appear on the dependency's left-hand side.
Answer
alpha
- 62Under the additional 3NF condition, every attribute in beta minus alpha must be part of at least one_____for R.
Hint
This is a minimal set of attributes that uniquely identifies tuples.
Answer
candidate key
- 63The attributes in beta minus alpha do not have to belong to the same candidate key; each may occur in a_____candidate key.
Hint
The condition is satisfied attribute by attribute, not necessarily by one shared key.
Answer
different
- 64Every relation in BCNF also satisfies 3NF, but a relation in 3NF is not necessarily in_____.
Hint
This is the stronger normal form.
Answer
BCNF
- 65The extra 3NF condition is a minimal relaxation of BCNF intended to help ensure dependency_____.
Hint
It helps retain the ability to check constraints after decomposition.
Answer
preservation
- 66A central normalization goal is to decompose a poorly designed schema into components that are in a good normal_____.
Hint
The standard design phrase is 'normal form.'
Answer
form
- 67A good decomposition should be lossless and, preferably, dependency_____.
Hint
This allows constraints to be checked without joining components.
Answer
preserving
- 68If a decomposition is lossy, one potential problem is that it may be impossible to_____the original relation correctly.
Hint
Lossless joining is intended to make this operation possible.
Answer
reconstruct
- 69Decomposition can make some queries more expensive because retrieving related information may require a_____.
Hint
This operation combines tuples from separate relations.
Answer
join
- 70Designers balance normal forms, lossless joining, dependency preservation, and query costs because these goals can be_____.
Hint
Improving one goal can sometimes make another harder to achieve.
Answer
contradictory
- 71The instructor information example stores each instructor's children and phone numbers together, so multiple independent facts create_____.
Hint
The same instructor information is repeated across combinations of children and phones.
Answer
redundancy
- 72The instructor information relation can be in BCNF despite its redundancy because it has no nontrivial functional_____.
Hint
BCNF is tested using constraints of this kind.
Answer
dependencies
- 73In the instructor information example, adding a phone number may require multiple tuples when the instructor has multiple children; this is an insertion_____.
Hint
It is a problem caused by needing extra or awkward data changes to record a fact.
Answer
anomaly
- 74Separating children and phone numbers into different relations reduces the tuple combinations and helps eliminate the described_____.
Hint
These are the insertion and update problems caused by redundancy.
Answer
anomalies
- 75Because the instructor information relation can already be in BCNF and 3NF, those forms alone do not solve this kind of independent multivalued-fact problem; a higher form such as_____may be needed.
Hint
It is the higher normal form named in the content.
Answer
fourth normal form

Ask anything
We've read this whole study set, so questions about it get the best answers.