bank management system-shital
TRANSCRIPT
-
8/2/2019 Bank Management System-shital
1/35
BANK MANAGEMENT SYSTEM
PROBLEM STATEMENT:
A Banking concern by the name ABC Bank wants
to computerize its Banking Services. Bank Management isgenerally a very complicated task. To reduce the complexity,it wants to computerize its Banking services and for thispurpose it wants software, which will handle all itstransactions.
The software created must get the overallinformation from the user. It should then give the user anoption as to whether the user wants to make a withdrawal ora deposition.
As the bank for which the software is to be createdprovides loan and locker facilities, the various activities ofhandled by the bank is provision of loan, handling the lockerfacility and handling the regular banking services. Thesoftware created must allow the user to handle each of theservice provided by the bank.
The software should manage the banks account
at the end of the year and finally if should generate theyearly financial report of the company.
-
8/2/2019 Bank Management System-shital
2/35
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 theuser. It should then give the user an option as what he wantsto look into, like the details of the account holder, his
transactions, interest calculated etc by selecting onto thecorrect option.
As the firm for which the software is to be createdis a Bank, the various activities of the bank which thesoftware must carry out is maintenance of account holdersdetails, their transactions, interest calculation for fixeddeposit account holders etc. The software created mustallow the user to view the details of the account holder foreach activity.
The software should calculate the interest for fixeddeposit account holders as per the time given by the user. Itshould maintain every detail of the account holder.
-
8/2/2019 Bank Management System-shital
3/35
BANK MANAGEMENT SYSTEM
SOFTWARE REQUIREMENTS SPECIFICATION:
1. INTRODUCTION:This document is to provide the software
requirement specification of the computerized solutions forcertain banking services. It keeps track of the accountholders details. It calculates the interest rate for fixeddeposit account holders.
1.1. Purpose:The main purpose of this software is to enable the
easy maintenance of account holders details, theirtransaction 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
LAN-Local Area Network
-
8/2/2019 Bank Management System-shital
4/35
1.4. Reference:The books and reference materials used
during the pre-development stages of the project include:
Software Engineering: A Practitioners Approach ByRoger.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 managementsoftware along with the technical and non-technical detailsand the interfaces.
2. OVERALL DESCRIPTION:
2.1. PRODUCT PERSPECTIVE:The Bank Management System is an
application that remains to be independent. The systeminterfaces, user interfaces and the hardware interfacesrelated with this software is defined below:
2.1.1. System Interfaces:
The client system must be able to share thedata 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 touse the product. The product should be user-friendly. Thefunctionality provided by the system like displaying errormessages should adapt itself to the different users of theproduct.
-
8/2/2019 Bank Management System-shital
5/35
2.1.3. Hardware Interfaces:
UPS (Uninterrupted Power Supply) for backup powerduring power failure.
Client systems are connected to the LAN.
Since a LAN is to be used for the network wherein eachnode is connected to every other node.
2.1.4. Software Interfaces:
NAME VERSION SOURCEMS-ACCESS 2000 or any other
higher versionMicrosoftCorporation
OS-WINDOWS 2000 or any otherhigher version
MicrosoftCorporation
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 and128 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 softwareand then he/she can check the details of the accountholders. There must be a backup data, which will enableeasy recovery from failures, which may catastrophic at timesby clicking on the menu.
2.1.8. Site Adaptive Requirements:
The software requires no specialrequirements to adapt to a particular installation except forfiles that are to be re-created.
-
8/2/2019 Bank Management System-shital
6/35
2.2. PRODUCT FUNCTIONS:The main functions are:
Create an account.
Maintain a track on the transactions made by theaccount holder.
Calculate the interest for fixed deposit accountholders.
Display the account holders details whenrequired.
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 mechanismsmust be used.
Higher order language Requirements:Not applicable.
Signal Handshake Protocol:Not applicable.
Reliability Requirements:Data redundancy.
Safety and Security Considerations:
-
8/2/2019 Bank Management System-shital
7/35
The application must always be exitednormally.
2.5. ASSUMPTIONS AND DEPENDENCIES:The requirements of the software product will
be changed if suppose the features or the functions of thesystem 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 betweenthe user and the software. It also makes the userinteraction with the system easy.
The user interface includes: Screen formats / Organizations:
The introductory screen will be the first to bedisplayed which allows the user to log in using their id andpassword.
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 multiplewindows to be available on the screen, and the user canswitch between them.
Data Format:The data entered by the user will be
alphanumeric.
-
8/2/2019 Bank Management System-shital
8/35
End Message:When there are some exceptions, errormessages will be displayed promptly by the user to re-enter the details when an event has taken placesuccessfully.
3.1.2. Hardware interfaces:The system must basically support certain
hardware and these must be an interface between them.
NAME OF THEITEM
DESCRIPTION OFPURPOSE
SOURCE OFINPUT /
DESCRIPTION OFOUTPUT
Keyboard To get the detailsof from the user.
Source of input
Printer To print the detailsof the account
holder.
Destination ofoutput
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 withany client system. A LAN of 10 Mbps is used.
-
8/2/2019 Bank Management System-shital
9/35
3.2. SOFTWARE PRODUCT FEATURES:3.2.1. FEATURE 1:CREATING A NEW MEMBER:
The purpose of this feature is to create a newmember 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 accountholder.
3.2.1.2. Stimulus / Response sequence:Once the request is made, a window will
appear asking for all personal details of the account holderas to begin a new account.
3.2.1.3. Associated functionality requirement:3.2.1.3.1. Functional requirement: Creating a newmember:
It must check ensure that the user entersvalid information and display error messages to avoidabnormal 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 ofaccount (whether savings or fixed), document produced foraddress proof, registration number of the address proof. Italso asks if the user wants to add new members.
3.2.1.3.1.3. Processing:
-
8/2/2019 Bank Management System-shital
10/35
Recognizing the correct input as given by theuser.
3.2.1.3.1.4. Outputs: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 hisaccount. If he withdraws some amount from his account,then that amount is subtracted from his account. Itscompulsory that the account holder must maintain aminimum 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 featurein the page, they should be taken to the appropriate sectionestablishing 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. Theuser must enter the nature of transaction made (whethercredit or debit) and the amount.
-
8/2/2019 Bank Management System-shital
11/35
3.2.2.3.1.3. Processing: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 accordingto 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 userby 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 therate of interest provided by the bank.
3.2.3.3.1.3. Processing:
-
8/2/2019 Bank Management System-shital
12/35
Recognizing the correct input as given by theuser and to calculate the interest payable by the bank to theaccount holder.
3.2.3.3.1.4. Outputs:The output is generated in such way that theamount 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 holders details as entered by theuser.
3.2.4.2. Stimulus / Response:When the user requests to view the details of a
particular account holder, a screen prompts the user askingwhether he want s o view the member details or to view thetransaction details.
3.2.4.3. Associated Functional Requirement:
3.2.4.3.1. Functional Requirements:-Displaying A/cholders details:
If invalid membership number has been entered, thesystem must handle the error and ask the user to enter theproper 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 transactiondetails.
-
8/2/2019 Bank Management System-shital
13/35
3.2.4.3.1.3 . Processing:Recognizing the correct option chosen by the user.
3.2.4.3.1.4 . Output:
Displays the output with corresponding to theoption 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 functionalityperformance.
The software must be valid and accessible only byauthorized users.
3.5. SOFTWARE SYSTEM ATTRIBUTES:3.5.1. Reliability:
The factors needed to establish the softwareexpected reliability are:
The user inputs should be valid and within the givenrange
Normal termination of the program
3.5.2. Availability:The factors that generate the software
availability include proper termination and correct inputdetails. Also the resource used for the project developmentis Microsoft certified which speaks of the high quality
standards.
3.5.3. Security:
It must ensure that the access is provided to authorizedusers only through password.
The user of the service will provide network security.
-
8/2/2019 Bank Management System-shital
14/35
3.5.4. Maintainability:Implementing the concept of modularity,
which in turn reduces the complexity involved in maintainingit, 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 whichincludes the basic details of the customer and the accountdetails.
3.7. OTHER REQUIREMENTS:NIL.
4. INDEX:NIL
5. APPENDICES:NIL
-
8/2/2019 Bank Management System-shital
15/35
DATA FLOW DIAGRAM:
LEVEL 0:
LEVEL 1(a):
Bankstaff
Createnew
member
Bank
staffBankmanagement
system
Createnewmember
Credit/debit
Interestcalculation
Display
Acceptdetails
Memberdatabase
Write inthe file
-
8/2/2019 Bank Management System-shital
16/35
LEVEL 1(b):
LEVEL 2(a):
LEVEL 2(b):
LEVEL 2(c):
Bank staff Display
Member
display
Transactiondisplay
Memberdatabase
Transactiondatabase
Bank user Credit/debit
checkid
Transaction
database
Write into the file
Calculate
Bank user
Interestcalculation
checkid
Transactiondatabase
Write into the file
Calculate
-
8/2/2019 Bank Management System-shital
17/35
LEVEL 2(d):
FUNCTIONAL POINT ANALYSIS
Bank management system
Function 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
Bank user Memberdisplay
Read details fromthe file
Memberdatabase
Display
the details
Bank user Transactiondisplay
Read details from
the file
Memberdatabase
Display
the details
-
8/2/2019 Bank Management System-shital
18/35
relationship based on countable [direct] measures of softwares information
domain and assessments of software complexity.
Formula
FP=count total*[0.65+ (0.01*
Fi)]
Function point count for bank management
General System characteristics
Fi General system
Characteristics
Adjustment factor Value
F1 Data communications How many communication
facilities are there to aid in the
transfer or exchange of
information with the application
3
F2 Distributed data
processing
How are distributed data and
processing functions handled?
2
F3 Performance Did the user require response
time or throughput?
1
F4 Heavily used
Configuration
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 ILFs are updated byonline 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 users needs?
2
-
8/2/2019 Bank Management System-shital
19/35
F11 Installation ease How difficult is conversion and
installation?
2
F12 Operational ease How effective and/or automated
are start up, back up and
recovery procedures?
2
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 point
Type of components Complexity of components Value
External inputs 4*3 12
External outputs 2*4 8
External inquiries 2*3 6
External logical files 2*7 14
External interface files 2*5 10
Total 50
Formula
FP = count total*[0.65+ (0.01*Fi)]
= 50*[0.65+ (0.01*27)]
= 46
Function point count for bank management = 46
Lines of code=46*29=1334=1.3KLOCCode developed in C++
Estimation of effort using Cocomo Model:
-
8/2/2019 Bank Management System-shital
20/35
a=2.4; b=1.05
Effort =a*(KLOC) b=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
#include
#include
#include#include
#include
fstream h("Z:\\tran.doc",ios::out,ios::in);
struct member
{
int mid,idno;
-
8/2/2019 Bank Management System-shital
21/35
char name[15],address[50];
char sf,id;
int phone;
}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
-
8/2/2019 Bank Management System-shital
22/35
strcpy(b.name,a.name);
if(a.sf=='s')
return 1;
else
return 0;
}
}
}
g.close();
}
void credit()
{
int n=h.tellg();
h.seekg(n,ios::beg);
char ch;do
{
line();
cout
-
8/2/2019 Bank Management System-shital
23/35
h.write((char*)&b,sizeof(b));
coutch;
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
-
8/2/2019 Bank Management System-shital
24/35
line();
cout
-
8/2/2019 Bank Management System-shital
25/35
cout
-
8/2/2019 Bank Management System-shital
26/35
{
cout
-
8/2/2019 Bank Management System-shital
27/35
-
8/2/2019 Bank Management System-shital
28/35
{
case 1: create();
break;
case 2: credit();
break;
case 3: interest();
break;
case 4: display();
break;
case 5: exit(0);
break;
default:cout
-
8/2/2019 Bank Management System-shital
29/35
3:Interest Calculation
4:Display
5:Exit
--------------------------------------------------------------------------------
Enter your option:1
--------------------------------------------------------------------------------
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
------------
-
8/2/2019 Bank Management System-shital
30/35
Document produced
Ration card(r)
Election card(e)
Identity card from office/institution(i)
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
-
8/2/2019 Bank Management System-shital
31/35
4:Display
5:Exit
--------------------------------------------------------------------------------
Enter your option:3
--------------------------------------------------------------------------------
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
------------
-
8/2/2019 Bank Management System-shital
32/35
Document produced
Ration card(r)
Election card(e)
Identity card from office/institution(i)
The member had producedr
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
--------------------------------------------------------------------------------
-
8/2/2019 Bank Management System-shital
33/35
Enter your option:2
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
TRANSACION
--------------------------------------------------------------------------------
Mid Name Date Credit/Debit Amount Balance
-------------------------------------------------------------------------------
1 subha 2108 c 5000 5500
2 abinaya 2108 c 20 520
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
BANK MANAGEMENT
--------------------------------------------------------------------------------
1:Create New Member2:Credit/Debit
3:Interest Calculation
4:Display
5:Exit
--------------------------------------------------------------------------------
Enter your option:5
TEST CASES
INPUT PROCESSING OUTPUT
-
8/2/2019 Bank Management System-shital
34/35
Create new member
create
{
..
....
..
}
Create new member:
This function create
new member details and
writes it into the file.
Enter the details:
Member id no:1
Name: subha
Address:Mylapore
Phone no:100Savings(s)/Fixed(f):s
Credit/debitcredit
{
..
....
..
}
Credit/debit
This function accepts
the user id and credits
or debits the amount. Itthen saves the
transaction to the file.
Enter the following
details:
Member id:1
Date:2108
Credit(c):Debit(d)cAmount:5000
Interest calculation
Interest
{
.
.
.
.
.
}
Interest calculation:
This function calculates
the interest of the
member and stores the
transaction to the file.
Enter the following
details:
Member id:1
Date:2108
Number of years:2
Rate of interest:2
ERROR TRACKING:
Errors per requirements specification page : denoted by Ereq-2
Errors per component design level : denoted by Edesign-2
-
8/2/2019 Bank Management System-shital
35/35
Errors per component code level : denoted by Ecode-0