Chapter#2 - BCS2163-Use Case Diagram
Chapter#2 - BCS2163-Use Case Diagram
Chapter#2 - BCS2163-Use Case Diagram
updating
grades
faculty
SYSTEM BOUNDARY
Actor Use-case
17
RELATIONSHIPS BETWEEN USE CASES
2. Customer inserts a Credit card into ATM 3. System verifies the customer ID and status
Brief description This use case is to withdraw some cash from user’s
bank account
Actor Customer
Pre condition • The ATM must be in a ready state to accept
transactions
• The ATM must have at least some cash on hand that
it can dispense
• The ATM must have enough paper to print a receipt
for at least one transaction
Basic Flow 1. The use case starts when the customer inserts his
ATM card into the system.
2. The system requests the user PIN.
3. The system validates the PIN [E1: Validation failure
is executed ]
4. The customer choose withdraw operation.
5. The customer enters the amount of cash to
withdraw.
6. The system checks the amount of cash in the user
account [E2 - Amount exceeded is executed] [C1 -
Constraint 1]
7. The use case end.
Alternative Flow None
Exception Flow E1: Validation failure is executed.
1.Customer authorization failed.
2.Display an error message,
3.Cancel the transaction and eject the card.
4.Continue with step 1 or 7 from basic flow.
OR
Pre-Conditions The customer and clerk already login to the system. (1m)
(1m)
BASIC FLOW
Basic Flow 1. The use begins when the customer go to booking package menu.
(3m)
2. The customer is able to:
a. Add new booking for wedding package [A1:Add booking]
b. Delete booking for wedding package [A2: Delete booking]
c. Edit booking for wedding package [A3: Edit booking]
3. The customer click <<CONFIRM>> button.
4. The clerk is able to VIEW booking by the customer. The clerk click
<<VIEW>> button. The system list all the customer booking
information data.
5. The use case ends.
Alternative Flow A1: Add Booking
(2m) 1. The customer choose date, place and type of wedding package.
2. If the date is available [E1: Date Not Available], place [E2: place not available] and type of wedding
package is chosen, the customer need to click the <<ADD BOOKING> button
3. The use case continues to step number 3 in basic flow.
A2: Delete Booking
1. The customer choose the booking that he/she already done it before this.
2. The customer click <<DELETE>> button.
3. The use case continues to step number 3 in basic flow.
A3: Edit Booking
1. The customer choose the booking that he/she already done it before this.
2. The customer click <<EDIT>> button.
3. The customer edit the information that he/she key-in before this.
4. The customer click <<SAVE>> button.
5. The use case continues to step number 3 in basic flow.
Exception Flow E1: Date Not Available
(1m) 1. The customer choose a new date for booking.
2. The system check the availability of that date.
3. The use case continues to step 2 in alternative flow A1.