Homework 3

Practice the concepts of chapter 3.

This homework is worth 40 points.

Goals: When you finish this homework you should be able to:

Assignment

  1. (20 points) A hospital keeps the following written drug record for patients admitted to the hospital:
                         Patient Form
      Name  Bob Smith     Patient Number  100-111   
      Room  G 104      
    
    
    Drug Number Name Dosage Units/Day Start DateFinish Date
    P100Morphine10MG/ML503-Feb-105-Feb-10
    A500Tetracyclene0.5MG/ML103-Feb-108-Feb-10
    P100Morphine10MG/ML106-Feb-108-Feb-10
    Please note: Do the following:
    1. Build a single representative table for this data.
    2. Identify the dependencies in your data.
    3. State any assumptions made in the previous step.
    4. Give an example of an insertion, deletion and modification anomalies.
      • State what you will insert/delete/modify in your example.
      • Explain how the anomalies will occur
    5. Describe and illustrate the process of normalizing the data from UNF through BCNF.
    6. Provide your final schema.
    This problem is a modified version of one in Connolly.

  2. (20 points) Do all parts of problem C, page 136.

Submission

Your answers must be typed. Print out this report and turn it in by class time on the due date.