Question

Draw the sequence diagrams of the following scenarios: An email server acts as an intermediary between...

Draw the sequence diagrams of the following scenarios:

  1. An email server acts as an intermediary between the sender and the receiver of messages.
  2. Open a new session from a webpage then close the session.

  1. A grocery store checkout scenario:

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!

Homework Answers

Answer #1

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.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT