Computer Systems - Welcome to the Department of Mathematics

advertisement
Database Technology
Week 10 – Normalisation I
Introduction
This week we concentrate our efforts on Normalisation, you should
show your understanding of the normalisation process by answering
the following question and then continue to show that you can
implement the process by normalising the scenarios in the later
questions to 3NF.
Questions
1. Define the term Functional Dependency
2. What is a Determinant?
3. What does partial dependency mean?
4. What is a transitive dependency?
5. What is meant by data redundancy?
6. Explain the process of taking a dataset and normalising to UNF.
7. Explain the process of normalising to 1NF from UNF.
8. Explain the process of normalising to 2NF from 1NF.
9. Explain the process of normalising to 3NF from 2NF.
10. Convert the following Customer Order to an equivalent collection of relations that
is in 3NF and then draw an ERD showing Entities and Relationships.
CUSTOMER ORDER
ORDER#: 61384
CUSTOMER#: 007
CUSTOMER NAME: MORE FAT FISH
CUSTOMER ADDRESS: 23 OCEAN DRIVE
CITY-STATE: SORRENTO VIC
PRODUCT # DESCRIPTION
QUANTITY
ORDERED
F-432
FISHING NET
4
D-24
DIVING STUFF
2
DATE:
02/02/2002
UNIT PRICE
$120.00
$320.00
11. Convert the following Customer Order to an equivalent collection of relations that
is in 3NF and then draw an ERD showing Entities and Relationships.
Student
ID
1035
Student
Name
Linda
Total
Credits
17
Grade
Average
3.647
Advisor
Number
49
Advisor
Name
Smith
Course
Number
CSC151
MKT212
ENG101
CHM112
BUS105
Course
Description
Comp Science
Marketing Mgt
English
Chemistry
Intro Business
3397
Sam
9
3.000
49
Smith
ENG101 English
MKT212 Marketing Mgt
CSC151 Comp Science
A
C
B
4070
Kelly
14
2.214
23
Jones
CSC151
CHM112
ENG101
BUS105
B
C
C
C
Comp Science
Chemistry
English
Intro Business
12. Cutting Edge Incorporated is a company engaged in the development of CAD
software packages. The management has requested the development of a
project tracking system to accumulate and report data on projects, employees,
and departments. The systems analyst assigned to the project has developed
this initial record design:
(PROJECT-NUMBER, PROJECT-NAME, START-DATE, PROJECT STATUS,
{EMPLOYEE-NUMBER, EMPLOYEE-NAME, DEPARTMENT-NUMBER,
DEPARTMENT-NAME, JOB-TITLE, PROJECT-HOURS})
Convert the initial record design to an equivalent collection of relations that is in
3NF and then draw an ERD showing Entities and Relationships.
Grade
B
A
B
A
A
Download