Question
****************************************************************************************************************************************************************************************************** Mega super market has three checkout counters. In order to improve the checkout process a PC has been set up at each of these
******************************************************************************************************************************************************************************************************
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started