quiz image

Process Sale Scenario using SSD Diagram

RichTourmaline9881 avatar
RichTourmaline9881
·
·
Download

Start Quiz

Study Flashcards

Questions and Answers

What is the role of the actor Cashier in the Process Sale Scenario?

Initiating and finalizing sales and entering item details

Which statement accurately describes the 'EnterItem(itemID, quantity)' event?

It can occur multiple times, with the system responding with item description and total.

During which event does the system respond with the total including taxes?

EndSale()

What is the system’s response to the 'MakePayment(amount)' event?

<p>Change due and receipt</p> Signup and view all the answers

What is the significance of representing the System as a 'black box' in the diagram?

<p>It highlights only the input and output events between the actors and the system.</p> Signup and view all the answers

What type of abstraction does the event 'EndSale()' represent?

<p>An abstraction of acknowledging the request without a return value</p> 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.

Quiz Team

More Quizzes Like This

Use Quizgecko on...
Browser
Browser