Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1.Discover ambiguities or omissions in the following statement of requirements f

ID: 3820427 • Letter: 1

Question

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 a credit card and a personal identification number. The rail ticket is issued and their credit card account 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 a destination. Once a destination has been selected, users are requested to input their credit card. Its validity is checked and the user is then requested to input a personal identifier. When the credit transaction has been validated, the ticket is issued.

2. Rewrite the above description using the structured approach described in this chapter. Resolve the identified ambiguities in an appropriate way.

Explanation / Answer

1. answer:

AMBIGUITIES AND OMISSIONS IN TICKET- ISSUING SYSTEM :

If a user want to buy multiple tickets, user doesn’t have option. If user want to cancel tickets, he doesn’t have option. Users cannot buy tickets with cash.

The system does not allow customers to buy more than one ticket for the same destination at a time. It should prompt the user if the ticket can be purchased one only at a time.

Customer is more likely to input mistaken destinations and the system should allow user to cancel that request and purchase another ticket.

After having input the destination the system will ask the customer to pay and would ask about which type of payment the user prefers. In this case, the system doesn’t point to as to how to respond if an invalid card is input. It must be able to respond and prompt the user if they try to put their card before selecting a destination.

Must the user press the start button again if they wish to buy another ticket to a different destination?

Ticket system is going to allow customers to input their destination through a touch screen or keyboard. The existing system doesn’t allow the user to see the ticket prices. It is vital to publish the ticket prices accordingly, as customers need to know the amount that they will be charged. It does not show the train departure and arrival times, and whether the customer wishes to buy the ticket for a specific train. It must allow the customers to choose their seats.

Finally, the system should have to prompt the customer for printing the receipt which includes the destination details and payment type. A receipt should have been issued to state whether the purchase has been made successfully.