Draw the sequence diagrams of the following scenarios:
a. A customer arrives at the checkout with their items to pay.
b. The cashier scans the identification number of each item, as well as the quantity.
c. The cash register displays the price of each item and its description.
d. When all purchases are recorded, the cashier signals the end of the sale.
e. The cash register displays the total amount of purchases.
f. The cashier announces to the customer the total amount to be paid.
g. The customer chooses their method of payment.
h. The cash register records the sale and prints it.
i. The cashier gives the receipt to the customer.
This is for my Software Engineering course. Could you explain how you represent everything? I missed class this day and need a little help to catch up. Thanks!
Sequence Diagrams are interaction diagrams. purpose of sequence diagram to present how operations are carried out. it captured the interaction between objects in the context of a collaboration. Sequence diagram show the order of the interaction visually by using the vertical axis of the diagram to represent the what messages are sent and when.
In given grocery store checkout scenario their is a interaction between customer and chasier and what message is convety from customer to cashier and cashier to customer all show in the diagram step by step.
Get Answers For Free
Most questions answered within 1 hours.