Professional Documents
Culture Documents
Banking System1
Banking System1
Banking System
Contents
Phase 1
1.3.
Project Scope
Objectives
Phase 2
Cost Estimation
Phase 3
Module Description
3.1.1. Login
3.1.2. Deposit
Details
And
Withdraw
Amount
UML Diagram
3.2.1. Use
case
Diagram
3.2.2. Class
Diagram
3.2.3.
Sequence Diagram
3.2.4. Collaboration Diagram
Phase 4
Configuration Management
4.1.
S/W Requirements
4.2.
H/W Requirements
4.3.
4.4.
Tools
Software Development
4.4.1. Form Creation
4.4.2. Script
Phase 5
Software Testing
5.1.
09CSA10
5.4.
Coverage Analysis
5.5.
Memory Leaks
Synopsis
This is a small scale project for banking system .The basic idea of this
system is the manager of the bank can maintains the details about the customers,
withdraw and deposit amount. It consists of customer details, banking system,
balance details. The manager of the bank can enter the customers account number
and get the amount details of that particular customer. In banking system we can
calculate the customers account balance based on withdraw and deposit amount.
In the customer details module various details like account number, Name,
deposit amount, withdraw amount, balance are obtained from the user. In the
Display module the total database is displayed. In the balance Details module, the
individual database is displayed which shows the balance details of the particular
customer. By using the Modify module we can modify and update the customer
details on the database stored.
09CSA10
USER
ADMINISTRATOR
USERS ROLE:
The users can login/logout the database. He/She can view his/her personal details,
balance details. The user can just view the information where as he/she could not make changes
in the database.
ADMINISTRATOR ROLE:
The administrator plays a vital role in the banking system. The administrator controls the
entire database. The balance calculations are calculated by the administrator itself. The main role
of the administrator is to safeguard the database.
1.2.
Project Scope
The supplementary specification applies to banking process. This specification defines
09CSA10
Reliability:
The system is available at 24 hours a day, seven days a week.
Performance:
The performance depends on hardware specification
1.3.
Objectives
The purpose of this document is to define the requirements of banking system. This
supplementary specification lists the requirements that are not readily captured in the use case
model. Supplementary specification and the use case model capture a complete set of
requirement of the system.
SCE is often done hurriedly, without an appreciation for the effort required.
Human bias i.e An Estimator is likely to consider how long a certain portion of the
system would take, and then to merely extrapolate this estimate to the rest of the system,
ignoring the non-linear aspects of software development.
09CSA10
The causes of poor and inaccurate estimation
New software projects are nearly always different form the last.
Module Description
3.1.1. Login
It is the login session for the Administrator, User and Exit.
3.1.2.
3.2.
UML Diagram
3.2.1. Use case Diagram
Use Case diagrams show the various activities the users can perform on the
system. The System is something that performs a function. They model the dynamic aspects of
the system. It provides a users perspective of the system.
09CSA10
Actor:
An actoris a user of the system playing a particular role.
Use case:
Use case is a particular activity a user can do on the system.
Relationship:
Relationships are simply illustrated with a line connecting actors to use cases.
login
account creation
withdraw
customer
bank
deposit
account details
db
09CSA10
declarative static elements.A class is the description of a set of objects having similar attributes,
operations, relationships and behavior.
customer1
name : variant
password : variant
account no : variant
bank1
name : variant
age : variant
password : variant
login()
withdraw()
deposit()
account creation()
database
account no : variant
password : variant
balance : variant
print()
update()
09CSA10
09CSA10
A Collaboration diagram is easily represented by modeling objects in a system and representing
the associations between the objects as links. The interaction between the objects is denoted by
arrows. To identify the sequence of invocation of these objects, a number is placed next to each
of these arrows.
1: create an account
4: login
7: withdraw/deposit
customer
bank
3: account created
11: get money/receipt
10: updated
2: account updated
5: request to provide service
database
09CSA10
4.1.
S/W Requirements
OS: Windows
Language: Visual Basic
4.2.
H/W Requirements
Intel PII Processor with 300 MHz speed.
64 MB RAM
10MB Hard disk space
4.3.
Tools
Design Tool: Rational Rose suite
4.4.
Software Development
4.4.1. Form creation
Form 1:
09CSA10
Form 2:
Form 3:
09CSA10
Form 4:
Form 5:
09CSA10
Form 6:
4.4.2 Script
Coding for form1:
Private Sub Command1_Click()
Form2.Show
Unload Me
End Sub
Private Sub Command2_Click()
End
End Sub
Coding for Form 2:
Private Sub Command5_Click()
If (Text1.Text = "raje") Then
Form3.Show
Unload Me
ElseIf (Text1.Text = "") Then
MsgBox ("Enter your Pincode")
Else
MsgBox ("Incorrect pincodepls enter correctly")
Text1.Text = ""
End If
End Sub
09CSA10
Private Sub Command6_Click()
Form1.Show
End Sub
Coding for Form 3:
Dim db As Database
Dim rs As Recordset
Private Sub Command1_Click()
Form4.Show
Unload Me
End Sub
Private Sub Command2_Click()
Form5.Show
Unload Me
End Sub
Private Sub Command3_Click()
Form6.Show
Unload Me
End Sub
Private Sub Command4_Click()
Form7.Show
Unload Me
End Sub
Private Sub Command6_Click()
Form1.Show
Unload Me
End Sub
Private Sub Form_Load()
Set db = OpenDatabase("Z:\VB\atm.mdb")
Set rs = db.OpenRecordset("accounts")
End Sub
09CSA10
Unload Me
End Sub
Private Sub Command2_Click()
Form1.Show
End Sub
Private Sub Form_Load()
Set db = OpenDatabase("Z:\VB\atm.mdb")
Set rs = db.OpenRecordset("accounts")
Text1.Enabled = False
Text1.Text = rs.Fields(0)
End Sub
Coding for Form 5:
Dim db As Database
Dim rs As Recordset
Private Sub Command1_Click()
Text1.Text = ""
End Sub
Private Sub Command2_Click()
rs.Edit
rs(2) = Text1.Text
rs.Update
rs.Edit
rs(0) = rs(0) + rs(2)
rs.Update
MsgBox "deposit successfully", vbOKOnly
Text1.Text = ""
End Sub
Private Sub Command3_Click()
Data1.Refresh
Unload Me
Form3.Show
End Sub
Private Sub Command4_Click()
Unload Me
Form1.Show
End Sub
Private Sub Form_Load()
Text1.Text = ""
Set db = OpenDatabase("Z:\VB\atm.mdb")
Set rs = db.OpenRecordset("accounts")
Command2.Enabled = False
09CSA10
End Sub
Private Sub Text1_Change()
Command2.Enabled = True
End Sub
Coding for Form 6:
Dim db As Database
Dim rs As Recordset
Private Sub Command1_Click()
Text1.Text = ""
End Sub
Private Sub Command2_Click()
rs.Edit
rs(1) = Text1.Text
rs.Update
rs.Edit
rs(0) = rs(0) - rs(1)
rs.Update
MsgBox "withdraw successfully", vbOKOnly
Text1.Text = ""
End Sub
Private Sub Command3_Click()
Form3.Refresh
Data1.UpdateRecord
Unload Me
Form3.Show
End Sub
Private Sub Command4_Click()
Unload Me
Form1.Show
End Sub
Private Sub Form_Load()
Set db = OpenDatabase("Z:\VB\atm.mdb")
Set rs = db.OpenRecordset("accounts")
Text1.Text = ""
Command2.Enabled = False
End Sub
Private Sub Text1_Change()
Command2.Enabled = True
End Sub
09CSA10
.The test plan consists of all the activities that had to be done in the software testing phase. This
test plan has been documented using the rational test manager software.
5.2.
uncovered and a final series of software test validation testing may begin. Validation successive
when the customer is satisfied.
5.3.
Coverage Analysis
Coverage analysis is used to identify untested code. Using rational pure coverage,
untested code can easily be identified.
5.5.
Memory Leaks
Memory leak testing has been done using rational purity software.
Result:
Based on the system requirements specification BANKING INFORMATION SYSTEM
has been designed and implemented.