Question: ( a ) The embedded software for a train ticket machine is to be developed. Use cases have been identified for this system and the
a The embedded software for a train ticket machine is to be developed. Use
cases have been identified for this system and the main scenario of the Buy
Ticket use case is as follows:
Precondition: the machine has tickets and a connection to the network.
The passenger requests to view available destinations.
The system presents the available destinations for browsing.
The passenger chooses a destination and number of tickets to buy.
The system presents the price.
The passenger inputs their credit card for payment
The system contacts the card authorization service to authorize the
transaction
The card authorization service confirms the transaction is OK
The system dispenses tickets to the passenger.
Assume that any other details of the use case are not relevant here.
i Sketch a system sequence diagram for this scenario.
ii Design the realization of this scenario by assigning responsibilities to
classes and document with a communication diagram. Do not use a
sequence diagram.
iii Specify how you made your responsibility assignments.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
