Academic Year: 2014-2015 Second Semester Software Engineering Department Software Modeling (721222) Course Section:1 Student Name: Student Number: ClassWork2 Class: Bank Account Purpose: Bank transactions 1. Find out a property relevant to this class whose value is variable. Answer: - balance: Number 2. Use abstraction on the possible values of this property to find out two abstract bank account states Answer: - Account-with-funds - Zero-balance - Open account 2. Find out two relevant events that affect the behavior of the bank account class. Answer: -deposit funds -withdraw funds 3. Draw the table that links the states and events found out in precedent questions. Answer: Account with Funds Sates- Events Deposit funds Account with Funds Withdraw funds Account with Funds | [balance > 0] Zero Balance Account with Funds Zero-Balance | [balance ==0] 4. Draw the state diagram that describes the behavior of the Bank Account Class Answer: