bank management system

44
BANK MANAGEMENT SYSTEM PROBLEM STATEMENT: A Banking concern by the name “ABC Bank” wants to computerize its Banking Services. Bank Management is generally a very complicated task. To reduce the complexity, it wants to computerize its Banking services and for this purpose it wants software, which will handle all its transactions. The software created must get the overall information from the user. It should then give the user an option as to whether the user wants to make a withdrawal or a deposition. As the bank for which the software is to be created provides loan and locker facilities, the various activities of handled by the bank is provision of loan, handling the locker facility and handling the regular banking services. The software created must allow the user to handle each of the service provided by the bank. The software should manage the bank’s account at the end of the year and finally if should generate the yearly financial report of the company.

Upload: praveen-cool

Post on 08-May-2017

231 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Bank Management System

BANK MANAGEMENT SYSTEM

PROBLEM STATEMENT:A Banking concern by the name “ABC Bank” wants

to computerize its Banking Services. Bank Management is generally a very complicated task. To reduce the complexity, it wants to computerize its Banking services and for this purpose it wants software, which will handle all its transactions.

The software created must get the overall information from the user. It should then give the user an option as to whether the user wants to make a withdrawal or a deposition.

As the bank for which the software is to be created provides loan and locker facilities, the various activities of handled by the bank is provision of loan, handling the locker facility and handling the regular banking services. The software created must allow the user to handle each of the service provided by the bank.

The software should manage the bank’s account at the end of the year and finally if should generate the yearly financial report of the company.

Page 2: Bank Management System

BANK MANAGEMENT SYSTEM:

PROBLEM STATEMENT:

ABC Bank a nationalized bank wants to computerize some of its services. Banking services is really a complicated task. Each service has a process of its own to be carried out. To reduce the complexity the bank wants to computerize some of its services like maintenance of account holders’ details, their transactions, providing interest for fixed deposit account holders etc.

The software created must get the information from the user. It should then give the user an option as what he wants to look into, like the details of the account holder, his transactions, interest calculated etc by selecting onto the correct option.

As the firm for which the software is to be created is a Bank, the various activities of the bank which the software must carry out is maintenance of account holders’ details, their transactions, interest calculation for fixed deposit account holders’ etc. The software created must allow the user to view the details of the account holder for each activity.

The software should calculate the interest for fixed deposit account holders’ as per the time given by the user. It should maintain every detail of the account holder.

Page 3: Bank Management System

BANK MANAGEMENT SYSTEM

SOFTWARE REQUIREMENTS SPECIFICATION:

1. INTRODUCTION: This document is to provide the software

requirement specification of the computerized solutions for certain banking services. It keeps track of the account holder’s details. It calculates the interest rate for fixed deposit account holders’.

1.1. Purpose: The main purpose of this software is to enable the

easy maintenance of account holders’ details, their transaction etc.

1.2. Scope: The software has the ability to keep a track on the

account holders’ details.

1.2.1. Benefits: Saves time. Reduce errors. Customer friendly.

1.2.2. Objectives: Provides fully automated banking services. Efficient functioning of the bank.

1.3. Definitions, Acronyms And Abbreviations: OS-Operating System RAM-Random Access Memory MB-Mega Byte GB-Giga Byte Mbps-Mega bits per second HDD-Hard Disk Drive BMS-Bank Management System

Page 4: Bank Management System

LAN-Local Area Network

1.4. Reference: The books and reference materials used

during the pre-development stages of the project include: Software Engineering: A Practitioner’s Approach By

Roger.S.Pressman. Software Engineering: Ian Sommerviel.

1.5. Overview: The rest of this document gives an overview

of the feature and functions of the bank management software along with the technical and non-technical details and the interfaces.

2. OVERALL DESCRIPTION:

2.1. PRODUCT PERSPECTIVE:The “Bank Management System” is an

application that remains to be independent. The system interfaces, user interfaces and the hardware interfaces related with this software is defined below:

2.1.1. System Interfaces: The client system must be able to share the

data available in the database through the network.

2.1.2. User Interfaces: The screen formats and the menu structure

should be in such a way that the user should find it easy to use the product. The product should be user-friendly. The functionality provided by the system like displaying error messages should adapt itself to the different users of the product.

Page 5: Bank Management System

2.1.3. Hardware Interfaces: UPS (Uninterrupted Power Supply) for backup power

during power failure. Client systems are connected to the LAN. Since a LAN is to be used for the network wherein each

node is connected to every other node.

2.1.4. Software Interfaces:

NAME VERSION SOURCEMS-ACCESS 2000 or any other

higher versionMicrosoft Corporation

OS-WINDOWS 2000 or any other higher version

Microsoft Corporation

2.1.5. Communication Interfaces: There is a LAN user for communication

among the different client systems to be used.

2.1.6. Memory Constraints: The system should require a disk space of 20

GB and 256MB RAM of the service systems and 5 GB and 128 RAM for the client system.

2.1.7. Operations: The user can be a staff or an administrative

manager. The user has to use a login to enter the software and then he/she can check the details of the account holders. There must be a backup data, which will enable easy recovery from failures, which may catastrophic at times by clicking on the menu.

2.1.8. Site Adaptive Requirements: The software requires no special

requirements to adapt to a particular installation except for files that are to be re-created.

Page 6: Bank Management System

2.2. PRODUCT FUNCTIONS:The main functions are:

Create an account. Maintain a track on the transactions made by the

account holder. Calculate the interest for fixed deposit account

holders. Display the account holders’ details when

required.

2.3. USER CHARACTERISTICS:It is enough that the user has a basic

knowledge of C++ needed for the operation of the software. There is no need for any experience or technical knowledge.

2.4. CONSTRAINTS: Regulatory Policies:

It is mandatory that no text box must be left empty or contains insufficient information.

Hardware Limitations:There must be 128 MB on board memory.

Interface to other application:Not applicable.

Parallel Operations:It should support many users at a time.

Control functions:In case of any errors and service problems

proper error handling and other recovery mechanisms must be used. Higher order language Requirements:

Not applicable. Signal Handshake Protocol:

Not applicable. Reliability Requirements:

Data redundancy. Safety and Security Considerations:

The application must always be exited normally.

Page 7: Bank Management System

2.5. ASSUMPTIONS AND DEPENDENCIES:The requirements of the software product will

be changed if suppose the features or the functions of the system are to be improved.

2.6. APPORTIONING OF REQUIREMENTS:Not applicable.

3. SPECIFIC REQUIREMENTS:

3.1. EXTERNAL INTERFACE REQUIREMENTS:

3.1.1. User Interfaces: The interface used in GUI must be easy

to understand. This interface serves as a bridge between the user and the software. It also makes the user interaction with the system easy.

The user interface includes: Screen formats / Organizations:

The introductory screen will be the first to be displayed which allows the user to log in using their id and password.

Windows formats / Organizations: When the user chooses a particular topic

then the information pertaining to that topic will be displayed in a new window, which will allow multiple windows to be available on the screen, and the user can switch between them.

Data Format: The data entered by the user will be

alphanumeric.

Page 8: Bank Management System

End Message: When there are some exceptions, error

messages will be displayed promptly by the user to re-enter the details when an event has taken place successfully.

3.1.2. Hardware interfaces: The system must basically support certain

hardware and these must be an interface between them.

NAME OF THE ITEM

DESCRIPTION OF PURPOSE

SOURCE OF INPUT /

DESCRIPTION OF OUTPUT

Keyboard To get the details of from the user.

Source of input

Printer To print the details of the account holder.

Destination of output

3.1.3. Software interfaces: Not applicable.

3.1.4. Communication interfaces: Every client system connected through LAN

establishes a communication only with server and not with any client system. A LAN of 10 Mbps is used.

Page 9: Bank Management System

3.2. SOFTWARE PRODUCT FEATURES:3.2.1. FEATURE 1:CREATING A NEW MEMBER:

The purpose of this feature is to create a new member detail from the user.

3.2.1.1. Purpose: The purpose of this feature is to enable the

