4,673 views
2 2 votes
The number of partial dependencies in a relation R{X,Y,V,U,Z} with FD set F={X->YZ, Z->V, V->XY} is ____

7 Answers

Best answer
3 3 votes

Candidate keys are XU,VU,ZU. So prime attributes= X,U,Z,V and non prime attributes= Y.

Partial dependency means that a non prime attribute is functionally dependent on part of a candidate key. (A non prime attribute is an attribute that's not part of any candidate key.)

In the dependencies non prime attribute Y is dependent on X which is part of candidate key XU.  So X->YZ is a partial dependency.

Similarly Y is dependent on V which is part of candidate key VU.

So,there exists 2 partial dependencies which are X->YZ and V->XY.

• selected by
1 1 vote
In the above question there are 2 partial dependencies X->YZ and V->XY because Y is a non prime attribute which is depending on a part of candidate keys( UX,UV,UZ )
• edited by
0 0 votes
Candidate keys are:

XU,ZU,VU

Prime attributes={X,U,Z,V}

So,partial dependency is in:X->YZ,V->XY

and there exists no dependency in Z->V because they both are prime attributes.
0 0 votes
Candidate Keys: UX , UV and UZ

Prime Attributes: { U, V, X, Z}

All the three FD are partial dependencies. (directly or indirectly after RHS split)

As a proper subset of Candidate keys gives non-prime attributes.
0 0 votes
The dependencies are:

         X$\rightarrow$YZ,  Z$\rightarrow$V, V$\rightarrow$XY

By the rule of decomposition, we can write:

X$\rightarrow$Y, X$\rightarrow$Z , Z$\rightarrow$V, V$\rightarrow$X, V$\rightarrow$Y

And, XU, VU and ZU are the candidate keys, so prime attributes are: {X,V,U,Z}

and as such X$\rightarrow$Y and V$\rightarrow$Y are partial dependencies.
Position:
Show:

Related questions

1 1 vote
0 0 answers
399
399 views
Milli asked Oct 21, 2024
399 views
case 1: set of prime attributes determines single non prime attributeor you can say that part of CK+ (some other CK’s) prime attribute determines single non prime attribu...
3 3 votes
2 2 answers
3.2k
3.2k views
learncp asked Oct 19, 2015
3,245 views
What is the best and the most accurate way to check if a given functional dependency is partial on the set of FDs given. Earlier, I used to follow {part of CK - non prime...
4 4 votes
1 1 answer
1.5k
1.5k views
learncp asked Dec 16, 2015
1,509 views
I am revising DBMS for the GATE exam... Often I find it confusing that which dependency should be considered as partial , which should be considered as transitive..due to...
1 1 vote
1 1 answer
128
128 views
GO Classes asked Sep 11
128 views
Consider relation $\text{Exam(ExamId, Section, Date, Duration, AnswersDate, AnswersTime, RoomId, TimeFrom, RoomNo)}$ with primary key $\text{(ExamId, Section)}$ and the f...