ICT330: FoodDelivery(custName, custAddress, orderNumber, dishName, dishUnitPrice, dishQty: Database Management Systems Assignment, SUSS

Question 2 (35 marks)
You are given the table:
FoodDelivery(custName, custAddress, orderNumber, dishName, dishUnitPrice, dishQty, addOnCode, addOnName, addOnUnitPrice, addOnQty, deliveryDateTime)

A customer can make multiple food orders. Each food order consists of one or more items. An order is identified by orderNumber e.g.,1200006.

Write My Assignment
Hire a Professional Essay & Assignment Writer for completing your Academic Assessments

Native Singapore Writers Team

100% Plagiarism-Free Essay
Highest Satisfaction Rate
Free Revision
On-Time Delivery

Each item ordered e.g., chicken rice, can have one or more add-on items, such as braised egg, braised peanuts, braised tofu, vegetable in oyster-sauce and salted vegetables. Each item that can be ordered is identified by dishName. Each add-on item is identified by an addOnCode. For example, when two packets of chicken rice are ordered, one extra braised egg identified by an addOnCode, F0012 can be added to one of the two packets of chicken rice.

Food orders can be saved to allow a same order to be delivered to a customer multiple times, e.g., to be delivered on 1 Jan 2024 at 12.25 pm and on 7 Jan 2024 at 7.00 pm. A customer is identified by a composite of custName and custAddress, e.g., (‘Peter’, ’12 Bedok Road’).

An example of a delivery food order is shown below:

State your assumption(s) for only data requirements that are not specified.
(a) Formulate and list the functional and multi-valued dependencies.

(b) Draw a dependency graph and then propose the candidate key(s) for FoodDeliveryOrder. Show composite keys in brackets.

(c)
(i) For each MVD in answer to part a), state whether it is subsumed.
(ii) Normalise the table to BCNF and 4NF by applying the BCNF approach
covered in the course text.
Show how you apply the steps to arrive at the tables and explain whether each
derived table at each iteration is already in BCNF and 4NF (if applicable).
(11 marks)

(d) Assemble your BCNF and 4NF tables and constraints clearly by giving each table and the referential integrity constraint(s), if any, in the forms described below:
Tables in this form:
TABLE-NAME(col-name1, col-name2, …, col-namen)
• indicate (PK) against the primary key and
• indicate (FK) against the foreign keys, if any.

Buy Custom Answer of This Assessment & Raise Your Grades
Get A Free Quote

The post ICT330: FoodDelivery(custName, custAddress, orderNumber, dishName, dishUnitPrice, dishQty: Database Management Systems Assignment, SUSS appeared first on Singapore Assignment Help.