Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Course: System Analysis And Design Please Answer this question, Correctly. Consider the following scenario: The Sweet Treat company is 'a small, independent business that sells

image text in transcribed

Course: System Analysis And Design

Please Answer this question, Correctly.

Consider the following scenario: 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

Build It For The Real World A Database Workbook

Authors: Wilson, Susan, Hoferek, Mary J.

1st Edition

0073197599, 9780073197593

More Books

Students also viewed these Databases questions