Functional Dependency Closure Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By ProProfs AI
P
ProProfs AI
Community Contributor
Quizzes Created: 81 | Total Attempts: 817
| Questions: 15 | Updated: May 1, 2026
Please wait...
Question 1 / 16
🏆 Rank #--
0 %
0/100
Score 0/100

1. Given the relation R(A, B, C, D) with functional dependencies A → B, B → C, and A → D, what is the closure of attribute set {A}?

Explanation

The closure of attribute set {A} includes all attributes that can be functionally determined from A. Starting with A, the dependency A → B adds B, then B → C adds C, and A → D adds D. Thus, the closure of {A} is {A, B, C, D}, encompassing all attributes in the relation.

Submit
Please wait...
About This Quiz
Functional Dependency Closure Quiz - Quiz

Test your understanding of functional dependencies and closure in relational databases. This Functional Dependency Closure Quiz evaluates your ability to compute attribute closures, identify candidate keys, and apply Armstrong's axioms. Essential for database design and normalization, these concepts help ensure data integrity and eliminate redundancy in relational schemas.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. In Armstrong's axioms, the reflexivity rule states that if Y ⊆ X, then X → Y. Which of the following best describes this rule?

Explanation

In Armstrong's axioms, the reflexivity rule asserts that any set of attributes can determine any subset of itself. This means that if you have a complete set of attributes, it inherently contains the information needed to determine any smaller selection of those attributes.

Submit

3. Which of the following statements about attribute closure is true?

Explanation

Attribute closure refers to the set of attributes that can be functionally determined by a given set of attributes X based on a set of functional dependencies F. It includes not only the attributes in X but also any additional attributes that can be derived through the dependencies, thus accurately reflecting all attributes determined by X.

Submit

4. For relation R with dependencies A → B, B → C, and C → D, compute the closure of {A, C}.

Explanation

To compute the closure of {A, C}, we start with the attributes A and C. Using the dependency A → B, we can add B to the closure. Then, with B → C, C is already included, and using C → D, we can add D. Thus, the closure becomes {A, B, C, D}.

Submit

5. A candidate key must satisfy which two properties?

Explanation

A candidate key must ensure that each value is unique, identifying a single record in a database table (uniqueness). Additionally, it must be minimal, meaning that no subset of the key can uniquely identify records, ensuring that the key is as concise as possible while still maintaining its uniqueness.

Submit

6. If X → Y and Y → Z, then by the ______ rule, X → Z.

Explanation

Transitivity is a fundamental principle in logic and mathematics that states if one element relates to a second, and that second element relates to a third, then the first element must also relate to the third. In this case, if X leads to Y and Y leads to Z, it follows that X leads to Z.

Submit

7. Which Armstrong axiom allows you to add attributes to both sides of a functional dependency?

Explanation

Augmentation is an Armstrong axiom that states if a functional dependency X → Y holds, then for any attribute set Z, the dependency XZ → YZ also holds. This allows the addition of attributes to both sides of the functional dependency while maintaining its validity, thus facilitating the expansion of dependencies in database design.

Submit

8. A relation is in Boyce-Codd Normal Form (BCNF) if every determinant is a ______.

Explanation

A relation is in Boyce-Codd Normal Form (BCNF) when every determinant, which is an attribute or set of attributes that can uniquely determine other attributes, must be a candidate key. This ensures that there are no partial or transitive dependencies, thus eliminating redundancy and maintaining data integrity in the database.

Submit

9. Given R(A, B, C) with A → B and B → C, is {A} a candidate key if A also uniquely identifies each tuple?

Explanation

A is a candidate key because it uniquely identifies each tuple in the relation R. Given the functional dependencies A → B and B → C, A not only determines B but also indirectly determines C through B. Thus, A can uniquely identify all attributes in the relation, fulfilling the requirements of a candidate key.

Submit

10. The decomposition rule states that if X → YZ, then X → Y and X → Z. This follows from which Armstrong axiom?

Explanation

The decomposition rule relies on the augmentation axiom, which allows us to add attributes to both sides of a functional dependency, and the reflexivity axiom, which states that if Y is a subset of X, then X → Y holds. Together, they support the breakdown of X → YZ into X → Y and X → Z.

Submit

11. A set of functional dependencies F is ______ to G if F and G produce the same closure for any set of attributes.

Explanation

Two sets of functional dependencies, F and G, are considered equivalent if they yield the same closure for any attribute set. This means that the implications of the dependencies in both sets lead to the same conclusions about attribute relationships, ensuring that they provide the same information regarding the database schema.

Submit

12. To find all candidate keys of a relation, which approach is most direct?

Explanation

Finding all minimal sets whose closure equals all attributes directly identifies candidate keys by determining the smallest combinations of attributes that can uniquely identify all other attributes in the relation. This method ensures that only essential attributes are considered, streamlining the process of identifying candidate keys effectively.

Submit

13. If a relation has multiple candidate keys, any one of them can serve as the ______ key.

Submit

14. Given A → B, C → D, and B → C, what is the closure of {A}?

Submit

15. A partial dependency occurs when a non-key attribute depends on part of a ______ key.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (15)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Given the relation R(A, B, C, D) with functional dependencies A → B,...
In Armstrong's axioms, the reflexivity rule states that if Y ⊆ X,...
Which of the following statements about attribute closure is true?
For relation R with dependencies A → B, B → C, and C → D,...
A candidate key must satisfy which two properties?
If X → Y and Y → Z, then by the ______ rule, X → Z.
Which Armstrong axiom allows you to add attributes to both sides of a...
A relation is in Boyce-Codd Normal Form (BCNF) if every determinant is...
Given R(A, B, C) with A → B and B → C, is {A} a candidate key if A...
The decomposition rule states that if X → YZ, then X → Y and X →...
A set of functional dependencies F is ______ to G if F and G produce...
To find all candidate keys of a relation, which approach is most...
If a relation has multiple candidate keys, any one of them can serve...
Given A → B, C → D, and B → C, what is the closure of {A}?
A partial dependency occurs when a non-key attribute depends on part...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!