Assg Normalization Question

4
DATABASE SYSTEM Assignment- Normalization ASSIGNMENT III (70 marks) Note: Assignment should be done in a group of the same project group. Due date is on 19 th November 2012. Question 1 Cutting Edge Incorporated is a company engaged in the development of computer-aided design (CAD) software packages. The management of Cutting Edge wants to develop a project tracking system to accumulate and report data on current projects, employees and departments. System analyst Suriyati Ahmad developed the following initial record design: (ProjectNumber , ProjectName, StartDate, ProjectStatus, (EmployeeNumber, EmployeeName, DepartmentNumber, DepartmentName, JobTitle, ProjectHours)) Suriyati believes the only system entities are Project, Department and Employee; but because she is assigned to two other projects, she had no time to consider the relationships among those system entities or to normalize the record design. a) For each of the three entities, identify the likely primary key. (3 marks) b) Draw an initial entity-relationship diagram for the system, using the entities Suriyati identified. State any assumptions you must make about the Cutting Edge organization to determine the types of the relationships. (6 marks) c) Convert the record design to third normal form.

description

Assg Normalization Question

Transcript of Assg Normalization Question

Page 1: Assg Normalization Question

DATABASE SYSTEM Assignment- Normalization

ASSIGNMENT III (70 marks)

Note: Assignment should be done in a group of the same project group. Due date is on 19th November 2012.

Question 1

Cutting Edge Incorporated is a company engaged in the development of computer-aided design (CAD) software packages. The management of Cutting Edge wants to develop a project tracking system to accumulate and report data on current projects, employees and departments. System analyst Suriyati Ahmad developed the following initial record design:

(ProjectNumber, ProjectName, StartDate, ProjectStatus, (EmployeeNumber, EmployeeName, DepartmentNumber, DepartmentName, JobTitle, ProjectHours))

Suriyati believes the only system entities are Project, Department and Employee; but because she is assigned to two other projects, she had no time to consider the relationships among those system entities or to normalize the record design.

a) For each of the three entities, identify the likely primary key. (3 marks)

b) Draw an initial entity-relationship diagram for the system, using the entities Suriyati identified. State any assumptions you must make about the Cutting Edge organization to determine the types of the relationships.

(6 marks)c) Convert the record design to third normal form.

(11 marks)

d) Draw a final entity-relationship diagram for the system. (10 marks)

Page 2: Assg Normalization Question

DATABASE SYSTEM Assignment- Normalization

Question 2

The Problem: Keeping Track of a Stack of Invoices

Consider a typical invoice (Figure A). This document, or something like it, is the basis of the order fulfillment process of almost any business. Every piece of information you see here is important. Do normalization (1NF until 3NF) and draw ERD based on the normalized relations.

Figure A: Invoice

(20 marks)

Question 3

Page 3: Assg Normalization Question

DATABASE SYSTEM Assignment- Normalization

Figure 3

Examine the Patient Medication Form for the Bestari Hospital shown in Figure 3 above and answer the following questions:

a) Identify the functional dependencies represented by the data shown in the form in Figure 3.

(5 marks)

b) Describe and illustrate the process of normalizing the data shown in Figure 3 to First (1NF), Second (2NF), and Third (3NF) normal forms.

(9 marks)

c) Identify the primary and foreign keys in your 3NF relations. (6 marks)

BESARI HOSPITALPATIENT MEDICATION FORM

Patient Number : P10034

Full Name : Abu Bakri Ward Number : Ward 11Bed Number : 84 Ward Name : Orthopaedic

Drug No

Name Description

Dosage Method of Admin

Units per Day

Start Date

Finish Date

10223

Morphine Pain Killer 10mg/ml Oral 50 24/03/08

24/04/09

10334

Tetracyclene Antibiotic 0.5mg/ml IV 10 24/03/08

17/04/08

1022 Morphine Pain Killer 10mg/ml Oral 10 25/04/0 02/05/10