Thursday, September 7, 2017

HW6: Chapter 4

4.5 Using the technique suggested here, where natural language descriptions are presented in a standard format, write plausible user requirements for the following functions:
An 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.
- The user swipes their card and then chooses credit or debit. It debit is chosen, they enter their PIN.
- If the transaction is authorized, the user pumps gas. The amount is decided when the user hangs up the nozzle.
- The machine prints a receipt for the amount of gas pumped.
The cash-dispensing function in a bank ATM.
- The user inserts their card.
- The user types in their PIN.
- If the PIN is correct, the user can choose the amount of money to dispense.
- The user's card is returned.
- If there is enough money in the user account, the cash is dispensed.
- A receipt is printed.
In an Internet banking system, a facility that allows customers to transfer funds from one account held with the bank to another account with the same bank.
- The user inserts their credentials (username, password).
- The user enters the account number and routing number of the person they want to transfer money to.
- If the account and routing numbers are valid, the user enters the amount of money to be transferred.
- The money is removed from the user's account and transferred.
- The user is sent a confirmation message when the transfer is complete.
4.6 Suggest how an engineer responsible for drawing up a system requirements specification might keep track of the relationships between functional and non-functional requirements.
- The requirements should be illustrated with diagrams and explained clearly in writing.
4.7 Using your knowledge of how an ATM is used, develop a set of use cases that could serve as a basis for understanding the requirements for an ATM system.
x

No comments:

Post a Comment