Question: Question 5 - 40marks Instruction Question 1 Question 2 Question 3 Question 4 7 Question 5 Question 6 Question 7 The informal descriptions of the

 Question 5 - 40marks Instruction Question 1 Question 2 Question 3Question 4 7 Question 5 Question 6 Question 7 The informal descriptionsof the operations of the banking system is shown in the tablebelow. Formalize it using the methods taught under schemas and specifications. Inputs

Question 5 - 40marks Instruction Question 1 Question 2 Question 3 Question 4 7 Question 5 Question 6 Question 7 The informal descriptions of the operations of the banking system is shown in the table below. Formalize it using the methods taught under schemas and specifications. Inputs Processing Outputs Open a deposit account amount If there are no account numbers left, then response, the response is 'No more account account numbers'. If the amount offered is nega- number tive, then the response is 'Overdrawn bal- ances are not allowed in deposit accounts'. Otherwise the account is opened in the input amount with an unused account number chosen by the system, and the response is 'Account opened'. The account number chosen is displayed. Open a current account amount If there are no account numbers left, then response, the response is 'No more account account numbers'. Otherwise the account is opened number in the input amount with an unused account number chosen by the system, and the response is Account opened'. The account number chosen is displayed. Question 8 Question 9 Question 10 Question 5 Cont'd Instruction Question 1 Close an account Question 2 Question 3 account number response, amount Question 4 Question 5 Question 6 Question 7 If the account number is not active, then the response is 'Not an active account number'. If the account number is active, but is a current account that is overdrawn, then the response is Deposit the stated amount to clear', and the output amount is the amount to be paid in to clear the account. Otherwise the account is removed from the records, the closing balance is output, and the response is 'Account closed'. Question 8 Question 9 Question 10 Question 5 Cont'd Instruction Question 1 Question 2 response, amount Question 3 Question 4 9 Question 5 Question 6 Make a deposit or a withdrawal account If the account number is not active, then number, the response is 'Not an active account amount number'. If the account is a deposit account that would become overdrawn, the response is 'Overdrawn balance not allowed', and an output amount is given to show the current balance of the account. Otherwise the balance of the account is changed according to the amount, positive amounts representing deposits, and nega- tive amounts representing withdrawals, and the response is 'Transaction complete'. Question 7 Question 8 Question 9 Question 10 Question 6 - 5marks each Instruction Question 1 Question 2 Question 3 Question 4 Modify your specification from Question 5 in the light of a new requirement, changing the response to making a deposit or a withdrawal as follows: 1. If the amount was positive, the response is to be "Deposit completed" Question 5 10 Question 6 Question 7 Question 8 Question 9 2. If the amount was negative, the response is to be "Withdrawal completed" Question 10 Question 5 - 40marks Instruction Question 1 Question 2 Question 3 Question 4 7 Question 5 Question 6 Question 7 The informal descriptions of the operations of the banking system is shown in the table below. Formalize it using the methods taught under schemas and specifications. Inputs Processing Outputs Open a deposit account amount If there are no account numbers left, then response, the response is 'No more account account numbers'. If the amount offered is nega- number tive, then the response is 'Overdrawn bal- ances are not allowed in deposit accounts'. Otherwise the account is opened in the input amount with an unused account number chosen by the system, and the response is 'Account opened'. The account number chosen is displayed. Open a current account amount If there are no account numbers left, then response, the response is 'No more account account numbers'. Otherwise the account is opened number in the input amount with an unused account number chosen by the system, and the response is Account opened'. The account number chosen is displayed. Question 8 Question 9 Question 10 Question 5 Cont'd Instruction Question 1 Close an account Question 2 Question 3 account number response, amount Question 4 Question 5 Question 6 Question 7 If the account number is not active, then the response is 'Not an active account number'. If the account number is active, but is a current account that is overdrawn, then the response is Deposit the stated amount to clear', and the output amount is the amount to be paid in to clear the account. Otherwise the account is removed from the records, the closing balance is output, and the response is 'Account closed'. Question 8 Question 9 Question 10 Question 5 Cont'd Instruction Question 1 Question 2 response, amount Question 3 Question 4 9 Question 5 Question 6 Make a deposit or a withdrawal account If the account number is not active, then number, the response is 'Not an active account amount number'. If the account is a deposit account that would become overdrawn, the response is 'Overdrawn balance not allowed', and an output amount is given to show the current balance of the account. Otherwise the balance of the account is changed according to the amount, positive amounts representing deposits, and nega- tive amounts representing withdrawals, and the response is 'Transaction complete'. Question 7 Question 8 Question 9 Question 10 Question 6 - 5marks each Instruction Question 1 Question 2 Question 3 Question 4 Modify your specification from Question 5 in the light of a new requirement, changing the response to making a deposit or a withdrawal as follows: 1. If the amount was positive, the response is to be "Deposit completed" Question 5 10 Question 6 Question 7 Question 8 Question 9 2. If the amount was negative, the response is to be "Withdrawal completed" Question 10

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!