18,539 views
46 46 votes

The following functional dependencies are given:

$ AB\rightarrow CD,AF\rightarrow D,DE\rightarrow F,$$C\rightarrow G,F\rightarrow E,G\rightarrow A $

Which one of the following options is false?

  1. $ \left \{ CF \right \}^{*}=\left \{ ACDEFG \right \}$
  2. $ \left \{ BG \right \}^{*}=\left \{ ABCDG \right \}$
  3. $ \left \{ AF \right \}^{*}=\left \{ ACDEFG \right \}$
  4. $ \left \{ AB \right \}^{*}=\left \{ ABCDG \right \}$

5 Answers

Best answer
49 49 votes

$\left \{ AF \right \}$*$ =\left \{ AFDE \right \}.$

Hence, option C is wrong.

• edited by
13 13 votes
All options correct except $C$ option.

(a) ${\text{CF}}^*= {CFGADE} = {ACDEFG}$

(b) ${\text{BG}}^ *= {BGACD} = {ABCDG}$

(d) ${\text{AB}}^ *= {ABCDG}$

but in $(C)$ option , ${\text{AF}}^*={AFDE}$
so, option $C$ is false.

Correct answer : $C$
• edited by
2 2 votes

It is given in the question that:

$1.$  $AB → CD$ 

$2.$  $AF → D$ 

$3.$  $DE → F$ 

$4.$  $C → G$

$5.$  $F → E$ 

$6.$  $G → A$

We will go through each option one by one.


Option A: $\left \{C F\right \}^{*}$ = $\left \{ACDEFG\right \}$

$=>$ $\left \{C F\right \}^{*}$ = $\underbrace{\left \{CGA\right \}}_\textrm{Closure of C using 4 and 6} + \underbrace{\left \{FDE\right \}}_\textrm{Closure of F using 2 and 5}$

$=>$ $\left \{C F\right \}^{*}$ = $\left \{CGAFDE\right \}$

If we just rearrange the terms:

$=>$ $\left \{C F\right \}^{*}$ = $\left \{ACDEFG\right \}$

Hence $\color{green} True$


Option B: $\left \{BG\right \}^{*}$ = $\left \{ABCDG\right \}$

$=>$ $\left \{BG\right \}^{*}$ = $\underbrace{\left \{GA\right \}}_\textrm{Closure of G using 6} + \underbrace{\left \{BCD\right \}}_\textrm{Closure of B using 1: Note that A from G’s closure is being used}$

$=>$ $\left \{BG\right \}^{*}$ = $\left \{GABCD\right \}$

If we just rearrange the terms:

$=>$ $\left \{BG\right \}^{*}$ = $\left \{ABCDG\right \}$

Hence $\color{green} True$


Option C: $\left \{AF\right \}^{*}$ = $\left \{ACDEFG\right \}$

$=>$ $\left \{AF\right \}^{*}$ = $\underbrace{\left \{A\right \}}_\textrm{Closure of A} + \underbrace{\left \{FDE\right \}}_\textrm{Closure of F using 2, 3 and 5: Note that A from A’s closure is being used}$

$=>$ $\left \{AF\right \}^{*}$ = $\left \{AFDE\right \}$

If we just rearrange the terms:

$=>$ $\left \{AF\right \}^{*}$ = $\left \{ADEF\right \}$

But this is not equal to $\left \{AF\right \}^{*}$ = $\left \{ACDEFG\right \}$

Hence $\color{red} False$


Option D: $\left \{AB\right \}^{*}$ = $\left \{ABCDG\right \}$

$=>$ $\left \{AB\right \}^{*}$ = $\underbrace{\left \{ABCD\right \}}_\textrm{Closure of AB using 1} + \underbrace{\left \{G\right \}}_\textrm{Closure of C using 4: Note that C from AB’s closure is being used}$

$=>$ $\left \{AB\right \}^{*}$ = $\left \{ABCDG\right \}$

Hence $\color{green} True$


Hence only False option C (Answer).

0 0 votes

In option C CG is not preserved while taking closure of AF 

option c is false 

Answer:
Position:
Show:

Related questions

64 64 votes
9 9 answers
27.9k
27.9k views
Rucha Shelke asked Sep 26, 2014
27,872 views
Consider the relation enrolled (student, course) in which (student, course) is the primary key, and the relation paid (student, amount) where student is the primary key. ...
94 94 votes
8 answers 8 answers
32.6k
32.6k views
Rucha Shelke asked Sep 26, 2014
32,559 views
Consider the relation enrolled (student, course) in which (student, course) is the primary key, and the relation paid (student, amount) where student is the primary key. ...
135 135 votes
7 answers 7 answers
33.4k
33.4k views
Rucha Shelke asked Sep 26, 2014
33,352 views
Consider the relation account (customer, balance) where the customer is a primary key and there are no null values. We would like to rank customers according to decreasin...
106 106 votes
9 answers 9 answers
42.7k
42.7k views
Rucha Shelke asked Sep 17, 2014
42,737 views
Consider the following log sequence of two transactions on a bank account, with initial balance $12000,$ that transfer $2000$ to a mortgage payment and then apply a $5\%$...