Professional Documents
Culture Documents
Introduction
Use-cases are descriptions of the functionality of a system
from a user perspective.
Depict the behaviour of the system, as it appears to an outside
user.
Use Case Diagram Describe the functionality and users (actors) of thesystem.
Show the relationships between the actors that use the
system, the use cases (functionality) they use, and the
By relationship between different usecases.
Dr.Pooja Jain Document the scope of the system.
IIIT Nagpur Illustrate the developer’s understanding of the user’s
requirements.
1
08-02-2022
2
08-02-2022
3
08-02-2022
4
08-02-2022
USECASE Contd..
What is USE case?
A use case is a pattern of behavior, the system • A use case typically represents a major piece of
exhibits functionality that is complete from beginning to end.
• Most of the use cases are generated in initial phase,
The use cases are sequence of actions that the but may add some more after proceeding.
user takes on a system to get particulartarget • A use case may be small or large. It captures a broad
USECASE is dialogue between an actor and the view of a primary functionality of the system in a
system. manner that can be easily grasped by non technical
• Examples: user.
Add a course
5
08-02-2022
SystemBoundary Relationship
• Relationship is an association between use case and actor.
It is shown as a rectangle. • There are several Use Case relationships:
It helps to identify what is external versus internal, and
what the responsibilities of the system are. Association
The external environment is represented only by actors.
Extend
Generalization
Uses
Include
6
08-02-2022
7
08-02-2022
8
08-02-2022
Example
Extend vsInclude
place
place <<extend>>
conference
phone call
call
cellular
network receive
receive <<extend>>
additional
phone call
call
use
user scheduler
Cellular Telephone
18
9
08-02-2022
10
08-02-2022
Actors: Customer
Typical course of events
•
• Pre Condition:
– The ATM must be in a state ready to accepttransactions
– The ATM must have at least some cash on hand that it candispense
– The ATM must have enough paper toprint a receipt for at least one
transaction
•
Post Condition:
– The current amount of cash in the user account is theamount before
the withdraw minus the withdraw amount
– A receipt was printed on the withdraw amount
– The withdraw transaction was audit in the System logfile
11
08-02-2022
12