ISE102 – Assessment 3 Case StudyMatlab

Java Python 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 ISE102 – Assessment 3 Case StudyMatlab .

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         

  • 3
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值