Code
Code
@startuml
left to right direction
actor "Charity Organization" as CO
actor "Merchant/Business Owner" as MBO
actor "Banking System" as BS
actor Customer as C
actor "DGR Platform System" as DPS
actor "Email Notification Service" as ENS
actor Admin as A
CO -- UC1
CO -- UC2
MBO -- UC6
C -- UC7
C -- UC8
BS -- UC9
DPS -- UC10
DPS -- UC11
DPS -- UC12
DPS -- UC13
MBO -- UC14
C -- UC15
CO -- UC17
C -- UC18
C -- UC21
ENS -- UC22
C -- UC23
C -- UC24
BS -- UC25
@enduml
Question 2
@startuml
!define primary #palegreen
!define secondary #yellow
!define supporting #lightblue
!define abstract #orange
@enduml
Question 1)
Part One
@startuml
skinparam rectangleBorderThickness 2
skinparam rectangleBorderColor #000000
skinparam rectangleBackgroundColor #FFA500
@enduml
Part Two
@startuml
skinparam backgroundColor transparent
skinparam defaultFontName Arial
Question 4)
First
@startuml
start
:Choose "Register";
:Display Registration Form;
:Submit Form with Details;
:Check if User Exists;
stop
@enduml
Second
@startuml
start
stop
@enduml
Third
@startuml
start
stop
@enduml
Fourth
@startuml
start
stop
@enduml
Fifth
@startuml
start
stop
@enduml
Sixth
@startuml
start
stop
@enduml
Seventh
@startuml
start
stop
@enduml
Eight
@startuml
start
stop
@enduml
Nine
@startuml
start
stop
@enduml
Ten
@startuml
start
stop
@enduml
Eleven
@startuml
start
stop
@enduml
Twelve
@startuml
start
stop
@enduml
Thirteen
@startuml
start
:Identify Payment Transaction;
:Provide Transaction Details;
:Calculate Reward Based on Transaction;
if (Discrepancies Found?) then (yes)
:Trigger Alert for Review;
else (no)
:Allocate Rewards to User Account;
:Update Account with Rewards;
endif
stop
@enduml
Fourteen
@startuml
start
stop
@enduml
Fifteen
@startuml
start
stop
@enduml
Sixteen
@startuml
start
stop
@enduml
Seventeen
@startuml
start
:Access Settings;
:Display Current Settings;
:Update Settings;
if (Authorized to Update?) then (yes)
:Validate and Save New Settings;
:Confirm Changes;
:Display Success Message;
else (no)
:Prevent Unauthorized Changes;
:Notify Admin of Unauthorized Attempt;
endif
stop
@enduml
Eighteen
@startuml
start
:Submit Query;
:Log Query in Query Database;
:Notify Admin of New Query;
:Access Query;
:Display Query Details;
if (Can Resolve Query?) then (yes)
:Provide Response;
:Deliver Response to User;
else (no)
:Escalate to Higher Level Support;
:Notify User of Escalation;
endif
stop
@enduml
Ninteen
@startuml
start
stop
@enduml
Twenty
@startuml
start
:Select Charity for Validation;
:Retrieve Charity Details;
:Present Details to Admin;
:Conduct Validation Process;
if (Charity Meets Criteria?) then (yes)
:Update Charity Status to Valid;
:Display Validation Success Message;
else (no)
:Mark Charity as Invalid;
:Display Validation Failure Message;
endif
stop
@enduml