Académique Documents
Professionnel Documents
Culture Documents
PART-A Tasks: 1. List all the business rules for the database for Fermoy House. An example of business rules is: An invoice is generated by only one customer. 2. Create an ERD that meets the Fermoy House requirements. The ERD should show only Primary Key and Foreign Key attributes.
1. BUSINESS RULES: Each bedroom and private cottage can provide accommodation for 2 guests only. Fermoy House will allow guests to have upto 2 of their dogs stay in the attached kennels. Breakfast will be provided as a part of accommodation, guests can choose either a continental or cooked Irish breakfast. 2.
CUSTOMER
customer name
ROOM
room no
DOG
DOG NAME
BREAKFAST
breakfast type
Customer id
Part B. Create an RDM Tasks: Using the Fermoy House ERD created in Part A: 1. Identify all attributes required for each table shown in the ERD; 2. Create an RDM for each table in the ERD;
1
CUSTOMER
customer id customer name customer address customer room no customer ph number
ROOM
Room no room type room capacity
BREAKFAST
Breakfast type
DOG
dog name Dog kennel
2
Customer id 1100 1101 Customer name Sai Krishna Room number 11 12 Breakfast Continental Ironic Dog name snoopy -
Part C. Normalise the RDM to BCNF : Tasks: Using the RDM created in Part B: 1. Create a set of Dependency Diagrams for the Fermoy House database; 2. Normalise the Fermoy House tables to BCNF; 3. Create a new RDM for the normalised tables. PART- C TASK 1 : Dependency Diagrams Based On RDM
Customer id
Customer name
Customer Address
Customer E-mail
Customer Type
Room Number
Room Type
Room Capacity
Dog Name
Dog Kennel
Dog Color
Food Type
YALAMANCHILI SAI PRASANNA KRISHNA 11533220 Part D. Modify your design : Tasks: 1. Consider a case that is not described above, but could happen in the business of the Fermoy House. Please explain the case and why it might occur. 2. Based on the case you proposed, modify your design of the Fermoy House database accordingly.
We can consider the case of a parking lot, because every customer requires a parking place to park his car as it is a overnight accommodation, the security of their vehicles is important, each customer is assigned with a parking place . So we can consider this scenario which could happen in business of fermony house.
CUSTOMER
customer name
ROOM
room no
PARKING LOT
Parking number
BREAKFAST
breakfast type
DOG
DOG NAME Customer id