The owner of Royal Foods & Cafe (RFC) wants to develop a software application for his...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The owner of Royal Foods & Cafe (RFC) wants to develop a software application for his new restaurant. The aims are to keep track of orders, food and drinks on the menu, ingredients and their stocks. He is also interested in getting information about the most popular food items and drinks. You have been asked to design a database for Food Order Management System (FOMS) for RFC. A customer can place one food order at a time, which is assigned to one of the chefs at RFC. FOMS is expected to keep track of customer names, and optionally their email and phone numbers. For each chef, FOMS will store first and last names, title (like Junior Chef, Senior Chef, Head Chef) and joining date. Each food order has a unique order-id and we need to keep track of date, time, amount, tax and total amount for the order. An order may contain multiple food items, and each item may have multiple instances. A customer may rank each food item, on a scale of 1 to 5, where 5 is the best rating. This information will be used by the owner to keep track of best selling dishes and drinks. Each food item may be either a dish or a drink, and we collectively refer to these as FoodnDrinks. FOMS should keep track of each food item's name, price and optionally a link (URL) to it's recipe, which is available on the RFC's website. For every item in Food- nDrinks, we would like to keep track of the required ingredients, their quantities, name, type (like dairy, oils, vegetables, meats, fruits, spices etc), units (like grams, milliliters) and cost-per-unit. Lastly, the owner also wants to keep track of the kitchen stock, by storing information about each ingredient, its batch-num, stock quantity and expiry date. (a) Design an Entity-Relationship model for the Food Order Management System (FOMS). Explain the key design decisions made in your choice of entities, relation- ships and any other (ownership or hierarchical) aspects. [9 marks] Annotate it with multiplicities and hierarchy annotations. [4 marks] (b) Carry out logical design for the model, representing the design with relational schemas for tables. Annotate the schemas with primary keys and the possibility of null attributes. [7 marks] The owner of Royal Foods & Cafe (RFC) wants to develop a software application for his new restaurant. The aims are to keep track of orders, food and drinks on the menu, ingredients and their stocks. He is also interested in getting information about the most popular food items and drinks. You have been asked to design a database for Food Order Management System (FOMS) for RFC. A customer can place one food order at a time, which is assigned to one of the chefs at RFC. FOMS is expected to keep track of customer names, and optionally their email and phone numbers. For each chef, FOMS will store first and last names, title (like Junior Chef, Senior Chef, Head Chef) and joining date. Each food order has a unique order-id and we need to keep track of date, time, amount, tax and total amount for the order. An order may contain multiple food items, and each item may have multiple instances. A customer may rank each food item, on a scale of 1 to 5, where 5 is the best rating. This information will be used by the owner to keep track of best selling dishes and drinks. Each food item may be either a dish or a drink, and we collectively refer to these as FoodnDrinks. FOMS should keep track of each food item's name, price and optionally a link (URL) to it's recipe, which is available on the RFC's website. For every item in Food- nDrinks, we would like to keep track of the required ingredients, their quantities, name, type (like dairy, oils, vegetables, meats, fruits, spices etc), units (like grams, milliliters) and cost-per-unit. Lastly, the owner also wants to keep track of the kitchen stock, by storing information about each ingredient, its batch-num, stock quantity and expiry date. (a) Design an Entity-Relationship model for the Food Order Management System (FOMS). Explain the key design decisions made in your choice of entities, relation- ships and any other (ownership or hierarchical) aspects. [9 marks] Annotate it with multiplicities and hierarchy annotations. [4 marks] (b) Carry out logical design for the model, representing the design with relational schemas for tables. Annotate the schemas with primary keys and the possibility of null attributes. [7 marks]
Expert Answer:
Related Book For
Advanced Accounting
ISBN: 9780132568968
11th Edition
Authors: Floyd A. Beams, Joseph H. Anthony, Bruce Bettinghaus, Kenneth Smith
Posted Date:
Students also viewed these chemistry questions
-
In problem 8.16, a college chemistry instructor thinks the use of embedded tutors will improve the success rate in introductory chemistry courses. The instructor carried out a hypothesis test and...
-
You have exams in economics and chemistry coming up, and you have 5 hours available for studying. The following table shows the trade-offs you face in allocating the time you will spend studying each...
-
A college chemistry instructor thinks the use of embedded tutors will improve the success rate in introductory chemistry courses. The passing rate for introductory chemistry is 62%. During one...
-
In this exercise, we prove that for all x, y 0: a + b 1 1.40 y B where a 1 and 1 are numbers such that a +B- = 1. To do this, we prove that the function f(x,y) = ax + _xy xy satisfies f(x, y) 0 for...
-
What is a matrix organization?
-
A profitable wood products corporation is considering buying a parcel of land for $50,000, building a small factory building at a cost of $200,000, and equipping it with $150,000 of MACRS 5-year...
-
Explain the purpose of state constituency statutes and how they might aid a corporations efforts to engage in socially conscious behavior.
-
Define the term capital intensity. Explain how a decline in capital intensity would affect the AFN, other things held constant. Would economies of scale combined with rapid growth affect capital...
-
4. 5. In which of following conditions a real gas would behave ideally? (a) Low pressure and low temperature ha (b) At value of temperature equal to its Boyle's temperature (c) Between its critical...
-
An alphabetical list of the adjusted trial balance accounts for North Country Rentals after its first year of operations ending March 31, 2020, is shown below: Required 1. Calculate the capital...
-
The following table depicts statistics on GDP per capita (ie, GDP/population) in column (1) and its growth rate for the country groups (column 2) defined by GDP levels (High-income, Middle-income and...
-
On 1/1/2016, Wilson buys 25% of Taylormade for $500,000 and accounts for the investment using the equity method. The carrying value of net assets at date of purchase totaled $1,800,000. Fair value...
-
What factors are impacting the hotel's performance compared to budget? Summaries Group Weekday Transient Weekday Total Hotel Weekday Rms ADR(G) Revenue(G) Rms ADR(G) Revenue(G) Rms ADR(G) Revenue(G)...
-
Solve for the unknown interest rate in each of the following (Do not round intermediate calculations. Enter your answers as a percent rounded to 2 decimal places, e.g., 32.16.): Present Value Years...
-
4. A firm's most recent dividend was $2.00 and the most recent earnings were $10.00. The firm is expected to grow at 12% for the next 5 years, and then grow forever at 8%. The required rate of return...
-
Perpetual inventory using FIFO Beginning inventory, purchases, and sales for Item Zeta9 are as follows: Oct. 1 Inventory Oct. 7 74 units @ $23 Sale 62 units Oct. 15 Purchase Oct. 24 Sale 81 units @...
-
7-Find the total power (in W) delivered by the battery in the following circuit, R= 20 N. (a) 40 (b) 25 (c) 22.5 (d) 20 (e) 16 20 V 2R 2R w J W 2R
-
From the choice of simple moving average, exponential smoothing, and linear regression analysis, which forecasting technique would you consider the most accurate? Why? please write it in word...
-
Explain the terms preacquisition earnings and preacquisition dividends.
-
Does a parent/investor provide for income taxes on the undistributed earnings of a subsidiary by adjusting investment and investment income accounts? Explain.
-
Per Corporation paid $900,000 cash for 90 percent of Sim Corporation's common stock on January 1, 2011, when Sim had $600,000 capital stock and $200,000 retained earnings. The book values of Sim's...
-
A cylinder of mass \(M\), moment of inertia \(I\) about the cylindrical axis and radius \(R\) rolls on a horizontal surface without slipping. (a) Express the no-slip constraint in differential form....
-
A block of mass \(m\) slides without friction on a larger block of mass \(M\) and is attached to a pin in this block by a massless spring with spring constant \(k\). All motion is in one dimension....
-
A bead of mass \(m\) is threaded without friction on a massless wire hoop of radius \(R\) that is forced to oscillate vertically in a fixed vertical plane at angular frequency \(\omega\) and with...
Study smarter with the SolutionInn App