user to enable him/her to enter the details of a new account holder.

3.2.1.2. Stimulus / Response sequence: Once the request is made, a window will

appear asking for all personal details of the account holder as to begin a new account.

3.2.1.3. Associated functionality requirement:3.2.1.3.1. Functional requirement: Creating a new member:

It must check ensure that the user enters valid information and display error messages to avoid abnormal interrupts.

3.2.1.3.1.1. Introduction: The user must be provided with the text and

entry box within 10 seconds.

3.2.1.3.1.2. Inputs: The user has to enter the member id, name

of the account holder, address, phone number, nature of account (whether savings or fixed), document produced for address proof, registration number of the address proof. It also asks if the user wants to add new members.

3.2.1.3.1.3. Processing: Recognizing the correct input as given by the

user.

3.2.1.3.1.4. Outputs:

Page 10: Bank Management System

The page corresponding to the chosen feature will be displayed.

3.2.2.FEATURE 2:CREDIT/DEBIT (Making transactions):This feature is to keep a track on the

transaction made by the account holder.

3.2.2.1. Purpose:The purpose of this feature is to keep on the

transactions made by the account holder. If the A/C holder credits some amount, the amount gets added up to his account. If he withdraws some amount from his account, then that amount is subtracted from his account. It’s compulsory that the account holder must maintain a minimum balance of Rs. 500 in his account.

3.2.2.2. Stimulus / Response Sequence:Once the user chooses that option, the page

corresponding to that is to be displayed.

3.2.2.3. Associated Functionality Requirements:3.2.2.3.1. Functionality Requirement: Transactions:

Once the user chooses the respective feature in the page, they should be taken to the appropriate section establishing them to view the corresponding page.

3.2.2.3.1.1. Introduction:The user has to enter the date on which the

A/C holder is making the transaction.

3.2.2.3.1.2. Inputs:The user has to enter member id of the A/c

holder and the date on which the transaction is made. The user must enter the nature of transaction made (whether credit or debit) and the amount.

3.2.2.3.1.3. Processing:

Page 11: Bank Management System

Considering the given input to be correct if the nature of transaction is credit then the amount is added to the account else it taken from the account.

3.2.2.3.1.4. Outputs:The required change is made in the account.

3.2.3. FEATURE 3: INTEREST CALCULATION : The feature is to calculate the interest for

fixed deposit account holders.

3.2.3.1. Purpose:The purpose of this feature is to calculate the

interest amount for fixed deposit account holders according to the time given by the user.

3.2.3.2. Stimulus / Response Sequence:The user will be asked to enter the

membership number, the software will calculate the interest.

3.2.3.3. Associated Functionality Response:3.2.3.3.1. Functionality Requirement 3:

If any one of the details provided by the user does not meet the defined parameters then it would notify the user by displaying error messages.

3.2.3.3.1.1. Introduction:The user can check about the details on the

number of years since the account has been started.

3.2.3.3.1.2. Inputs:The user has to enter the member id, date,

number of years since the account has been started and the rate of interest provided by the bank.

3.2.3.3.1.3. Processing:Recognizing the correct input as given by the

user and to calculate the interest payable by the bank to the account holder.

Page 12: Bank Management System

3.2.3.3.1.4. Outputs:The output is generated in such way that the

amount is added up to account of the respective A/c holder.

3.2.4. FEATURE 4:-DISPLAYING A/c HOLDERS’ DETAILS :

3.2.4.1. Purpose : The purpose is to enable the user to view the details of

the respective account holder’s details as entered by the user.

3.2.4.2. Stimulus / Response: When the user requests to view the details of a

particular account holder, a screen prompts the user asking whether he want s o view the member details or to view the transaction details.

3.2.4.3. Associated Functional Requirement:

3.2.4.3.1. Functional Requirements:-Displaying A/c holders’ details:

If invalid membership number has been entered, the system must handle the error and ask the user to enter the proper input.

3.2.4.3.1.1. Introduction : The user must be provided with the requested information within 10 seconds.

3.2.4.3.1.2 . Inputs : The user must enter the correct option whether he wants to view the member details or the transaction details. 3.2.4.3.1.3 . Processing:

Recognizing the correct option chosen by the user.

Page 13: Bank Management System

3.2.4.3.1.4 . Output : Displays the output with corresponding to the

option chosen by the user.

3.3. PERFORMANCE REQUIREMENTS:A large database should be present as large

data will be stored.

3.4. DESIGN CONSTRAINTS: Requires 256 MB onboard memory. Based completely on windows functionality

performance. The software must be valid and accessible only by

authorized users.

3.5. SOFTWARE SYSTEM ATTRIBUTES:3.5.1. Reliability:

The factors needed to establish the software expected reliability are:

The user inputs should be valid and within the given range

Normal termination of the program

3.5.2. Availability: The factors that generate the software

availability include proper termination and correct input details. Also the resource used for the project development is Microsoft certified which speaks of the high quality standards.

3.5.3. Security: It must ensure that the access is provided to authorized

users only through password. The user of the service will provide network security.

3.5.4. Maintainability:

Page 14: Bank Management System

Implementing the concept of modularity, which in turn reduces the complexity involved in maintaining it, will develop the software.

3.5.5. Portability: The application is very adaptable; it can be used in

different computer systems with different operating systems and folders.

3.6. LOGICAL DATA BASE REQUIREMENTS:The system requires the use of text file to

maintain the account details about the customer which includes the basic details of the customer and the account details.

3.7. OTHER REQUIREMENTS:NIL.

4. INDEX:NIL

5. APPENDICES:NIL

Page 15: Bank Management System

DATA FLOW DIAGRAM:

LEVEL 0:

LEVEL 1(a):

LEVEL 1(b):

Bank staff

Create new

member

Bank staff

Bank management system

Create new member

Credit/debit

Interest calculation

Display

Accept details

Member database

Write in the file

Page 16: Bank Management System

LEVEL 2(a):

LEVEL 2(b):

LEVEL 2(c):

Bank staff Display

Member display

Transaction display

Member database

Transaction database

Bank user Credit/debit

checkid

Transaction database

Write into the file

Calculate

Bank userInterest calculation

checkid

Transaction database

Write into the file

Calculate

Read details from the file

Page 17: Bank Management System

LEVEL 2(d):

FUNCTIONAL POINT ANALYSIS

Bank management systemFunction oriented software metrics measure of the functionality

delivered by the application as a normalization value. Function oriented metrics were first proposed by Albrecht [ALB79], who suggested a measure called the function point. Function points are derived using an empirical relationship based on countable [direct] measures of software’s information domain and assessments of software complexity.

Bank user Member display

Member database

Display the details

Bank user Transaction display

Read details from the file

Member database

Display the details

Page 18: Bank Management System

Formula FP=count total*[0.65+ (0.01*Fi)]

Function point count for bank management

General System characteristicsFi General system

CharacteristicsAdjustment factor Value

F1 Data communications How many communicationfacilities are there to aid in the transfer or exchange of information with the application

3

F2 Distributed dataprocessing

How are distributed data and processing functions handled?

2

F3 Performance Did the user require responsetime or throughput?

1

F4 Heavily usedConfiguration

How heavily used is the current hardware platform where the application will be executed?

2

F5 Transaction rate How frequently is transactions executed daily, weekly, monthly, etc.?

3

F6 On line data entry What percentage of the information is entered online?

0

F7 End user efficiency Was the application designed for end user efficiency?

4

F8 On line update How many ILF’s are updated by online transaction?

0

F9 Complex processing Does the application have extensive logical or mathematical processing?

3

F10 Reusability Was the application developed to meet one or many user’s needs?

2

F11 Installation ease How difficult is conversion and installation?

2

F12 Operational ease How effective and/or automated 2

Page 19: Bank Management System

are start up, back up and recovery procedures?

F13 Multiple sites Was the application specifically designed, developed and supported to install at multiple sites for multiple organizations?

0

F14 Facilitate change Was the application specifically designed, developed and supported to facilitate change?

3

TOTAL 27

Unadjusted function pointType of components Complexity of components Value

External inputs 4*3 12External outputs 2*4 8External inquiries 2*3 6External logical files 2*7 14External interface files 2*5 10

Total 50

Formula FP = count total*[0.65+ (0.01*Fi)]

= 50*[0.65+ (0.01*27)] = 46Function point count for bank management = 46

Lines of code=46*29=1334=1.3KLOCCode developed in ‘C++’

Estimation of effort using Cocomo Model:a=2.4; b=1.05

Effort =a*(KLOC) b

Page 20: Bank Management System

=2.4*(1.3)1.05 =3.1 person-month.

Estimation of time using Cocomo Model:Type of Project = Organic. Then, c=2.5; d=0.38

Time = (Effort) d * c= (3.1) 0.38 * 2.5= 3.8 months

Estimation of Cost using Cocomo Model:Cost = 3.8 * 10000 = Rs. 38,000.

PROGRAM#include<iostream.h>#include<process.h>#include<string.h>#include<conio.h>#include<stdio.h>#include<fstream.h>fstream h("Z:\\tran.doc",ios::out,ios::in);struct member{

int mid,idno;char name[15],address[50];char sf,id;int phone;

Page 21: Bank Management System

}a,temp;struct tran{

int mid,date;char name[15];char cd;float bal;int nof,r;float balb;float amount;tran(){

balb=500;}

}b,t;void line(){

cout<<endl;for(int i=0;i<80;i++)

cout<<"-";cout<<endl;

}

int check(int id){

ifstream g("Z:\\bank.doc");while(!g.eof()){

g.read((char*)&a,sizeof(a));if(!g.eof()){

if(a.mid==id){

strcpy(b.name,a.name);if(a.sf=='s')

return 1;

Page 22: Bank Management System

elsereturn 0;

}}

}g.close();

}void credit(){

int n=h.tellg();h.seekg(n,ios::beg);char ch;do{

line();cout<<"\n\tEnter the following details:";cout<<"\n\t\tMember id:";cin>>b.mid;if(check(b.mid)==0){

cout<<"\n\tError:It is a fixed deposit account";return;

}

cout<<"\n\tDate:";cin>>b.date;cout<<"\n\tcredit(c)/Debit(d)";cin>>b.cd;cout<<"\n\tAmount:";cin>>b.amount;if(b.cd=='c')

b.bal=b.balb+b.amount;else

b.bal=b.balb-b.amount;h.write((char*)&b,sizeof(b));cout<<"\n\tDo you want to add more transaction(y/n):";cin>>ch;

Page 23: Bank Management System

b.balb=b.bal;}while(ch=='y');b.balb=500;b.bal=0;b.amount=0;

}void interest(){

int n=h.tellg();h.seekg(n,ios::beg);line();cout<<"\n\tEnter the following details:";cout<<"\n\t\tMember id:";cin>>b.mid;if(check(b.mid)==1){

cout<<"\n\tError:It is a savings deposit account";return;

}cout<<"\n\tDate:";cin>>b.date;cout<<"\n\tNumber of years:";cin>>b.nof;cout<<"\n\tRate of interest:";cin>>b.r;b.cd='c';b.amount=(b.balb*b.r*b.nof)/100.00;b.bal=b.balb+b.amount;h.write((char*)&b,sizeof(b));h.close();

}void create(){

char ch;ofstream f("Z:\\bank.doc");do{

line();cout<<"\nEnter the details:";cout<<"\n\t\tMember id no:";

Page 24: Bank Management System

cin>>a.mid;cout<<"\n\t\tName:";gets(a.name);cout<<"\n\t\tAddrees:";gets(a.address);cout<<"\n\t\tPhone number:";cin>>a.phone;cout<<"\n\t\tSavings(s)/Fixed(f):";cin>>a.sf;cout<<"\n\t------------\n";cout<<"\tDocument produced";cout<<"\n\tRation card(r)";cout<<"\n\tElection card(e)";cout<<"\n\tIdentity card from office/institution(i)";cout<<"\n\t\tEnter appropriate character:";cin>>a.id;cout<<"\n\t\tEnter the no:";cin>>a.idno;cout<<"\n\t-------------\n";cout<<"\n\tDo you want to enter more members(y/n):";f.write((char*)&a,sizeof(a));cin>>ch;

}while(ch=='y');f.close();

}

void memdis(){

ifstream g("Z:\\bank.doc");g.read((char*)&a,sizeof(a));while(!g.eof()){

if(!g.eof()){

line();cout<<"\nThe details:";cout<<"\n\t\tMember id no:"<<a.mid;cout<<"\n\t\tName:";

Page 25: Bank Management System

puts(a.name);cout<<"\n\t\tAddrees:";puts(a.address);cout<<"\n\t\tPhone number:"<<a.phone;cout<<"\n\t\tSavings(s)/Fixed(f):"<<a.sf;cout<<"\n\t------------\n";cout<<"\tDocument produced";cout<<"\n\tRation card(r)";cout<<"\n\tElection card(e)";cout<<"\n\tIdentity card from office/institution(i)";cout<<"\n\t\tThe member had produced"<<a.id;cout<<"\n\t\tNumber:"<<a.idno;cout<<"\n\t-------------\n";getchar();g.read((char*)&a,sizeof(a));}

}g.close();

}

void trandis(){

ifstream i("Z:\\tran.doc");line();cout<<"\n\t\t\tTRANSACION";line();cout<<"\n\tMid\tName\tDate\tCredit/Debit\tAmount\tBalance";line();i.read((char*)&b,sizeof(b));while(!i.eof()){

cout<<"\n\t"<<b.mid<<"\t"<<b.name<<"\t"<<b.date<<"\t"<<b.cd<<"\t"<<b.amount<<"\t"<<b.bal;

Page 26: Bank Management System

i.read((char*)&b,sizeof(b));}line();i.close();

}void displaymenu(){

line();cout<<"\t\t\tDISPLAY";line();cout<<"\n\t1:Member Details";cout<<"\n\t2:Transactions";cout<<"\n\t3:Back";line();cout<<"\n\t\tEnter your option:";

}void display(){

int opt;do{

displaymenu();cin>>opt;line();

switch(opt){

case 1: memdis();break;

case 2: trandis();break;

case 3: break;default:cout<<"Error:Not a vaild option";

}}while(opt>3);

}void mainmenu(){

line();

Page 27: Bank Management System

cout<<"\t\t\tBANK MANAGEMENT";line();cout<<"\n\t\t1:Create New Member";cout<<"\n\t\t2:Credit/Debit";cout<<"\n\t\t3:Interest Calculation";cout<<"\n\t\t4:Display";cout<<"\n\t\t5:Exit";line();cout<<"\n\tEnter your option:";

}

void main(){

int opt;clrscr();do{

mainmenu();cin>>opt;switch(opt){

case 1: create();break;

case 2: credit();break;

Page 28: Bank Management System

case 3: interest();break;

case 4: display();break;

case 5: exit(0);break;

default:cout<<"Error:Not a valid option";line();break;

}getchar();

}while(1);}

OUTPUT--------------------------------------------------------------------------------

BANK MANAGEMENT--------------------------------------------------------------------------------

1:Create New Member 2:Credit/Debit 3:Interest Calculation 4:Display 5:Exit-------------------------------------------------------------------------------- Enter your option:1

Page 29: Bank Management System

--------------------------------------------------------------------------------

Enter the details:

Member id no:1 Name:subha Address:mylapore Phone number:100 Savings(s)/Fixed(f):s ------------ Document produced Ration card(r) Election card(e) Identity card from office/institution(i)

Enter appropriate character:r Enter the no:120 ------------- Do you want to enter more members(y/n):y

--------------------------------------------------------------------------------

Enter the details:

Member id no:2 Name:abinaya Address:pallikaranai Phone number:101 Savings(s)/Fixed(f):f ------------ Document produced Ration card(r) Election card(e) Identity card from office/institution(i)

Page 30: Bank Management System

