You are on page 1of 3

Republic of the Philippines

EASTERN VISAYAS STATE UNIVERSITY


ORMOC CITY CAMPUS
Don Felipe Larrazabal, Ormoc City

HAND OUT
IN
PROBLEM SOLVING

TOPIC: USE CASES


BEED III-A

SUBMITTED BY:

MA. PAMELA V. REBUYAS

SUBMITTED TO:

MR. MARJUNE NEPAYA


USE CASES

- A use case is a description of how a person who actually uses that process or system
will accomplish a goal
- A formal version of a scenario- a story that describe someone using a system or
services to achieve a goal.

Three elements
 System - which is the process that’s required to reach the final outcome.

 Actor - An entity that acts on the system, a person or another system.

 Primary Actor – initiates inter action to accomplish a goal.

 Goal – Desired outcome of the primary actor.

For example:

System

uu
Actor 1
Actor 3

Actor 2, system

We draw a square to represent the system, this helps us visualize what’s outside
and inside the scope, next we need to show our actors which we present in stick
figures it can be a person or a system. Next, what goals this actors have in using
the system (use cases) we represent use cases in an ellipsis the different goals
that actors might have in using the system. Actor 1 has this particular goal (use
case1, use case 2) Actor 2 (use case 3), in using the system. We show the
relationship, that actor initiates that use case by drawing a line.

Styles of Use Cases

 Use case diagram (UML)

Exceptions: what could go wrong here?

Extensions: what other goal might come


into play here?
 Informal use case( is a written paragraph describing the
scenario/interaction)

The Library Patron reports to the librarian that she has lost a book. The
librarian prints out the library record and asks patron to speak with the head
librarian, who will arrange for the patron to pay a fee. The system will be
updated as well. The head librarian may authorize purchase of a replacement
book.

 Formal use case ( a multi-part structured description )

Goal Patron wishes to reserve a book using the online catalog.


Primary actor Patron
Scope Library system
Level User
Precondition Patron is in the login screen
Success end Book is reserved
Failure end Book is not reserved
condition
Trigger Patron logs into the system

Example 2.
On Saturday morning at 11:30, the cook prepares grilled cheese sandwiches at the
local food pantry.
Actor cook

System Melt butter in frying pan

Placed uncooked sandwich


in frying pan

Turn sandwich over with


spatula

Remove sandwich from


frying pan

Placed grilled cheese


Goal sandwich on plate

You might also like