Uploaded by ravsp237

NormPractice

advertisement
Normalization Practice
15 points
Individual Assignment
Tips and hints for these problems. Use the guidelines and rules presented for both
conceptual and logical modeling. Look for plurals, prefixes, and repeating groups. It may
be helpful to first produce a conceptual ER, and then apply normalization rules. Use
proper text form for showing your relations (see page 160 or the class slides). Clean up and
use proper technique for the attribute names as you work through the questions. Show
both primary and foreign keys. Foreign keys can be shown with either a dashed underline
or italics.
1. The personnel department of ColoCraft Brewing uses the following data items when adding
a new employee. Place these items in a 3NF logical design.
name
streetAddress
city
state
zip
telephone area code
telephone number
Social Security number
employee number
emergencyContact
StartDate
TermDate
date of birth
PayRate and Date (could be more than one)
highest education
benefit(s)
PreviousJobs
pay category (salary or hourly)
Children Names
BrewSkills
BreweryAssignments (maybe more than 1)
BreweryAssignmentStartDate
BreweryAssignmentEndDate
Supervisor
Refer to the E-R Diagram and attribute information below for a Missile Tracking System. Design a logical
data model of 3NF relations using this information. Account for all attributes. Make sure you identify the
keys in all of the relations you use. MV stands for multi-values. (1,M) refers to the cardinality.
PAYLOAD INFORMATION -Code, description
(material the missile carries)
MISSLE INFORMATION - Missile-ID, type, description, contractor, fuel types (MV), storage date,
inspection Specialist, inspection description, inspection date
SILO INFORMATION - Silo#, location, phone #
(where the missile is stored and deployed from)
SPECIALIST INFORMATION - Specialist ID, name, agency, office#
PAYLOAD
(1,M)
ASSIGNED TO
IS EQUIPPED WITH
(0,M)
SPECIALIST
INSPECTS
(1,M)
(0,M)
INSPECTED BY
MISSILE
STORED IN
(0,2)
(1,1)
HAS
SILO
3
The following shows a typical invoice sent out by ColoCraft Brewing CO:
Invoice No.: 9999
Customer: XXXXXXXXXXXXXXXXXXXXXXXXXXXX
Address: XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXX, XX 99999
Invoice Date: 99/99/99
Payment Terms:
Total Amount Due: 99,999.99
Salesperson: XXX
Item Code
XXXXX
XXXXX
Description
XXXXXXXXXX
XXXXXXXXXX
Units
999
999
Price Per Unit Line Amount
9,999.99
99,999.99
9,999.99
99,999.99
________
Subtotal:
99,999.99
Tax:
999.99
Delivery:
999.99
Total Amount: 99,999.99
List the required relations in 3NF. Make sure to label your keys.
Related documents
Download