The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+15 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 \}$
asked in Databases by Active (3.7k points) | 1.8k views

from option D $\left \{ AB \right \}^{*}=\left \{ ABCDG \right \}$ the attribute $F$ has been removed it used to be $\left \{ ABCDFG \right \}$

this was done to let option C be the distinct one from all others.

2 Answers

+23 votes
Best answer

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

Hence, option C is wrong.

answered by Boss (11.6k points)
edited by
yes. But what about {AB}*?
{AB}* are also looks correct. it is {ABCDG}

F cannot be derived from AB.
Yes. It might be a typo in the question. I removed F to make it correct.
+7 votes
All options correct except c option.
(a) (CF)*= {CFGADE} = {ACDEFG}

(b) (BG)*= {BGACD} = {ABCDG}

(d) (AB)*= {ABCDG}

but in (c) option, (AF)*={AFDE}
so option c is false.
answered by Junior (677 points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

44,494 questions
49,945 answers
65,911 users