Create an entity-relationship diagram

Assignment Help Basic Computer Science
Reference no: EM131548561

Question: Conceptual Design

Use the case study description and list of requirements below to create an entity-relationship diagram showing the data requirements of the FastFoods4U database. Your ERD should be able to be implemented in a relational DBMS.

Bill is a university student who has been picking up meals from certain restaurants for his family on the way home from uni for the last two years, and has now hit upon the idea of making it into a business, which he is calling FastFoods4U. He intends to make available the menus of all the local restaurants for delivery to the homes in his neighbourhood, and has recruited several members of his family and some of his closer friends to make the deliveries. If the trial run is successful, he plans to make it into an Uber-style business (similar to UberEATS and Deliveroo).

Bill has phoned around the higher rated ethnic restaurants in his suburb, and has made a list of 20 who are willing to co-operate with him. Each restaurant has selected a subset of the items on their menus that they think will last the journey from their kitchen to the customer. They have decided that no high-cuisine meal can last more than 10 minutes in a heated container, so that has limited Bill's area of service - customers can only be from the same suburb as the restaurants.

Customers will order their food via a webpage, after registering on the site. They can register from any location, but won't be able to use the site unless the delivery address is in the same suburb as the restaurants. They can select a restaurant and choose a number of dishes from it, referring to the information available on the web page. They can also select dishes directly, by searching on particular requirements such as 'vegetarian' or 'pizza'. However, they can only order from one restaurant per delivery.

Once they have selected their dishes, the customer enters the delivery date, time and address required, and pays the cost of the meal plus delivery via PayPal. The information about the order is sent to the restaurant and also to Bill, who assigns a driver who is currently free to pick up and deliver the order. The driver collects the meal from the restaurant and delivers to the customer. The driver records the actual date and time delivered, as Bill needs to keep track of whether he can live up to his promise to deliver on time.

Bill has heard that you are studying Databases and has asked you to design a database to keep track of the information requirements of his business. He wants the database to record information about customers, restaurants, dishes, drivers, and of course orders and deliveries. At this stage he does not want you to model any of the financial side of the business.

He wants to record various items of information about each restaurant, including its ethnicity (Malay, Indian, Chinese, French, Italian, Australian...) and predominant style (BBQ, formal, pub grub, noodle house, open spit, dim sum, fast food ...). A brief description of each restaurant ('About Us') is to be included, as well as a general description of their food. He also wants to record any special certifications the restaurant as a whole has (e.g. vegan, locavore, organic, nut free, Jain, Halal, Kosher).

The dishes at each restaurant also need to have enough information stored about them so that the customers know what they are selecting. As well as name and brief description, customers are likely to want to know in general terms how the dish was prepared (fried, steamed, raw etc), its main ingredient (fish, cheese...), what type of course it is (soup, starter, main, dessert, side dish) and of course its price. As customers are increasingly aware of health issues, Bill also wants to record the

number of kilojoules in each dish, and also whether it is gluten free, dairy free, vegan, and/or vegetarian, and possibly other nutritional aspects of the dish in the future.

Customers also need some indication of how long the dish will take to arrive: Bill guarantees 10 minutes delivery from when the dish is picked up, but obviously some dishes take longer than others to prepare. He has a rough categorisation of 'fast' (under 15 minutes, including delivery), 'regular' (15 minutes to half an hour), and 'worth the wait' (over half an hour) total time from order to door for each dish.

Although all the actual ordering will be done through the website, Bill wants to print a booklet for each restaurant, so they can have it available to their in-house customers for advertising.

Below are several queries and reports that Bill has requested the database must be able to support. There may well be many others as Bill analyses his business and plans for the future; therefore, you should design for flexibility.

The database will have to support at least the following querying and reporting requirements:

  1. All the details of an order for a particular customer. The driver needs this to pick up the dishes from the restaurant, and to confirm with the customer on delivery.
  2. All the vegetarian dishes that can be delivered to the customer in less than half an hour.
  3. The details of the orders for a particular restaurant on a particular date.
  4. A list of all the vegan restaurants and the names, description and prices of the dishes they offer.
  5. List of all drivers, and the customers (if any) they delivered to on a particular date.
  6. List of drivers who are currently free (i.e. not out on a delivery).
  7. The total number of orders for each restaurant so far.
  8. The booklet which lists the dishes available from a particular restaurant, with their names, descriptions, course type, prices and delivery time.

