Sie sind auf Seite 1von 16

Title Page

I. Institute Name: Australian College Of Business And Technology

II. Degree Program: Diploma In IT

III. Semester: Semester 1, 2008

IV. Unit Code: CSG 1207 / CSI 4341

V. Unit Name: Systems And Database Design

VI. Lecture Name: Mr. R. Ratnayake

VII. Assignment No: 01

VIII. Assignment Title: Normalization And E-R Modelling

IX. Assignment Due Date: 10th April 2008

X. Date Of Submission: 9th April 2008

XI. Word Count:

My Details

I. ID No: VISRI73

II. Name: Vignarasa Sriganan

III. Mobile No: 0773431866


Answers For Q1

Assumptions

• Only one sales report will be issued in a particular day which would be only
for one staff member.
• Services ID’s are not repeated; therefore no customer would receive a service
ID which was issued in a previous occasion.

Normalization

UNF

R1 = (Staff#, Salesperson, Level, Mobile#, Date, {Cust#, Cust_name,


Cust_add, Service#, Product_ID, Unit_price, Qty, Date/time})

1NF

R1 = (Staff#, Salesperson, Level, Mobile#, Date, {Cust#, Cust_name,


Cust_add, Service#, Product_ID, Unit_price, Qty, Date/time})

R11 = (Staff#, Mobile#, Salesperson, Level, Date)


R12 = (Staff#, Cust#, Cust_name, Cust_add, Service#, Product_ID,
Unit_price, Qty, Date/time)

2NF

R12 = (Staff#, Cust#, Cust_name, Cust_add, Service#, Product_ID,


Unit_price, Qty, Date/time)

R121 = (Cust#, Cust_name, Cust_add)

R122 = (Staff#, Cust#, Service#, Product_ID, Unit_price, Qty, Date/time)

R11 = (Staff#, Mobile#, Salesperson, Level, Date)

3NF

R11 = (Staff#, Mobile#, Salesperson, Level, Date)

R111 = (Mobile#, Salesperson)

R112 = (Staff#, Mobile#, Level, Date)

R121 = (Cust#, Cust_name, Cust_add)

R1211 = (Cust_name, Cust_add)

R1212 = (Cust#, Cust_name)

R122 = (Staff#, Cust#, Service#, Product_ID, Unit_price, Qty, Date/time)

R1221 = (Service#, Product_ID, Unit_price, Qty, Date/time)


R1222 = (Staff#, Cust#, Service#)

R12211 = (Product_ID, Unit_price)

R12212 = (Service#, Product_ID, Qty, Date/time)

Entities

R111 = (Mobile#, Salesperson) Salesperson

R112 = (Staff#, Mobile#, Level, Date) Staff

R1211 = (Cust_name, Cust_add) Customer detail

R1212 = (Cust#, Cust_name) Customer

R1222 = (Staff#, Cust#, Service#) Service

R12211 = (Product_ID, Unit_price) Product

R12212 = (Service#, Product_ID, Qty, Date/time) Sales


Physical E-R Diagram

Customer Cust#,
Customer
detail Cust_name

Cust_name,
Cust_add

Service#,
Staff#, Product_ID,
Service Sales
Cust#, Qty,
Service# Date/time

Staff#, Product Product_ID,


Staff
Mobile#, Unit_price
Level, Date

Mobile#,
Salesperson Salesperso
n
Answers For Q2

Assumptions

1) Delivery Entity represent the free delivery

2) One customer can have many delivery

3) One delivery is for one customer only


Answers For Q3

Entity
Attributes
1. KWEA Name

Address

TP No

E-Mail

2. Staff Staff #

Name

Address

Contact No

Experience

3. Service Service #

Service Name

Service Type

4. Property Type Of Property

Address

Additional
Comments

Ownership

5. Land Block Lot #


Street

City / Town

Post Code

Area

Ownership

Strata
Information

6. Property Status Service Status

Weekly Rent

Rent Period

Service Fee

Monthly Property
Inspection
History

7. Customer Customer #

Name

Address

Date Of Birth

Gender

Catergory Of
Tenant

No. Of People
Living
Current Status

Contact No

Additional
Comments

8. Waiting List Waiting #

Customer
Request

Anticipated Start
Date

Type Of Property

Maximum Rent
Offered

9. Placement Folder Opening #

Candidate #

Actual Start Date

Total Bonds

Weekly Rent
Amount

End Date

 The underlined attributes are the primary key for the representing
entity.

Super Types And Sub Types


 Super Type: Staff

Sub Type: Property Manager

Property / Land Sales

Auctioneer

 Super Type: Property

Sub Type: Currently Tenanted

Ready To Be Tenanted

Ready For Sale

 Super Type: Customer

Sub Type: Buyer

Owner

Tenant

Waiting Tenant

 Super Type: Waiting List

Sub Type: Tenant

Buyer

Das könnte Ihnen auch gefallen