ATM SYSTEM
ATM SYSTEM
EX.NO: ATM SYSTEM
DATE:
ABSTRACT:
The expansion of ATM is Automated Teller Machine. ATM is used for money transferring purpose. The client should have account in ATM system as well as in bank.
The process is as follows first insert ATM card into ATM machine.
After inserting the ATM card enters the pin number, card reader reads the pin number, and machine asks their corresponding password(pin code) to the client.
The pin code must be within four digits. If the pin code is valid, the client can perform their corresponding operations on his account, otherwise appropriate message will be displayed to the client.
After that client entered the password and choose the options that are displayed in the moniter. The options are enquiry,withdraw, transaction and exit.
Once the client chooses their required option, the details regarding that particular options are entered. Client details will be displayed on the screen.
REQUIREMENT ANALYSIS:
In this requirement analysis , the ATM system’s requirement specification is described in detail . The clint details and account details are the basic requirements of this project.
There are three operations to be performed here,
1.Login
2.Withdrawing of money
3. Transaction history
ABOUT REQUISTE PRO:
Rational requiste pro stores the requirement documented under dynamically linked database.The user can communicate , collaborate and provide updates on the same project.
There can be several requiste project with one requiste pro database , each one associated with a separate Rational project.However there can be only one relational project associated with each requiste pro project.
Analysing requirements with different views:
After crating the package and Requirement types the user can analyse the requirements in a View.
1.ATTRIBUTE MATRIX:
It provides the precise visualization of requirements , priorities ,cost,status and unique id created for each of these.
2.TRACEABILITY MATRIX:
It is a two dimensional with rows and columns for requirement type selected.This is a pictorial view of hierarchy in which the users analyse.
3.TRACED INTO:
This is an extension of traceability matrix where only the requirements that is traced to their parent.It is viwed in the form of tree.
4.TRACED OUT OF:
This is another extension of traceability tree in which only the requirements that trace their child are depicted.
ATTRIBUTE MATRIX - ATM SYSTEM
TRACEABILITY MATRIX - ATM SYSTEM
TRACEABILITY TREE ( TRACED INTO )
TRACEABILITY TREE ( TRACED OUT OF )
DESIGN:
Design has a great impact on the overall success of the software development project. A large pay off is associated with creating a good design “ upfront “, before writing a single line of code.While this is true of all programming classes and objects underscore the approach even more good design usually simplifies the implementation and maintenance of a project.
During design phase , we must evaluate the model into actual objects that can perform the required task. Ther is a shift in emphasis from the application domain to implementation.The classes are identified during analysis provide as a framework for the design phase.
ABOUT RATIONAL ROSE:
Rational Rose enables visual modeling of architecture components and data using Unified Modeling Language ( UML ). It is a graphical representation of a software system.It automatically implements the framework of our code in a popular language and automates.The process of maintaining consistency between a software model and its implementation.
A Rose model can be associated with more than one relational project and multiple Rose models can be associated to same rational project.
It shares visual model for business process software components , classes and objects.
The user can model the following five basic diagrams in logical view.
1.Use case Diagram
2.Class Diagram
3.Sequence Diagram
4.Collaboration Diagram
5.Activity Diagram
The user can also model the other diagrams
1. State chart diagram
2. Component diagram
3. Deployment diagram
ATM SYSTEM
USE CASE DIAGRAM
1.Drag and drop the actors and use cases from the browser window into the diagram window. 2.Associate the use cases and actors.
CardInsertion
CardRemoval
User
DisplayBalance
PrintTransactionDetails
PinValidation
CommenceTransaction
CurrencyFormat Specification
TerminateTransaction
CurrencyDispension
ATM machine
CLASS DIAGRAM
1.Class diagram gives an overview of a system by showing its classes and relationship among them.
2.The class diagram are static.They display what they interact.
Client
PinNoAmount W/dCurrencyFormatCurrentBalance
InsertCard()SpecifyPin()SpecifyAmt()RetrieveCash()RemoveCard()
ATM m/c
PinNoPinStatusAmountDispensedCurrentBalance
ValidatePin()SetPinStatus()GetCurrencyFormat()GetAmountDispensed()GetCurrentBalance()PrintTransactionDetails()
**
SEQUENCE DIAGRAM
1.Create a new package from the data base and name it as sequence diagram.
2.From the tool bar select the required tools and make corresponding connections.
SEQUENCE DIAGRAM: ATM MACHINE
: ATM machine : ATM machine
Pin Validation
Pin Validation
Receive AmountReceive Amount
Balance Check
Balance Check
Currency Format
Currency Format
Currency DispenseCurrency Dispense
Bill Transactio...
Bill Transactio...
1: Validate the pin
2: Get the amount to be withdrawn
3: Check Balance with amount
4: Receive the money split
5: Dispense the amount
6: Print the Transaction information
SEQUENCE DIAGRAM: USER
: User : User
Card InsertionCard Insertion Pin Specification
Pin Specification
Amount Specification
Amount Specification
MoneySplit-up Specification
MoneySplit-up Specification
Cash Collection
Cash Collection
Card RemovalCard Removal
1: Insert the code
2: Specify the pin
3: Specify the amount
4: Specify the split up
5: Collect the cash
6: Remove the card
COLLABORATION DIAGRAM
1.Press F5 on the sequence diagram then collaboration diagram is obtained.
2.Save the diagram.
ATM MACHINE
Bill TransactionInfo
: ATM machine
Pin Validation
Receive Amount
Balance Check
Currency Format
Currency Dispense
1: Validate the pin
2: Get the amount to be withdrawn
3: Check Balance with amount
4: Receive the money split
5: Dispense the amount
6: Print the Transaction information
USER
MoneySplit-up Specification
: User
Card Insertion
Pin Specification
Amount Specification
Cash Collection
Card Removal
1: Insert the code2: Specify the pin
3: Specify the amount
4: Specify the split up
5: Collect the cash
6: Remove the card
ACTIVITY DIAGRAM
1.The activity diagram describes the sequence of activities with support for both conditional and parallel.2.The various controls are placed in the diagram window to create activity diagram.
Get the pin number
Is valid? Get the amount to be withdrawnYes
Check for balance
Get the format for currency dispension
Dispense the currency
Update the account
Print the transaction details
Remove card and terminate transaction
Commence transaction after card insertion
IMPLEMENTATION:
CODING:
FORM 1:
Private Sub Command1_Click()
Text2.Visible = True
Label2.Visible = True
Command2.Visible = True
End Sub
Private Sub Command2_Click()
If Text2.Text = 1234 Then
Form2.Show
Else
MsgBox ("enter correct password")
End If
End Sub
Private Sub Timer1_Timer()
Text3.Text = Time
Text4.Text = Date
End Sub
FORM 2:
Private Sub Command2_Click()
Command2.Visible = False
Command3.Visible = False
MsgBox "YOUR BALANCE IS 15685.89"
End Sub
Private Sub Command3_Click()
Command2.Visible = False
Command3.Visible = False
Command4.Visible = True
Command5.Visible = True
End Sub
Private Sub Command4_Click()
Label1.Visible = True
Text1.Visible = True
Command6.Visible = True
Command4.Visible = False
Command5.Visible = False
End Sub
Private Sub Command6_Click()
MsgBox "COLLECT UR CASH AND RECEIPT"
End
End Sub
Private Sub Timer1_Timer()
Text2.Text = Time
Text3.Text = Date
End Sub
OUTPUT:
CONCLUSION:
Thus the program is analysed, designed, implemented and tested for an ATM. This project provides efficient money transition between the customer and the bank.
Further ATM also allows only the authenticated users. Thus the security level is very high. It also ensures the user reliability.
As the project is implemented using object oriented concept, further changes can be made easily and more utilities can be added.
Finally there is no doubt that as the modifications are updated immediately, this project will exist in the future, with many more additional facilities.