Question
Given the following two statements:
S1: Every table with two single-valued attributes is in 1NF, 2NF, 3NF and BCNF.
S2: ABC, DE, EC is a minimal cover for the set of functional dependencies ABC, DE, ABE, EC.
Which one of the following is CORRECT?
Official answer and solution
- Official answer
- A
- From
- Official GATE 2014 answer key
Solution
Evaluate relational database theory properties of binary relations and minimal covers of functional dependencies.
Evaluate Statement S1:
Let be any relation schema with two atomic attributes.
- If no non-trivial FDs hold, the candidate key is , and all dependencies are trivial, so is in BCNF.
- If holds, the candidate key is . The LHS of the only non-trivial FD is a superkey, so is in BCNF.
- Similarly if holds, or both hold.
Since every relation in BCNF is also in 3NF, 2NF, and 1NF, any binary relation with single-valued attributes is automatically in 1NF, 2NF, 3NF, and BCNF.
Therefore, S1 is TRUE.
Evaluate Statement S2:
Original FD set .
Notice that from and , we can infer by transitivity. Thus is redundant.
A minimal cover of would remove , resulting in .
The set given in S2 is . In this set, we cannot derive (closure ). Thus it is not even an equivalent cover for .
Therefore, S2 is FALSE.
Hence, S1 is TRUE and S2 is FALSE.
A
Believing that removing preserves equivalence, whereas is essential because cannot be derived from without it.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 1
- Question
- 40 of 65, printed as CS Q.30
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.