Draw a use case diagram for a ticket distributor for a train system. The system includes two actors: a traveler, who purchases different types of tickets, and a central computer system, which maintains a reference database for the tariff. Use cases should include: BuyOneWayTicket, BuyWeeklyCard, BuyMonthlyCard, UpdateTariff. Also include the following exceptional cases: Time-Out (i.e., traveler took too long to insert the right amount), TransactionAborted (i.e., traveler selected the cancel button without completing the transaction), DistributorOutOfChange, and DistributorOutOfPaper.
This questions can have several correct answers, Figure 2-1 being a possible answer. The following elements should
be present:
• The relationship between an actor and a use case is a communication relationship (undirected solid line).
• The relationship between exceptional use cases and common use cases is an <
• The exceptional use cases described in the exercise only apply to the use cases invoked by the traveler.
The following elements should be present in a “good” answer:
• All exceptions apply to all traveler use cases. Instead of drawing 3x4 relationships between these use cases, an
abstract use case from which the exceptional use case inherit can be used, thus reducing the number of
<
• The student can introduce exceptional use cases not specified in the exercise that apply to the
CentralComputerSystem use cases.
You might also like to view...
To insert and work with tab stops, it helps if the ________ is showing
Fill in the blank(s) with correct word
The ________ function returns one value if a condition is met and a different value if it is not
A) COUNTIF B) IF C) MAX D) MEDIAN
Which sentence is correct when using a plural abbreviation??
A. ?RN's who specialize have excellent job prospects. B. ?RNs who specialize have excellent job prospects.
Microsoft Office Online is an example of a(n) ________ productivity packages.
What will be an ideal response?