0% found this document useful (0 votes)
65 views

Assignment #3: Complete Problems #5, #9 and #27 On Pages 186, 187 and 192 Respectively of The Text

The document contains an assignment for a student named Ryan Somma to complete problems 5, 9, and 27 from their textbook. It provides the relational schema and dependency diagrams for problems 5 and 9. For problem 27, it asks the student to draw the dependency diagram, identify multivalued dependencies, convert the structures to 3NF, eliminate multivalued dependencies to 4NF, and draw a Crow's Foot ERD.

Uploaded by

Kobina
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views

Assignment #3: Complete Problems #5, #9 and #27 On Pages 186, 187 and 192 Respectively of The Text

The document contains an assignment for a student named Ryan Somma to complete problems 5, 9, and 27 from their textbook. It provides the relational schema and dependency diagrams for problems 5 and 9. For problem 27, it asks the student to draw the dependency diagram, identify multivalued dependencies, convert the structures to 3NF, eliminate multivalued dependencies to 4NF, and draw a Crow's Foot ERD.

Uploaded by

Kobina
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Ryan Somma

StudenID: 9989060874
[email protected]

Assignment #3
Complete problems #5, #9 and #27 on pages 186, 187 and 192 respectively of
the Text.
5. Using the STUDENT table structure shown in P5.5, write the relational schema and
draw its dependency diagram. Identify all dependencies, including transitive
dependencies.

1NF (STU_NUM, STU_MAJOR, DEPT_CODE, DEPT_NAME, DEPT_PHONE,


COLLEGE_NAME, ADVISOR_LNAME, ADVISOR_OFFICE, ADVISOR_BLDG,
ADVISOR_PHONE, STU_GPA, STU_HOURS, STU_CLASS)

Transitive Dependencies:
(DEPT_CODE DEPT_NAME, DEPT_PHONE)
(ADVISOR_LNAME, ADVISOR_OFFICE, ADVISOR_BLDG
ADVISOR_PHONE)

Dependency Diagram
9. Using the answer to Problem 8, write the relational schema and create a set of
dependency diagrams that meet 3NF requirements. Rename attributes to meet the naming
conventions and create new entities and attributes as necessary.

ITEM (ITEM_ID, ITEM_LABEL, BLDG_ID)


BUILDING (BLDG_ID, BLDG_ROOM_NUMBER, BLDG_CODE, BLDG_NAME,
BLDG_MANAGER)

27. Suppose you have been given the table structure and data shown in Table P5.27,
which was imported from an Excel spreadsheet. The data reflect that a professor can have
multiple advisees, can serve on multiple committees, and can edit more than one journal.

Given the information in P5.27:


a. Draw the dependency diagram.

Note: Because EMP_NUM can be empty, name must be included in the primary key.

b. Identify the multivalued dependencies

EMP_NUM, PROF_RANK, EMP_NAME, PROF_OFFICE, DEPT_CODE


EMP_NUM, PROF_RANK, EMP_NAME, PROF_OFFICE, ADVISEE
EMP_NUM, PROF_RANK, EMP_NAME, PROF_OFFICE, COMMITTEE_CODE
EMP_NUM, PROF_RANK, EMP_NAME, PROF_OFFICE, JOURNAL_CODE
c. Create the dependency diagrams to yield a set of table structures in 3NF.

d. Eliminate the multivalued dependencies by converting the affected table


structures to 4NF.
e. Draw the Crow’s Foot ERD to reflect the dependency diagrams you drew in Part c. (Note: You might have to create additional
attributes to define the proper PKs and FKs. Make sure that all of your attributes conform to the naming conventions.)

You might also like