--%>

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 : Define Unions Unions: Unions in C and

    Unions: Unions in C and C++ are object overlays—aggregate quantities such as structs, except that each element of the union consists offset 0, and the total size of union is only as large as is required to hold its largest member (Kernighan and

  • Q : State the term XPath State the term

    State the term XPath?

  • Q : Define the term XML Define the term XML?

    Define the term XML?

  • Q : Explain Connection handshake Connection

    Connection handshake: It is the exchange of messages among two processes in an attempt to create a connection between them.

  • Q : Define the Binding of Instructions and

    Define the Binding of Instructions and Data to Memory?

  • Q : Define Container Abstractions Container

    Container Abstractions: Abstractions for containers (such as lists, stacks, sets, or queues) may represent just the state of a container—e.g., full or empty—and abstract away from the actual container content. The list operations also need

  • Q : Define Double buffering Double

    Double buffering: A graphics method employed to smooth animation. The later version of an image is drawn `at the back the scenes' and then exhibited in its totality whenever the drawing is finished. The supposition is that it will be relatively fast t

  • Q : Long lock in the tibco iProcess

    Describe the term Long lock in the tibco iProcess in brief.

  • Q : Describe Method Method : The portion of

    Method: The portion of a class definition which implements some of the behavior of objects of the class. The body of the method includes declarations of local variables and statements to execute the behavior. The method receives input through its argu

  • Q : Define the term Interface inheritance

    Interface inheritance: Whenever a class implements an interface, the interface inheritance relationship exists among them. The class inherits no implementation from interface, just method signatures and static variables. It is as well possible for one