Activity Diagram PDF
Activity Diagram PDF
IC2DC
Student’s Section:
Visaya Niño Anthony D.
Name: (Last Name First Name Middle Initial) 2020-2021
School Year:
Track/Strand Technical Vocational and Livelihood (TVL) 11
Information and Communication Technology (ICT) 12
Grade Level
1st Quarter
Specialization Quarter:
2nd Quarter
3rd Quarter
4th Quarter
Subject: Java Programming Subject Code: CP1212
Teacher: Ms. Ruth Tarraya Week(s) Covered: Week 8
DO NOT FORGET TO SAVE YOUR FILE AS:
<lastname_coursecode_section_WeekNo_quarter_ActivitySheetNo.docx> Example: delacruz_CP1212_ICT2MA_Week1_1stQuarter_ACTS1.docx
* You may write below this line.
<<Bank>>
owned by
+name: string <<Customer>>
+Bankcode: inr
-Name:string
+getBankCode():int -eMail: string
+addATM(): bool -Phone:int
+collectAccount(): string -Address: string
+createTransaction():
---Belongs to--- bool
◄►
________.�
Transact to
<<ATM>> -----
...,__
<<Screen>> +atmID: int
+showNotif(): bool
+Showoutput: bool
1--------------� ..._ +location: string
.... t------------1..___
....-_ <<Account>>
-Makes-
..._ -VerifyUser:() bool
---�+withdraw(): bool -AccNumber:int
....,. +checkBalance(): bool -Balance:float
+deposit(): bool -Savings:float
-Credit:float
<<Keypad>> ◄► ◄►◄► ◄►
-getinput(): string -getBalance():float
-getsavings():float
<<Transaction>> -getCredit():float
-transactionHistory: string 'l
-insertPin: int
<<Printer>> -VerifyPin: bool i----update---
+printReceipt(): bool -getTransactionHistory: string
-GetinsertPin: int
-VerifyPin: bool
<<Card Reader>>
-getAccountData():
bool �BelongsBelongs to to Belongs to
Belon s to
+authenticatecard():
bool
<<Deposit Slot>>
+totalCash(): double <<Deposit>> <<Pay Bills>> <<Transfer>> <<Withdraw>> <<Check Balance>>
+detectFake:bool
....,_ +amount: int +amount: float -RecepientNo : int +amount: int Balanceinfo: float
+VerifydetectFake():bool +SenderNo: int
+countCash(): int +getAmount(): int +getAmount(): float +Amount: float +getAmount(): int getBalanceinfo():
float
+getAmount(): float
<<Cash Dispenser>> -getRecipientNo: int
+totalWithdrawPaper():
int
+withdrawcash: int
Aut omat ed Tel l er Machine
Ver if ied
Inser t
Car d
<<I ncl ude>>
Deny Access
<<ext end>>
Ent er PIN
Check
Bal ance
Bank
Cust omer
Tr ansf er
<<I ncl ude>>
<<incl ude>>
Wit hdr aw
<<I ncl ude>>
<<ext end>> Ver if y Cash Fund
(Ent er PIN)
Exceeded Amount
Pay f r om or Insuf f icient Fund
Check Savings
Pay BILLS
<<Include>>
Deposit
ATM
2. Request PIN
11: Request Pin
14 Cash Dispense
15- Print Receipt
16: Card Eject
Customer
5. PIN Verified
9.Balance Sufficiency Checked 13.Request Money
Processed
10. Request Money to Withdraw
4. Verify PIN
8 Check if Balance is Enough
Account Bank
1. Insert card
3. PIN Entered
6 Select Deposit
7 Select Amount
SEQUENCE DIAGRAM:
9. Customer Puts
money on the slot
DEPOSIT
12. Eject card
ATM
2. Request PIN
8. Request to Put Money into Deposit Slot
Customer
5. PIN Verified
11. Show Added Money
4. Verify PIN
10. Add Money To Account
Account Bank
1. Insert card
3. PIN Entered
6 Select Pay Bills
8. Select Service
SEQUENCE DIAGRAM:
Provider
10. Type the Total
PAY BILLS
Amount
12.Type Pin Code
ATM
2. Request PIN
7. Request to Select Service Provider
9. Request Total Amount
11. Request PIN CODE
16. Print Receipt
Customer 17. Eject Card
5. PIN Verified
4. Verify PIN
15. Deduct Money
Account Bank
1. Insert card
3. PIN Entered
6 Select Balance
Inquiry
SEQUENCE DIAGRAM:
8.PIN Entered BALANCE INQUIRY
ATM
2. Request PIN
7. Request PIN
10. Print Balance
11. Eject Card
Customer
5. PIN Verified
9. getDataBalance
4. Verify PIN
Account Bank
1. Insert card
3. PIN Entered
6 Transfer Funds
8. Amount Typed
SEQ
SEQUEN
ENCE
CE DIAG
DIAGRAM:
RAM:
10. recipient No.
Entered
TRANSFER FUNDS
13.PIN Entered
ATM
2. Request PIN
7. RequestAmount
9. Type recepient No.
12. Request PIN
17. Print Receipt
Customer 18. Card Eject
5. PIN Verified
11. Balance Enough
15. Transfer Completed
14. Process Transfer
4. Verify PIN
10. Check if Balance is Enough
16. Deduct to Account
Account Bank
Customer ATM Bank Server Account
Insert Card
Verify Card
Alternative
Card Verified
[If Card is
Valid] Enter PIN
[Else]
Invalid
Eject Card
Enter PIN
Verify PIN
Alternative
PIN Verified
[If PIN is
Valid]
Redirect to Service Menu
Select Services
Alternative
[If Selected Enter Amount
Withdraw]
[Else If Selected
Savings Info
Check Balance]
[Else If Selected
Enter Recipients Card Number
Transfer Funds]
Enter Amount to Send
[Else if Selected
Pay Bills]
Select Service Provider
Enter Amount to Paid
[Else If Selected
Deposit] Enter Amount to Insert
Insert Cash
[Else]
Eject Card
Start Transaction
Balance Enough?
Alternative
[If Balance Enough Balance
Enough]
Process Transaction
Complete Transaction
[Else]
Alternative
[If Withdraw
Option Selected] Despense Cash
Print Receipt
[Else]
Eject Card
SEQUENCE DIAGRAM
Customer ATM Bank Server Account
Insert Card
Verify Card
Yes
Eject card No
Eject
No Yes
Card
Service
Cancel Menu
Transaction
Else
choice=
Eject Enter
Card Deposit Insert
Amount
Money
Withdraw Check
Transfer Pay Bills Balance
Funds
View and
Enter
Print
Amount
Select Amount
Service
Provider
Recipient
No.
Amount
Enough
Balance
Unsuccessful No
Transaction
Insert PIN
Yes
Yes
No Sucessful
Transaction
Cancel
Transaction
If withdrawal Option
Dispense
Cash
Eject
Card
Eject Else
Card
ACTIVITY DIAGRAM