bank management file
TRANSCRIPT
-
7/30/2019 Bank Management File
1/35
BANK MANAGEMENT
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.
-
7/30/2019 Bank Management File
2/35
BANK MANAGEMENT:
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 wants
to look into, like the details of the account holder, histransactions, 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.
-
7/30/2019 Bank Management File
3/35
BANK MANAGEMENT
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 theeasy 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
-
7/30/2019 Bank Management File
4/35
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 Practitioners 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 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 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 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.
-
7/30/2019 Bank Management File
5/35
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 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 special
requirements to adapt to a particular installation except forfiles that are to be re-created.
-
7/30/2019 Bank Management File
6/35
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 basicknowledge 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.
-
7/30/2019 Bank Management File
7/35
Safety and Security Considerations:The application must always be exited
normally.
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 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 andpassword.
Windows formats / Organizations:When the user chooses a particular topic
then the information pertaining to that topic will bedisplayed in a new window, which will allow multiplewindows to be available on the screen, and the user canswitch between them.
Data Format:
-
7/30/2019 Bank Management File
8/35
The data entered by the user will bealphanumeric.
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 placesuccessfully.
3.1.2. Hardware interfaces:
The system must basically support certainhardware 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 accountholder.
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 with
any client system. A LAN of 10 Mbps is used.
-
7/30/2019 Bank Management File
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.
-
7/30/2019 Bank Management File
10/35
3.2.1.3.1.3. Processing:Recognizing the correct input as given by the
user.
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 holdercredits 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. The
-
7/30/2019 Bank Management File
11/35
user must enter the nature of transaction made (whethercredit or debit) and the amount.
3.2.2.3.1.3. Processing:
Considering the given input to be correct ifthe nature of transaction is credit then the amount is addedto 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 notmeet 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.
-
7/30/2019 Bank Management File
12/35
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 theaccount holder.
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 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 requestedinformation 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.
-
7/30/2019 Bank Management File
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 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 inputdetails. Also the resource used for the project development
is Microsoft certified which speaks of the high qualitystandards.
3.5.3. Security:
It must ensure that the access is provided to authorized
users only through password.
-
7/30/2019 Bank Management File
14/35
The user of the service will provide network security.
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
-
7/30/2019 Bank Management File
15/35
DATA FLOW DIAGRAM:
LEVEL 0:
LEVEL 1(a):
Bank
staffCreate
newmemb
er
Bank
staffBank
management
system
Createnewmember
Credit/debit
Interest
calculation
Display
Acceptdetails
Memberdatabase
Write inthe file
-
7/30/2019 Bank Management File
16/35
LEVEL 1(b):
LEVEL 2(a):
LEVEL 2(b):
Bank staff Display
Memberdisplay
Transactiondisplay
Memberdatabase
Transactiondatabase
Bank user Credit/debit
checkid
Transaction
database
Write into the file
Calculate
Bank user
Interest
calculation
checkid
Transaction
database
Write into the file
Calculate
-
7/30/2019 Bank Management File
17/35
LEVEL 2(c):
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
Bank user Memberdisplay
Read details fromthe file
Memberdatabase
Display
the details
Bank user Transactiondisplay
Read details from
the file
Memberdatabase
Display
the details
-
7/30/2019 Bank Management File
18/35
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 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 thetransfer 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 usedConfiguration How heavily used is the currenthardware 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 forend user efficiency?
4
F8 On line update How many ILFs are updated by
online transaction?
0
F9 Complex processing Does the application have
extensive logical or
mathematical processing?
3
-
7/30/2019 Bank Management File
19/35
F10 Reusability Was the application developed to
meet one or many users needs?
2
F11 Installation ease How difficult is conversion and
installation?
2
F12 Operational ease How effective and/or automatedare 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 12External 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)]
= 46Function point count for bank management = 46
Lines of code=46*29=1334=1.3KLOCCode developed in C++
-
7/30/2019 Bank Management File
20/35
Estimation of effort using Cocomo Model: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
-
7/30/2019 Bank Management File
21/35
{
int mid,idno;
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
-
7/30/2019 Bank Management File
22/35
if(a.mid==id)
{
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
-
7/30/2019 Bank Management File
23/35
else
b.bal=b.balb-b.amount;
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
-
7/30/2019 Bank Management File
24/35
do
{
line();
cout
-
7/30/2019 Bank Management File
25/35
line();
cout
-
7/30/2019 Bank Management File
26/35
i.read((char*)&b,sizeof(b));
while(!i.eof())
{
cout
-
7/30/2019 Bank Management File
27/35
default:cout
-
7/30/2019 Bank Management File
28/35
cin>>opt;
switch(opt)
{
case 1: create();
break;
case 2: credit();
break;
case 3: interest();
break;
case 4: display();
break;
case 5: exit(0);
break;
default:cout
-
7/30/2019 Bank Management File
29/35
1:Create New Member
2:Credit/Debit
3:Interest Calculation
4:Display
5:Exit
--------------------------------------------------------------------------------
Enter your option:1
--------------------------------------------------------------------------------
Enter the details:
Member id no:1
Name:subha
Address:mylapore
Phone number:100Savings(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
-
7/30/2019 Bank Management File
30/35
Savings(s)/Fixed(f):f
------------
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
-
7/30/2019 Bank Management File
31/35
2:Credit/Debit
3:Interest Calculation
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
-
7/30/2019 Bank Management File
32/35
Savings(s)/Fixed(f):s
------------
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:101Savings(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
-
7/30/2019 Bank Management File
33/35
3:Back
--------------------------------------------------------------------------------
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 Member
2:Credit/Debit
3:Interest Calculation
4:Display
5:Exit
--------------------------------------------------------------------------------
Enter your option:5
TEST CASES
INPUT PROCESSING OUTPUT
-
7/30/2019 Bank Management File
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
-
7/30/2019 Bank Management File
35/35
Errors per component code level : denoted by Ecode-0