Question: ***************************************************************************************************************************************************************************************************** ***************************************************************************************************************************************************************************************************** ***************************************************************************************************************************************************************************************************** ***************************************************************************************************************************************************************************************************** ***************************************************************************************************************************************************************************************************** Mega super market has three checkout counters. In order to improve the checkout process a PC has been set up

***************************************************************************************************************************************************************************************************** ***************************************************************************************************************************************************************************************************** ***************************************************************************************************************************************************************************************************** ***************************************************************************************************************************************************************************************************** *****************************************************************************************************************************************************************************************************

Mega super market has three checkout counters. In order to improve the checkout process a PC has been set up at each of these counters along with the printer. Each item in the super market is packed & each packet carries on it a price tag on which are printed its item code and price. Each customer picks out the desired packet from the shelves place them in the standard shopping basket supplied by the super market and carries the basket to one of the checkout counters. The counter operator takes out each of the packets from the basket, keys in the 12 digit item code. The amount is collected from the customer and a bill is printed and issued to the customer.

a) Draw the state diagram for one of the item object.

b) Draw the class diagram of above scenario.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!