04.06.2015 Views

Database Modeling and Design

Database Modeling and Design

Database Modeling and Design

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

256 Exercises<br />

1. ABCD -> EFGHIJK 8. JK -> B<br />

2. ACD -> JKLMN 9. MN -> ACD<br />

3. A -> BH 10. L -> JK<br />

4. B -> JKL 11. PQ -> S<br />

5. BH -> PQR 12. PS -> JKQ<br />

6. BL -> PS 13. PSR -> QT<br />

7. EF -> ABCDH<br />

Problem 6-9<br />

Given the following FDs, determine the minimum set of 3NF tables.<br />

Make sure that all FDs are preserved. Specify the c<strong>and</strong>idate keys of each<br />

table. Note that each letter represents a separate data element (attribute).<br />

Is the set of tables you derived also BCNF?<br />

1. A -> BGHJ 5. EB -> AF<br />

2. AG -> HK 6. EF -> A<br />

3. B -> K 7. H -> J<br />

4. EA -> F 8. J -> AB<br />

Problem 6-10<br />

FDs <strong>and</strong> MVDs<br />

Answer each question yes or no, <strong>and</strong> justify each answer. In most cases,<br />

you will be given a table R with a list of attributes, with at most one c<strong>and</strong>idate<br />

key (the c<strong>and</strong>idate key may be either a single attribute or composite<br />

attribute key, shown underlined).<br />

Given table R(A,B,C,D) <strong>and</strong> the functional dependency AB->C:<br />

1. Is R in 3NF?<br />

2. Is R in BCNF?<br />

3. Does the multivalued dependency AB ->>C hold?<br />

4. Does the set {R1(A,B,C), R2(A,B,D)} satisfy the lossless join property?

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!