Software Design and Development
Read the following questions carefully and make
the required analysis and research required to solve them and present your
solution in the most appropriate way you can.
Using the technique suggested in chapter 3, where natural language descriptions
are presented in a standard format, write plausible user requirements for the
unattended petrol (gas) pump system that includes a credit card reader. The
customer swipes the card through the reader then specifies the amount of fuel
required. The fuel is delivered and the customer’s account debited.
cash-dispensing function in a bank ATM.
The spelling-check and correcting function in a word processor.
Q2. Rewrite the following
description using the structured approach described in this chapter. Resolve
the identified ambiguities in an appropriate way.
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.