You are on page 1of 5

Question:

Hoosier Burger

Although Hoosier Burger is well recognized for its fast foods,


especially the Hoosier Burger Special, plate lunches are also
offered. These include such main menu items as barbecue ribs,
grilled steak, meat loaf, and grilled chicken breast. The customer
can choose from a variety of side items, including roasted garlic
mashed potatoes, twice-baked potatoes, coleslaw, corn, baked beans,
and Caesar salad.

Many downtown businesses often call and place orders for Hoosier
Mighty Meals. These are combination meals consisting of a
selection of main menu items and three side orders. The customer
can request Hoosier Mighty Meals to feed five, ten, fifteen, or
twenty individuals. As a convenience to its business customers, Bob
and Thelma allow business customers to charge their order. Once
each month, a bill is generated and sent to those business customers
who have charged their orders. Bob and Thelma have found that
many of their business customers are repeat customers and often
place orders for the same Hoosier Mighty Meals. Bob asks you if it
is possible to track a customer’s order history, and you indicate
that it is indeed possible.

a. Based on the information provided in the case


scenario, what entities will Hoosier Burger need
to store information about?

b. For the entities identified in part a,

identify a set of attributes for each entity.

c. Specify an identifier for each entity. What rules


did you apply when selecting the identifier?

d. Modify Figure to reflect the addition of these


new entities. Be sure to specify the cardinalities for
each relationship.

FIGURE Preliminary E-R diagram for Hoosier Burger’s


inventory control system.

This study source was downloaded by 100000806058640 from CourseHero.com on 06-01-2021 06:24:45 GMT -05:00

https://www.coursehero.com/file/64471285/Exam-26pdf/
Answer :

Model
escribed, Hoosier Burger offers the following to a customer:

nd other fast foods along with few main menu items.

are offered too many downtown businesses. Mighty Meal is a combination of one main item and three
n charge their orders on monthly basis.

Entities Description
udy source was downloaded by 100000806058640 from CourseHero.com on 06-01-2021 06:24:45 GMT -05:00

According to the case scenario, the set of entities that would interest Hoosier Burger are listed below:

This st
Customer The details of the business customers of Hoosier Burger.

Order The list of items bought by a customer every time.

The combination of a main item with three side orders forms a


Mighty_Meal
mighty meal.

The description of every item in the complete menu of Hoosier


Item
Burger.

Pattern A pattern describes the buying habits of one or more customers.

The list of entities and their associated attributes are given in the table below:

Entity Attributes

Customer_Id, Customer_Firstname, Customer_Lastname,


Customer
Customer_Type, Customer_Address,
Customer_Phonenumber

Order_Id, Order_Description,
Order
Order_Items,Order_Amount, Order_Status

Mighty_Meal_Id, Mighty_Meal_Description,

Mighty_Meal Mighty_Meal_Mainitem, Mighty_Meal_Suborder,

Mighty_Meal_Price

Item Item_Id, Item_Description, Item _Type, Item _Price

Pattern_Id, Pattern_Description, Pattern_Items,


Pattern
Pattern_Customers

This study source was downloaded by 100000806058640 from CourseHero.com on 06-01-2021 06:24:45 GMT -05:00
The list of entities and their respective identifiers are given in the table below:

Entity Attributes Reason

The value of these attribute is different for every


Customer Customer_Id instance and is constant throughout the lifetime of
the instance.

Order Order_Id

Mighty_Meal Mighty_Meal_Id

Item Item_Id

Pattern Pattern_Id

Consider the following E-R Diagram of Hoosier Burger’s system:

This study source was downloaded by 100000806058640 from CourseHero.com on 06-01-2021 06:24:45 GMT -05:00
Cardinalities of each relation are determined by using different symbols. The symbol present b
relationship.

This study source was downloaded by 100000806058640 from CourseHero.com on 06-01-2021 06:24:45 GMT -05:00

You might also like