Enter appropriate character:r Enter the no:122 ------------- Do you want to enter more members(y/n):n

--------------------------------------------------------------------------------

BANK MANAGEMENT--------------------------------------------------------------------------------

1:Create New Member 2:Credit/Debit 3:Interest Calculation 4:Display 5:Exit-------------------------------------------------------------------------------- Enter your option:2-------------------------------------------------------------------------------- Enter the following details: Member id:1

Date:2108 credit(c)/Debit(d)c Amount:5000

Do you want to add more transaction(y/n):n

--------------------------------------------------------------------------------

BANK MANAGEMENT--------------------------------------------------------------------------------

1:Create New Member 2:Credit/Debit 3:Interest Calculation 4:Display 5:Exit-------------------------------------------------------------------------------- Enter your option:3--------------------------------------------------------------------------------

Page 31: Bank Management System

Enter the following details:

Member id:2 Date:2108 Number of years:2 Rate of interest:2

--------------------------------------------------------------------------------

BANK MANAGEMENT--------------------------------------------------------------------------------

1:Create New Member 2:Credit/Debit 3:Interest Calculation 4:Display 5:Exit-------------------------------------------------------------------------------- Enter your option:4-------------------------------------------------------------------------------- DISPLAY-------------------------------------------------------------------------------- 1:Member Details 2:Transactions 3:Back-------------------------------------------------------------------------------- Enter your option:1----------------------------------------------------------------------------------------------------------------------------------------------------------------The details: Member id no:1 Name:subha Addrees:mylapore Phone number:100 Savings(s)/Fixed(f):s ------------ Document produced Ration card(r) Election card(e) Identity card from office/institution(i) The member had producedr

Page 32: Bank Management System

Number:120 ---------------------------------------------------------------------------------------------The details: Member id no:2 Name:abinaya Addrees:pallikaranai Phone number:101 Savings(s)/Fixed(f):f ------------ Document produced Ration card(r) Election card(e) Identity card from office/institution(i) The member had producedr Number:122 --------------------------------------------------------------------------------------------- BANK MANAGEMENT-------------------------------------------------------------------------------- 1:Create New Member 2:Credit/Debit 3:Interest Calculation 4:Display 5:Exit--------------------------------------------------------------------------------

Enter your option:4-------------------------------------------------------------------------------- DISPLAY-------------------------------------------------------------------------------- 1:Member Details 2:Transactions 3:Back-------------------------------------------------------------------------------- Enter your option:2---------------------------------------------------------------------------------------------------------------------------------------------------------------- TRANSACION--------------------------------------------------------------------------------

Page 33: Bank Management System

Mid Name Date Credit/Debit Amount Balance------------------------------------------------------------------------------- 1 subha 2108 c 5000 5500 2 abinaya 2108 c 20 520----------------------------------------------------------------------------------------------------------------------------------------------------------------

BANK MANAGEMENT-------------------------------------------------------------------------------- 1:Create New Member 2:Credit/Debit 3:Interest Calculation 4:Display 5:Exit-------------------------------------------------------------------------------- Enter your option:5

TEST CASES

INPUT PROCESSING OUTPUTCreate new membercreate{ …….. …….. …….. ……..}

Create new member:This function create new member details and writes it into the file.

Enter the details:Member id no:1Name: subhaAddress:MylaporePhone no:100Savings(s)/Fixed(f):s

Page 34: Bank Management System

Credit/debitcredit{ …….. …….. …….. ……..}

Credit/debit

This function accepts the user id and credits or debits the amount. It then saves the transaction to the file.

Enter the following details:Member id:1Date:2108Credit(c):Debit(d)cAmount:5000

Interest calculationInterest{ ……. ……. ……. ……. …….}

Interest calculation:This function calculates the interest of the member and stores the transaction to the file.

Enter the following details:Member id:1Date:2108Number of years:2Rate of interest:2

ERROR TRACKING:

Errors per requirements specification page : denoted by Ereq-2Errors per component –design level : denoted by Edesign-2Errors per component –code level : denoted by Ecode-0