Page 1 of 1

Consider a traditional bank which offers checking, savings, CD (certificate of deposit) accounts to customers. To make i

Posted: Thu Jul 14, 2022 2:27 pm
by answerhappygod
Consider a traditional bank which offers checking, savings, CD(certificate of deposit) accounts to customers. To make it simple,let us assume that
• for a checking account, 10 free checks are allowed per month,and there is a per check fee of, say 50 cents, beyond that.
• for a savings account, the interest will be, say 2%, on thebalance at the beginning of the month (the interest credited on thelast day of that month)
• for a CD account, the customers can have one or more CD's,each CD will be for a particular term (6 month, 1 year, or 5 yearterm), each term has its own interest rate. A CD can be renewed bythe customer at the end of its term again for the same term.
Each account has a unique account number and has a primary ownerand optionally a joint owner. The checking account allows cashdeposits and withdrawals and check deposits and withdrawals. Thesavings account allows cash deposits and withdrawals and checkdeposits. Amount can be transferred between checking and savingsaccount. Account balances cannot be negative. A checking or savingsaccount can be closed at any time.
Each customer has a unique ID (say, social security number), aname, a phone number, and an address (street, city, state, zip). Acustomer can register with the bank and enroll in any of the aboveaccounts (at that time, or later). A minimum balance of, say $100,is required for opening any of the accounts. There is norestriction on the number of accounts for each customer. Thecustomers are interested in knowing their account balances, thetransactions during a particular period, and for the CD's, whenthey mature and their worth at the end of the term. A bank has acollection of customers and has direct access to the customers’accounts, i.e., a bank can lookup by customer info or throughaccount info.
what you need to do: Complete the Java implementations ofthe following use cases. You may use the starter code provided forthis assignment.
You can assume that only cash transactions will be implementedin this version.
• Alice (id: 011-11-1111) opens a checking account (id: 01-001)with an initial balance of $1000 on June 1st, 2022
• Bob (id: 022-22-2222) registers as a customer on June 2nd,2022
• Alice makes a cash deposit of $200 to account 01-001 on June3rd, 2022
• Alice designates Bob as the joint owner for the account 01-001on June 6th, 2022
• Bob makes a cash withdrawal request of $2000 for the account01-001 on June 7th, 2022
• Charlie (id: 033-33-3333) opens a savings account (id: 02-001)with an initial balance of $3000 on June 7th, 2022
• Charlie designates Bob as the joint owner for the savingsaccount (id: 02-001) on June 7th, 2022
• Bob requests a bank statement on June 8th, 2022
• Bob deposits $100 to account 01-001 on June 9th, 2022
• Bob initiates a transfer request of $700 from account 02-001to account 01-001 on June 9th, 2022
• Bob makes a cash withdrawal request of $2000 for the account01-001 on June 10th, 2022
•Alice requests a bank statement on June 15th, 2022
Consider A Traditional Bank Which Offers Checking Savings Cd Certificate Of Deposit Accounts To Customers To Make I 1
Consider A Traditional Bank Which Offers Checking Savings Cd Certificate Of Deposit Accounts To Customers To Make I 1 (97.65 KiB) Viewed 36 times