--%>

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 Inconsistent state Inconsistent

    Inconsistent state: A state which an object must not be in. A class requires to be carefully designed in order to make sure that none of its examples can get into a conflicting state. An illustration of an inconsistent state may be a football team wit

  • Q : Define Race hazard Race hazard : It is

    Race hazard: It is a situation which occurs between multiple threads sharing a resource. The race hazard occurs whenever one thread's suppositions regarding the state of a resource are invalidated by the actions of the other thread.

  • Q : Transaction processing monitor or TP

    What is a transaction processing (TP) monitor?

  • Q : Problem on Vectors Create a vector

    Create a vector representing x coordinates of a measurement with 20 points between 0 and 10. Create another vector y representing fake measurements which are related to the above x values as y = 2.3 x – 1.2. Next add random (normal, Gaussian) noise to the vector

  • Q : Define the term Icon Icon : It is an

    Icon: It is an image intended to communicate the language-or culturally-independent meaning.

  • Q : Describe the term Context Switch

    Describe the term Context Switch.

  • Q : Define the term Multiprogramming system

    Define the term Multiprogramming system: It is an operating system which is able to run multiple programs parallel.

  • Q : What is an Operator Operator : It is a

    Operator: It is a symbol, like -, = or ?: taking one, two or three operands and yielding an outcome. The operators are employed in both arithmetic and Boolean expressions.

  • Q : Define Abstract class Abstract class :

    Abstract class: It is a class with the abstract reserved word in its header. The Abstract classes are differentiated by the fact that you might not directly construct objects from them employing the new operator. The abstract class might have zero (0)

  • Q : Explain the purpose of using XML

    Explain the purpose of using XML.