What are Armstrong's axioms in database management?
Armstrong's axioms are a set of rules used to infer all functional dependencies on a database relation. They help in reasoning about data dependencies and normalization.
Click to reveal answer
beginner
Name the three basic Armstrong's axioms.
The three basic Armstrong's axioms are: 1. Reflexivity 2. Augmentation 3. Transitivity
Click to reveal answer
beginner
Explain the Reflexivity axiom with an example.
Reflexivity states that if set Y is a subset of set X, then X functionally determines Y (X → Y). Example: If X = {A, B} and Y = {A}, then {A, B} → {A} holds true.
Click to reveal answer
intermediate
What does the Augmentation axiom state?
Augmentation means if X → Y holds, then adding the same set Z to both sides preserves the dependency: XZ → YZ. Example: If {A} → {B}, then {A, C} → {B, C}.
Click to reveal answer
intermediate
Describe the Transitivity axiom with a real-life analogy.
Transitivity says if X → Y and Y → Z, then X → Z. Analogy: If knowing your friend's phone number (X) lets you reach them (Y), and reaching them (Y) lets you get their address (Z), then knowing the phone number (X) lets you get the address (Z).
Click to reveal answer
Which Armstrong's axiom states that if Y is a subset of X, then X determines Y?
AAugmentation
BTransitivity
CReflexivity
DDecomposition
✗ Incorrect
Reflexivity states that if Y is a subset of X, then X → Y.
If X → Y holds, which axiom allows you to conclude that XZ → YZ also holds?
AAugmentation
BUnion
CTransitivity
DReflexivity
✗ Incorrect
Augmentation allows adding the same set Z to both sides of a functional dependency.
Given X → Y and Y → Z, what can you infer using Armstrong's axioms?
AX → Z
BZ → X
CY → X
DZ → Y
✗ Incorrect
Transitivity states that if X → Y and Y → Z, then X → Z.
Which of the following is NOT one of the basic Armstrong's axioms?
AAugmentation
BCommutativity
CTransitivity
DReflexivity
✗ Incorrect
Commutativity is not a basic Armstrong's axiom.
Armstrong's axioms are primarily used for what purpose in databases?
ATo manage user permissions
BTo create tables
CTo write SQL queries
DTo infer functional dependencies
✗ Incorrect
Armstrong's axioms help infer all functional dependencies in a relation.
Explain Armstrong's axioms and their importance in database normalization.
Think about how these rules help organize data efficiently.
You got /4 concepts.
Describe each of the three basic Armstrong's axioms with simple examples.
Use small sets of attributes to illustrate each axiom.
You got /3 concepts.
Practice
(1/5)
1. Which of the following is NOT one of Armstrong's axioms used in database theory?
easy
A. Reflexivity
B. Augmentation
C. Transitivity
D. Normalization
Solution
Step 1: Recall Armstrong's axioms
Armstrong's axioms include Reflexivity, Augmentation, and Transitivity.
Step 2: Identify the option not in the axioms
Normalization is a database design process, not an axiom.
Final Answer:
Normalization -> Option D
Quick Check:
Armstrong's axioms exclude Normalization [OK]
Hint: Remember the three axioms: Reflexivity, Augmentation, Transitivity [OK]
Common Mistakes:
Confusing normalization with axioms
Thinking all database terms are axioms
Mixing up augmentation with normalization
2. Which Armstrong's axiom states that if Y is a subset of X, then X functionally determines Y?
easy
A. Reflexivity
B. Transitivity
C. Augmentation
D. Decomposition
Solution
Step 1: Understand the axiom definitions
Reflexivity states if Y is subset of X, then X determines Y.
Step 2: Match the statement to the axiom
The given statement matches Reflexivity exactly.
Final Answer:
Reflexivity -> Option A
Quick Check:
Subset implies functional dependency by Reflexivity [OK]