Bank accounts Assignment &Code in JAVA

Java Assignment

Scenario:  Bank accounts

Data structures need to be modelled with UML then created in Java to represent a system of people that have access to bank accounts.  The following information should be used a basis for the design.  If any additional assumptions need to be made when creating the design these should be clearly stated and justified. 

A banking organisation has a number of branches.  These branches are used by members of the public to open or close bank accounts.  When someone opens an account they become an account holder.  The bank needs to retain information on account holders to provide them with details of their bank transactions.  An account holder can hold several bank accounts these could be of the same or different types.  Each account is linked to a branch of the bank.  The accounts that are initially available are cheque accounts, savings accounts and investment accounts.  All accounts offer a rate of interest with investment offering the highest rate and cheque the lowest.  It is not possible to have a balance below 0 in savings or investment accounts.  A cheque account may be overdrawn but the bank will charge a fee for each transaction when overdrawn up to a maximum withdrawal limit.  Money may not be withdrawn by demand from an investment account until a set period of time has passed.

Details such as interest rates, withdrawal limits and fees are the same for all bank accounts of the same type but can be changed by the bank from month to month.

The system needs to model the money deposited in the various accounts on a branch by branch basis from month to month.  For example if Mr Jones has a savings and a cheque account in Halifax how much will the balances change each month?  The system also needs to model the customers withdrawing and depositing money in their accounts.

The solution must be platform independent.  A suitable graphical front end will allow access to the data.  The perceived user is a bank teller.  The front end should be clear and screen feedback will assist the user with its operation.  The back end must be modelled as Java classes and collection objects not as a database connection with JDBC.

Tasks

Java Code - (Eclipse Platform)

Create a Java program with an appropriate front end to model the bank design

The bank solution must make use of Java string operations

The Java program must make use of appropriate try and catch blocks to handle potential errors

Screen prints and test tables of the Java solution are critically reviewed (including independent feedback) and analysed with recommendations for improvements

The program front end clearly explains to the user how the program is operated

Code annotations describe how the program can be modified and supported by other programmers

Select/design and apply appropriate methods/techniques:  Relevant Java theories and techniques have been applied to solve the bank scenario.

Use critical reflection to evaluate own work and justify valid conclusions:Evaluation and analysis of test results shows self-criticism and identifies realistic improvements.

Take responsibility for managing and organising activities: All tasks have been successfully completed before the initial deadline.

Demonstrate convergent/lateral/ creative thinking:  Innovation and creative thought are demonstrated in the Java solution

 

   Related Questions in Programming Languages

  • Q : Explain Throw statement Throw statement

    Throw statement: It is a statement employed to throw an exception. For example:     throw new IndexOutOfBoundsException(i+" is too large.");

  • Q : Fact table and dimension table describe

    describe the foreign key in fact table and dimension table

  • Q : What is a Software What is a Software :

    What is a Software: It is a program written to run on the computer.

  • Q : Explain Program counter Program counter

    Program counter: A program counter is an integral portion of a computer's Central Processing Unit. It includes a reference to the memory address of the subsequent instruction to be fetched, ready to be executed throughout the next fetch-execute cycle.

  • Q : What is Reflection Reflection : It is

    Reflection: It is the ability to find out what fields, methods, constructors, and so forth, are stated for an object or class. Reflection is supported by the Class ‘class’, and other classes in the java.lang.reflect package. Reflection mak

  • Q : Write a program to print out ten random

    Write a program to print out ten random numbers from the following sets: a) {0, 1, 2, 3, 4, 5, ...99, 100} b) {1, 2, 3, 4, 5, 6} c) (10, 20, 30, 40, 50,...990, 1000} d) {-5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5} e) {1.5, 2.0, 2.5, 3.0, 3.5}  

  • Q : What are collections and generics What

    What are collections and generics?

  • Q : What is an Anonymous class Anonymous

    Anonymous class: It is a class formed without a class name. Such a class will be a sub class or an implementation of an interface, and is generally formed as an actual argument or returned as a method outcome. For example:

    Q : Why is either inspection or walkthrough

    You were specified a chance to implement either inspections or walkthroughs. Based upon your personal experience that one would you decide? Please share your reason?

  • Q : Describe MCP or Model Checker for C plus

    MCP: Model Checker for C++ (MCP) is an explicit-state software model checker being introduced by the Robust Software Engineering group at NASA Ames Research Center (Thompson and Brat, 2008). MCP was constructed specifically to allow programs written i

©TutorsGlobe All rights reserved 2022-2023.