
CS 430 Database Systems
Homework Assignment 4 - Due 02/26/2009
1. (a) Does the FD X โZ follow from {XโY, X โW, WY โZ}?
(b) Does the FD XW โZ follow from {XY โZ, Y โW, WY โZ}?
2. Consider the relation rbelow:
A B C D E
a1b1c1d1e1
a1b2c2d2d1
a2b1c3d3e1
a2b1c4d3e1
a3b2c5d1e1
Which of the following FDs does rsatisfy: A โB, AD โB, C โDE, CD
โA, AE โB?
3. Let F = {AโB, AB โE, BG โE, CD โI, E โC}. Compute A+,
(AE)+, and (ADE)+.
4. Let F = {AโC, AC โD, E โAD}, and let G = {AโCD, E โAHE}.
Are they equivalent?
5. Find a minimal cover for each of the following.
(a) {AโBC, B โC, AB โD}
(b) {AโC, AB โC, C โDI, CD โI,EC โAB, EI โC}
6. Determine if the following decompositions are lossless join decompositions:
(a) R = ABCD, F = {BโC, AD โC},ฯ={AB,BCD}
(b) R = ABCDEI, F = {AโD, B โE, C โI},ฯ={ABC, ADI, BDEI,
CDEI}.
1