Question

In: Computer Science

1. Superior Bake Shop sells a variety of baked goods online. Attributes of Baked Good include...

1. Superior Bake Shop sells a variety of baked goods online. Attributes of Baked Good include ProductID, ProductName, Product Category, Weight, and Price. Attributes of Customer include CustomerID, CustomerName, and CustomerAddress (composed of Street, City, State, and ZipCode). Customers place orders with Superior BakeShop. Attributes of order are OrderID and OrderDate. All customers have placed at least one order and customers may place many orders over time. Each order is placed by a single Customer. Orders can include one or more baked good. A baked good can be included in one or more order. Superior Bake Shop keeps track of the quantity of each baked good that is included in an order.

2. Blue Orchard Bake Shop (BOBS) offers a variety of baking workshop. BOBS keeps track of the workshops it offers as well as its teachers and students. Attributes of workshop include WorkshopID, Date, Time, and Fee. Attributes of teacher include TeacherID, TeacherName, (composed of FirstName, MiddleInitial, and LastName), PaymentPerWorkshop, and Skills. Many teachers have more than one skill. Attributes of student include StudentID, StudentName (composed of FirstName, MiddleInitial, and LastName), StudentAddress (composed of Street, City, State, and ZipCode), DateOfBirth, and Age. Students can participate in more than one workshop, but must participate in at least one workshop. Each workshop can have multiple students, but must have at least one student. All workshops are taught by a single teacher. Teachers can teach any number of workshops including zero in the case of a new teacher who has not yet offered a workshop.

3. Main Street Catering has residential, business, and school clients. Attributes of residential clients include ClientNumber, ClientName (composed of FirstName, MiddleInitial, and LastName), ClientAddress (composed of Street, City, State, and ZipCode), and NearestCrossStreets. For each residential client, the two nearest cross streets are stored. Attributes of business clients include ClientNumber, BusinessName, ClientAddress (composed of Street, City, State, and ZipCode), and AnnualCateringBudget. Attributes of school clients include ClientNumber, SchoolName, SchoolDistrictCode, and ClientAddress (composed of Street, City, State, and ZipCode). Some residential clients are also business clients, and some residential clients are also school clients. Main Street Catering has a few clients who are neither residential, nor business, nor school clients.

Draw a conceptual data model to model the scenario in each problem. Use the model constructs (e.g., the material on the E-R model and the enhanced E-R model) from chapters 2 and 3 as appropriate and follow the modeling conventions used in the example problems in the online lessons. Do not use the modeling conventions shown in Figure 2-22 of the Hoffer textbook which illustrate a data model in Visio notation. Be sure to include all appropriate completeness constraints, disjointness constraints, and subtype indicators in your conceptual data models.

Solutions

Expert Solution

The generated ERD’s have below symbols used in it:

Please find below the solutions for given problems:

1. Bake Shop ERD:

Entities: The system will have below entities with attributes:

· Product(ProductID, Product_Name, Product_Category, Weight, Price)

· Customer(CustomerID, CustomerName, CustomerAddress (Street, City, State, and ZipCode))

· Order(OrderID, Order_Date)

Relationship: Below are the relationships in the entities

· Product can be added in many Orders and an order can have many products. It is M:N relationship.

· Customer places one or many order but an order has one customer only.

Conceptual data model: Please find below the data model:

2. Blue Orchard Bake Shop (BOBS) ERD:

Entities: The system will have below entities with attributes:

· Workshop(WorkshopID, Date, Time, Fee)

· Teacher(TeacherID, TeacherName (FirstName, MiddleInitial, LastName), PaymentPerWorkshop)

· Skill(Skill_id, Name, Description)

· Student(StudentID, StudentName (FirstName, MiddleInitial, LastName), StudentAddress (Street, City, State, ZipCode), DateOfBirth, Age)

Relationship: Below are the relationships in the entities

· Workshop must have exactly one Teacher whereas a Teacher can have taught in none or many Workshops.

· Student can join atleast one or many workshops.

· A workshop must have atleast one to many Students.

· A teacher must have atleast one to many Skills.

Conceptual data model: Please find below the data model:

3. Main Street Catering ERD:

Entities: The system will have below entities with attributes:

· Client (ClientNumber, ClientAddress (Street, City, State, and ZipCode))

Client has below sub entities, where the inheritance is of Overlapping type as a client can be of two types or can be of none of the below type:

· Client -> ResidentialClient(ClientName (FirstName, MiddleInitial, astName), NearestCrossStreets (multivalued))

· Client -> BusinessClient(BusinessName, AnnualCateringBudget)

· Client -> SchoolClients(SchoolName, SchoolDistrictCode)

Conceptual data model: Please find below the data model:


Related Solutions

