Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 12

EX NO:

DATE:
ATM APPLICATION

I. Problem Statement:

Software is to be designed for supporting a compromised ATM Banking


network. All the process involved in a bank are computerized accounts maintained in the
banks, transactions affected including ATM transactions or to be processed step by step
by the computers in the bank. An ATM machine accepts ATM card, validates the pin and
verifies the password, interacts with the user and communicate with central system to
carry out the transaction, dispenses/deposits cash and print receipts of transactions
history. The valid pin off card is rejected. Software is to be designed and implemented
must include appropriate record keeping security provision. The proposal system must
satisfy user requirements, design aesthetic and derive usability and quality assurance.

II. Project Planning:


Algorithm:

1. Insert ATM card.


2. Check whether the card has validity.
3. Enter pin id number and then enter the password.
4. Check for pin id number and password.
5. Enter the transaction amount to be withdrawn or deposit.
6. Check whether the minimum balance is available in the account.
7. Wait until the transaction is completed.
8. Print the receipt of transaction amount updated in the account.

III. Problem Requirement Analysis:

1. Basic Requirement:
1. Validity of the card.
2. Balance in the account.
3. Verification of password and PIN id number.
2. Functional Requirements:
1. Details of Transactions.
2. Validate Bank Client.
3. Amount to be withdrawn.
4. Cross Withdrawal limit.
3. Non-Functional Requirement:
1. ATM System failure.
2. Failure of ATM Network due to power cut or something else.
3. Card validity.
4. Invalid PIN id and password.
5. Withdrawal of amount exceeding maximum balance.
6. Withdrawal of amount affecting minimum balance.
IV. Design or Modeling:

4. Use Case Diagram:

Withdraw
Overdraft

Deposit
Bankclient
Approval Process

Transaction History

Invalid Pin
4.1 Use Case Diagram for Withdraw:

ATM Cardholder of the bank Client can Withdraw amount from


ATM machine from his/her account.

Insert ATM

Check Pin
Enter Pin

Request Amount

Client Terminate
ATM Machine
Enter Amount

Withdraw Successful

Withdraw checking
Request to take cash

Print Receipt
STEPS:

1. Analyse the problem statement & identify the actor & use cases.
2. Create actor & use cases.
3. Drag & drop the actor & use cases from browser window to drawing window.
4. Establish connections between actor & use cases using associations.
5.Sequence Diagram
5.1 Sequence Diagram for withdraw :

2.req pin atm machine account

1: insert atm

2: req pin

3: enter pin

4: verify pin

5: pin ok

6: process trans

7: req amt

8: enter amt

9: withdraw checking

10: dispence each

STEPS:
11: req to take cash
1. Create packages for both Analysis model and Design model in logical view.
2. In the Analysis model,12:create class and set the stereotype of class control, entity or
terminate

boundary.
3. After creating class of13:specifies
print receipttype, give operation to the created classes.

4. In the design model package, create a package for “Use case Realisation”.
5. Draw the sequence diagram for the selected usecase realization.
6. Press f5 to get the collaboration diagram automatically.
6.Collaboration Diagram:
6.1 Collaboration Diagram for Withdraw :
Class Diagram:
Class Diagram For withdraw:

ATMMachine
Account
cardid
bank no. balance
name
withdraw( )
insertcard( )
enteramount( )

Customer Transaction
name transid
address transdate
phone transtime
password transtype

enterpin( ) display( )

STEPS:

1. Drag and drop the class diagram from the analysis model.
2. Relate the classes by using associations.
Activity diagram:
Activity diagram for withdraw:

WITH DRAW
AMOUNT

CHECK WITHDRAW [CROSS THE UNIT]


PERMIT

(SUFFICIENT AMOUNT)

RETURN OK
9. Component Diagram:

ATM
Application
System

Update

Front Panel

STEPS:

1. Create a component by dragging a component tool from toolbar.


2. Assign classes to the component, to which code is to generated by selecting VB
language to component.
3. To generate code, specify the path of the component class.
4. To view the code, browse the header and body of the specified language.
5. The class is generated to the class using component class.
10. Deployment Diagram:

ATM
application system

counter pc
Skeleton Code Generation:
FORM 1:
Private Sub Command1_Click()
Adodc1.Refresh
While Not Adodc1.Recordset.EOF
If (Text1.Text) = (Adodc1.Recordset.Fields("NAME")) And (Text2.Text =
Adodc1.Recordset.Fields("ACC NO")) And (Text3.Text =
Adodc1.Recordset.Fields("PASSWORD")) Then
MsgBox ("valid customer")
Text5.Text = Adodc1.Recordset.Fields("BALANCE")
GoTo 1
End If
Adodc1.Recordset.MoveNext
Wend
MsgBox ("invalid customer")
End Sub
Private Sub Command2_Click()
Adodc1.Refresh
While Not Adodc1.Recordset.EOF
If (Text1.Text) = (Adodc1.Recordset.Fields("acc no")) Then
Adodc1.Recordset.Edit
Adodc1.Recordset.Fields("balance") = Val(Text5.Text)
Adodc1.Recordset.Update
GoTo 1
End If
Adodc1.Recordset.MoveNext
End
End Sub
Private Sub Command3_Click()
Dim bal As Double
bal = Text5.Text
Text5.Text = bal - Val(Text4.Text)
End Sub
Private Sub Command4_Click()
Dim bal As Double
bal = Text5.Text
Text5.Text = bal + Val(Text4.Text)
End Sub
Private Sub Command5_Click()
Data report1.Show
End Sub
Private Sub Command6_Click()
End
End Sub

You might also like