What you have to do:

  • Use the case study description and querying requirements to create an entity-relationship diagram (ERD) for the FastFoods4U database. Your ERD should be able to be implemented in a relational DBMS.
  • List and explain any assumptions you have made in creating the data model.
  • You should use the crow's feet ERD notation we have been using in the lectures, and should include a legend to explain the notation. You should include attributes in the ERD, and indicate primary and foreign keys. The use of a drawing tool such as Visio will make this task easier.
  • Whichever tool you use, you must copy and paste the ERD into a word-processed document. This is because your tutor might not have access to the tools you have used.
  • Make sure your diagram is readable, e.g. by increasing the size of the attribute names and crow's feet if necessary.
  • Please note that hand-drawn ERDs are not acceptable. Some important things to note:
  • You don't have to create the database or any of the reports at this point. However, Assignment 2 will involve creating the database from your design, so you should be satisfied that it will work.
  • You should make any assumptions that are required, but must state them clearly. Obviously, your assumptions should not contradict any of the information already provided.

Reference no: EM131548561

Questions Cloud

The case of helping the fbi : Your friend has asked you to assist by releasing employee information as well as information about all of your sub-contractors and customers.
Develop an international marketing strategy for indonesia : Based on assignment 1, you have developed a good understanding of your client's business, approach to STP and possible differences in an Indonesian market.
Determine the section of the plan : For this section of the plan, create 4 security policies (you may include the policy you created in the previous unit) using the template you created.
The voices of the least-advantaged people were recognized : Describe the ways that the author appeals to the fairness of the process-assuring notice and voice for those affected.
Create an entity-relationship diagram : Use the case study description and list of requirements below to create an entity-relationship diagram showing the data requirements of FastFoods4U database.
Discuss whether or not the ethical analysis made sense : Did you like the results? Did you like the reasons for taking the action, the rationale that is part of the deontological school of thought?
What is the hpv vaccine : The cause and effects of the diseases that australian children are currently vaccinated against.
When to use which control structures : In the previous discussion board you were given the program scenario for Artistic Solutions, a painting company.
Describe the reasons for the referral - relevant background : Describe the reasons for the referral and relevant background information for all stakeholders from the chosen personality assessment scenario.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Equation of motion for heisenberg operators

Assume that the Schrodinger Hamiltonian H = H ( p, q ) is time independent. In this case the time-i ndependent Schrodinger operator yields a Heisenberg operator ( t ) = ei H t e-i H t .

  Argument three arrays of strings

Compose a function (that_string.py) that takes as argument three arrays of strings, determines whether there is any string common.

  Network implementation plan

Create a shell for your Key Assignment. As you begin to craft a Network Implementation Plan for your organization, your first assignment is to create the shell. Please use Word for this assignment. The following is the outline you should follow:

  What is a targeted email

1. What is a targeted email? 2. What are some guidelines when generating orders? 3. What is a Virtual Private Network?

  Massively multiplayer online role-playing games

In a virtual world (VW) of massively multiplayer online role-playing games (MMORPGs), collaboration and communication are provided through the Internet between MMORPG-ready devices such as the Microsoft Xbox, and Sony PlayStation,

  Design and implement a simplified version of the card game

The cards have the following values: 2 to 10 are the value of the card, jack to king have a value of 10, and ace has a value of 1 or 11.

  How can we use both karnaugh maps

How can we use both Karnaugh maps and DeMorgan equivalences to better understand systems we build?

  Which are required and which are optional

Describe the four clauses in the syntax of a simple SQL retrieval query. Show what type of constructs can be specified in each of the clauses

  What is the perfect compensation to the homeowners

a. What is the perfect compensation to the homeowners? What does perfect compensation mean? b. What is the perfect disgorgement value?

  Identify organizations that may be susceptible to each type

Identify organizations that may be susceptible to each type of attack and explain what the perpetrators might hope to gain by infiltrating their systems.

  What is the economic impact of integrated delivery systems

What is the economic impact of integrated delivery systems (IDS) and how can IDS improve economic outcomes for the U.S. healthcare delivery system? Provide examples to support your findings.

  Improve the behavior of the algorithm

.These differences strongly indicate that a mechanism that would dynamically adjust the value of Q during the lifetime of a process would improve the behavior of the algorithm. Suggest a simple mechanism for this purpose.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd