1. Discover ambiguities or omissions in the following statement of requirements for part of a ticket-issuing system.
An automated ticket issuing system sells rail tickets. Users select their destination and input card details and a personal identification number. The rail ticket is issued and their card account is charged. When the user presses the start button, a menu display of potential destinations is activated, along with a message to the user to select the destination. Once a destination is selected, users are required to input the card details. Its validity is checked and the user is then requested to input the personal identification. When the card …show more content…
Draw the sequence diagram for the same system (ATM) and explain why it might be necessary to have both Activity Diagram and Sequence Diagrams when modeling the behavior of a system. Sometimes it’s necessary to have both and activity diagram and a sequence diagram as well because they show different things so each diagram gives part of the whole picture and both of them together give the complete picture.
The activity diagram displays the flow of control from activity to activity. An activity is any operation that happens in the system as it’s being used that results in a change of the state of the system (For example an object being created, a variable being updated etc.).
The sequence diagrams show an accurate and to the point flow of a complete operation of the whole system or part of the system. An example would be the operation of withdrawing money from an ATM.
References
Elvis.Rowan.edu. (n.d.). Retrieved December 4, 2013, from