In 100 words or less describe the difference between a system sequence diagram and a design sequence diagram.
The system sequence diagram from figure 14.10 in your S&T textbook is shown on the next page.
3.1 In 100 words or less describe the difference between a system sequence diagram and a design sequence diagram.
3.2 Create a design sequence diagram for the “initiatePickUp(orderNbr)” message in figure 14.10. Show how the system responds under the condition that an order is not yet ready. Identify the presentation layer, business logic and data layer in your diagram.
3.3 Draw a design sequence diagram for the “enterQty(qty)” message in figure 14.10 ending with the current subtotal response. Include all classes involved in this message and use your knowledge of loops to show how the system handles a situation where the quantity entered exceeds the quantity threshold for the upccode. Also identify which classes are in the presentation layer, business logic and data layer in your diagram.
Cashier
System
loop
[all products have not been scanned]
addProduct(upccode)
product name and price
loop
[qty not entered or was rejected]
promptForEnteringQty
enterQty(qty)
opt
[qty verification threshold exceeded]
quantity VerificationRequest
alt
[qty not ok]
rejectEnteredQty()
[qty ok]
confirmQty()
sale subtotal
confirmSaleCompleted()
promptForFormofPayment
selectMethodofPayment(paymentMethod)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps