Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ProcessSale (Diagram) 4) How many times does the system go through the EnterItem - Description, subtotal loop? 5) How many objects are explicitly destroyed during

ProcessSale (Diagram)

4) How many times does the system go through the "EnterItem - Description, subtotal" loop?

5) How many objects are explicitly destroyed during the ProcessSale interaction?

6) List a pair of messages that could have been represented as an exclusive conditional pair? What would the condition be?

7) According to Common UML Interaction Diagram notation as described by Larman, what is wrong with the representation of each "Create" message in the diagram?image text in transcribed

Cashier Register MakeNewSale Create Sale mare items Loop Enterltem(itemID, quantity) Enterltem(itemlD, quantity) CreatelitemID, quantity), SaleLineltem getSubTotal(itemlD) Create subTotal getDesaription(itemID) desaription getTaxableCodelitemlD) taxableCode getPriceDesaription TaxableCodeitemlD) prion, desaription, taxableCode desaription, subTotal desaription, subTotal EndSale getTotal Create(looationCode) TaxCalaulator getTax(SaleLineltems) Totsl EnterCashPayment(amount) EnterCashPaymentamount) areate cash Tendered) Payment authorize changeDue, receipt changeDue acceptedMessage create update(salelD, subTotel, Tax) reate InventoryDB update(salelD, SaleLineltems) Process Sale Cashier Register MakeNewSale Create Sale mare items Loop Enterltem(itemID, quantity) Enterltem(itemlD, quantity) CreatelitemID, quantity), SaleLineltem getSubTotal(itemlD) Create subTotal getDesaription(itemID) desaription getTaxableCodelitemlD) taxableCode getPriceDesaription TaxableCodeitemlD) prion, desaription, taxableCode desaription, subTotal desaription, subTotal EndSale getTotal Create(looationCode) TaxCalaulator getTax(SaleLineltems) Totsl EnterCashPayment(amount) EnterCashPaymentamount) areate cash Tendered) Payment authorize changeDue, receipt changeDue acceptedMessage create update(salelD, subTotel, Tax) reate InventoryDB update(salelD, SaleLineltems) Process Sale

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

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago