Use Case
Use Case
Language (UML)
Faculty of Computer & Information
Software Engineering
Third year
1
1- What is UML
The Unified Modeling Language (UML) is a graphical
language for visualizing, specifying, constructing, and
documenting the artifacts of a software-intensive system.
2
2- Goals of UML
Provide users with a ready-to-use, expressive visual
modeling language so they can develop and
exchange meaningful models.
3
3-UML Diagrams
1) Use Case Diagram .
2) Activity Diagram .
3) Class Diagram .
4) Communication Diagram .
5) Component Diagram .
6) Deployment Diagram .
7) Object Diagram .
8) Package Diagram .
9) Sequence Diagram .
10) State Diagram .
4
4-Use Case Diagram
A use case is a set of scenarios that describing an
interaction between a user and a system. It displays the
relationship among actors and use cases.
5
4-Use Case Diagram
Use Case
A use case describes a sequence of actions that provide
Actor
An actor is a person, organization, or external system
that plays a role in one or more interactions with your
system
6
5-Identifying Use Cases
Which functions does the actor require from system?
handle?
With which other systems does the system need to
interact?
Who or what has an interest in the results (the value)
9
8-Use Case Examples
10
9- Creating Use Case Diagrams
Start by listing a sequence of steps a user might take in
order to complete an action. For example a user
placing an order with a sales company might follow
these steps.
11
9- Creating Use Case Diagrams
Associations
12
10- Advanced Example
Students are enrolling in courses with the potential
help of registrars.
13
14
Bank System
A bank has several automated teller machines (ATMs), which are
geographically distributed and connected via a wide area
network to a central server.
Customer records, account records, and debit card records are all
maintained at the server.
An ATM operator may start up and close down the ATM to replenish the
ATM cash dispenser and for routine maintenance.