代做ISE102 – Assessment 3 Case Study代写留学生Matlab语言
- 首页 >> Algorithm 算法ISE102 – Assessment 3 Case Study
You are to develop a banking software application for a major bank in NSW Australia. You are to develop the banking application with four major parts in Assessment 2 and 3 respectively.
In Assessment 2, you developed signup and login modules.
In Assessment 3, you will further develop deposit and withdraw modules.
Program description: To develop deposit and withdrawal, you will need to develop a few more methods for the banking class.
Task 1: Deposit Method
Add a ‘deposit’ method to the Bank class.
Your program should prompt the user to enter the amount to deposit to the bank.
Once a valid deposit information is received (e.g., no negative value and non-numerical value), your program is to add the deposit amount to your total balance.
When user clicks or selects ‘View balance’, they should be able to see the updated balance amount. Your program needs ‘View balance’ method.
The user can deposit multiple times until select to Quit the program, or you can limit the number of times a user can deposit in one login session.
Sample 1
Task 2: Withdraw Method
This method will ask the user to enter the amount to withdraw. If the withdrawal input amount is valid (e.g., non-negative and only numerical value), the withdrawal amount should be deducted from the total balance. If the total balance becomes negative, the withdraw request should not be processed. The program should display ‘not sufficient fund available’ message.
Provided the total balance is still positive or zero, the ‘View balance’ option should provide the updated total balance. You may want to limit the number of withdrawals in your program to safeguard the software program.
For the security purpose, if non-numerical data is entered to the withdrawal field, the program should warn the user ‘Only numerical data to be entered for withdrawal’ .
Task 3: Unified Modeling Language (UML)
Use a user-case diagram and activity diagram to describe all banking operations and their interactions with the user. Explain how UML diagrams can be used in program specification design and program verification and validation. What other UML diagrams can be used in a similar s/w programming project.