18,355 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.1k
27.1k views
Rucha Shelke asked Sep 26, 2014
27,058 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. ...
93 93 votes
8 answers 8 answers
31.7k
31.7k views
Rucha Shelke asked Sep 26, 2014
31,728 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. ...
133 133 votes
7 answers 7 answers
32.5k
32.5k views
Rucha Shelke asked Sep 26, 2014
32,531 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.0k
42.0k views
Rucha Shelke asked Sep 17, 2014
41,958 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\%$...