Podcast
Questions and Answers
What is the role of the actor Cashier in the Process Sale Scenario?
What is the role of the actor Cashier in the Process Sale Scenario?
Which statement accurately describes the 'EnterItem(itemID, quantity)' event?
Which statement accurately describes the 'EnterItem(itemID, quantity)' event?
During which event does the system respond with the total including taxes?
During which event does the system respond with the total including taxes?
What is the system’s response to the 'MakePayment(amount)' event?
What is the system’s response to the 'MakePayment(amount)' event?
Signup and view all the answers
What is the significance of representing the System as a 'black box' in the diagram?
What is the significance of representing the System as a 'black box' in the diagram?
Signup and view all the answers
What type of abstraction does the event 'EndSale()' represent?
What type of abstraction does the event 'EndSale()' represent?
Signup and view all the answers
Study Notes
SSD Overview
- All systems are treated as a black box in SSD.
- The diagram focuses on events that cross the system boundary from actors to systems.
Process Sale Scenario
- The scenario involves a Cashier interacting with a system to process a sale.
- The Cashier is represented as a stick figure, and the System is represented as a black box.
Events
- MakeNewSale() event: The Cashier starts a new sale, and the System acknowledges the request without returning a value.
- EnterItem(itemID, quantity) event:
- The Cashier enters an item, its ID, and quantity.
- The System responds with the item's description and total.
- This event can occur multiple times.
- EndSale() event:
- The Cashier ends the sale.
- The System responds with the total with taxes.
- This event does not have a return value.
- MakePayment(amount) event:
- The Cashier makes a payment.
- The System responds with the change due and receipt.
- Abstract events:
- The System receives payment data via some mechanism not shown on the diagram.
- The System responds with the change due and receipt.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
This quiz is about a scenario where a Cashier interacts with a system to process a sale using System Sequence Diagrams (SSD). The Cashier's role is represented as a stick figure, and the System is represented as a black box.