Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The Sweet Treat company is 'a small, independent business that sells sweets and cakes to the public. The proprietor is very keen on baking and

image text in transcribed

The "Sweet Treat" company is 'a small, independent business that sells sweets and cakes to the public. The proprietor is very keen on baking and specializes in making homemade sweets and cakes for sale in the shop. Besides, making a lot of the confectionary sold in the shop, the proprietor also buys sweets and some cakes from suppliers to increase the range of products for sale. The proprietor keeps records of the quantities of stock he has on hand. The stock includes raw ingredients for his baking, and the sweets and cakes he buys from suppliers. Once a week proprietor checks the stock to dispose of anything that is past its 'sell by 'date. He also checks to see if any raw ingredients or any pre-made sweets and cakes need to be ordered from the suppliers. At the end of each day, the proprietor checks how many of each homemade item have been sold. He keeps a record of these sales and uses this to decide how many of each cake or sweet to make for the following day. a) Draw the Class Diagram and CRC card for the above scenario. Mention the justification of considering the classes. [5+3] b) Draw the State Diagram for the above scenario. [4]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

Explain consumer behaviour.

Answered: 1 week ago

Question

Explain the factors influencing consumer behaviour.

Answered: 1 week ago