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.

Exercises 257<br />

Given table R(A,B,C) <strong>and</strong> the set {R1(A,B), R2(B,C)} satisfies the lossless<br />

decomposition property:<br />

1. Does the multivalued dependency B->>C hold?<br />

2. Is B a c<strong>and</strong>idate key?<br />

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

Given a table “skills_available” with attributes empno, project, <strong>and</strong><br />

skill, in which the semantics of “skills_available” state that every<br />

skill an employee has must be used on every project that employee<br />

works on:<br />

1. Is the level of normalization of “skills_available” at least 4NF?<br />

2. Given table R(A,B,C) with actual data shown below:<br />

a. Does the multivalued dependency B->>C hold?<br />

b. Is R in 5NF?<br />

R: A B C<br />

w x p<br />

w x q<br />

z x p<br />

z x q<br />

w y q<br />

z y p<br />

Logical <strong>Database</strong> <strong>Design</strong> (Generic Problem)<br />

Problem 7-1<br />

<strong>Design</strong> <strong>and</strong> implement a small database that will be useful to your company<br />

or student organization.<br />

1. State the purpose of the database in a few sentences.<br />

2. Construct an ER or UML class diagram for the database.<br />

3. Transform your ER or UML diagram into a working database with<br />

five to ten rows per table of data you can make up to fit the data-

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

Saved successfully!

Ooh no, something went wrong!