Danny's Delights is a wholesales bakery. Danny makes a variety of baked Goods, which he sells...
Danny's Delights is a wholesales bakery. Danny makes a variety of baked Goods, which he sells to restaurants and grocery stores. His best-selling item is a peanut butter cookie. The recipe calls for 1 cup of peanut butter, 1 cup of sugar and 1 egg. Each recipe makes a batch of one dozen cookies. Danny's standard direct materials cost for each batch of cookies is $0,90 for peanut butter, $0.15 for sugar and $0.10 for an egg. In additiion, the...
A. EasyBaker makes and sells baked goods to corporate and institutional clients. Presented below are account...
A. EasyBaker makes and sells baked goods to corporate and institutional clients. Presented below are account balances or other information as of 12/31/2017 or for the year 2017 for EasyBaker: Prop, Plant, & Equip. $15,000 Cash Collected from Customers $31.000 Materials used in production $2,800 Cost of Goods Sold $9,000 Materials Purchased $3,100 Sales Office expenses $500 Salaries* and Bonuses $4,000 Accumulated Depreciation $3,500 Increase to Accounts Receivable $1,200 Salary Payable $900 Marketing $1,500 Cash $2,300 * 50% of salaries/bonuses...
Sanyo White Goods LLC is a dealer of a variety of white goods. It sells to...
Sanyo White Goods LLC is a dealer of a variety of white goods. It sells to various retailers throughout the country. During the month of March, 2019, the following transactions took place. 1.      On 1 March, 2019, Sanyo White Goods LLC purchases $120,000 of merchandise from Samsung plc. A trade discount of $20,000 was available with a further 10% cash discount if payment were made within 10 days and  shipping terms FOB  Destination 2.      On 1 March, 2019, Sanyo White Goods LLC purchases $20,000...
Sanyo White Goods LLC is a dealer of a variety of white goods. It sells to...
Sanyo White Goods LLC is a dealer of a variety of white goods. It sells to various retailers throughout the country. During the month of March, 2019, the following transactions took place. 1.      On 1 March, 2019, Sanyo White Goods LLC purchases $120,000 of merchandise from Samsung plc. A trade discount of $20,000 was available with a further 10% cash discount if payment were made within 10 days and  shipping terms FOB  Destination 2.      On 1 March, 2019, Sanyo White Goods LLC purchases $20,000...
A discount specialty foods store sells many varieties of baked goods and wheat-based crackers and snacks....
A discount specialty foods store sells many varieties of baked goods and wheat-based crackers and snacks. It has recently noticed the growing popularity of a snack made of potatoes and lentils. It has also received a growing number of inquiries regarding gluten-free products, of which it has very few. The company is considering whether to introduce more gluten-free baked goods and snacks into both its own product line and its stock. 1. How should the company go about sampling its...
Question 1 The minimum wage was first set by the Bake Shop Act, a law passed...
Question 1 The minimum wage was first set by the Bake Shop Act, a law passed during the presidency of _____. Herbert Hoover Franklin Delano Roosevelt Richard Nixon Lyndon Johnson Question 2 The Supplemental Security Income increased federal support for the _____. blind all of these elderly disabled Question 3 The purpose of the Earned Income Tax Credit (EITC) is to help poor people who are _____. homeless working unable to work unemployed Question 4 The EITC bonus received by...
Cost of Reworked Units Warren’s Sporting Goods Store sells a variety of sporting goods and clothing....
Cost of Reworked Units Warren’s Sporting Goods Store sells a variety of sporting goods and clothing. In a back room, Warren’s has set up heat transfer equipment to personalize T-shirts for Little League teams. Typically, each team has the name of the individual player put on the back of the T-shirt. Last week, Shona Kohlmia, coach of the Terrors, brought in a list of names for her team. Her team consisted of 12 players with the following names: Mary Kate,...
Sarah has a craft shop that sells items online on Etsy. Once a year, in October,...
Sarah has a craft shop that sells items online on Etsy. Once a year, in October, she must plan for her special items sales for Valentine’s day. Her best seller for Valentine’s day is a heart-shaped keychain with the lovers’ names carved on it. Sarah does the carving right before shipping, but she must order all keychains from her supplier in October, to have them ready in January. She offers the keychain in her shop from January 15 to February...
Big Apple Sporting Goods is a retail store that sells a variety of sports equipment. The...
Big Apple Sporting Goods is a retail store that sells a variety of sports equipment. The company's fiscal year ends on December 31. Information to be used for the operating budget this coming year follows. Sales and Merchandise Purchases Budget Information • Sales for this coming year ending December 31 are expected to be as follows: First quarter: $600,000 Second quarter: $650,000 Third quarter: $660,000 Fourth quarter: $800,000 • Cost of goods sold is 40 percent of sales (this is...
Design a simple network marketing scheme for your own online shop, the main content should include,...
Design a simple network marketing scheme for your own online shop, the main content should include, but not limited to 1) The role and status of the enterprise marketing strategy 2) Situation analysis and competitor analysis 3) Promotion goal 4) Marketing cost control 5) How to select target customers 6) The choice of promotion methods (you have to design specific promotion process and content) 7) How to evaluate the effectiveness of marketing
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT