Use Case Analysis
Use Case Analysis
Analysis
Pertemuan ke 5
Objectives
01 02 03 04 05
Explain the Describe the Explain the Describe how Describe how
purpose of use various parts of process used to use cases use cases
cases in the a use case and create a use contribute to inform the
analysis phase the purpose of case. the functional development of
of the SDLC. each part. requirements. test plans.
Outline
• Use Case
• Element of Use Case
• Alternative Use Case Format
• Use Case & Functional Requirements
• Use Cases & Testing
• Building Use Case
• Use Case Modeling (UML Notation)
• Apply The Use Case Concept
Use Case
• A use case represents how a system interacts with its environment
by illustrating the activities that are performed by the users of the
system and the system’s responses.
• The goal is to create a set of use cases that describe all the tasks
that users need to perform with the system. Use cases are often
thought of as an external or functional view of a business process,
showing how the users view the process rather than the internal
mechanisms by which the process operates.
• Use cases helps ensure that users’ insights are explicitly
incorporated into the new system
• The use case describes what the system will do from the user’s
perspective
Element Of Use Case
• References: https://www.uml-diagrams.org/use-case-diagrams.html
Class Exercises
Create a set of use cases & Model use case for the following system:
Of-the-Month Club (OTMC) is an innovative young firm that sells memberships to
people who have an interest in certain products. People pay membership fees for one
year and each month receive a product by mail. For example, OTMC has a coffee-of-
the month club that sends members one pound of special coffee each month. OTMC
currently has six memberships (coffee, wine, beer, cigars, flowers, and computer
games), each of which costs a different amount. Customers usually belong to just
one, but some belong to two or more. When people join OTMC, the telephone
operator records the name, mailing address, phone number, e-mail address, credit
card information, start date, and membership service(s) (e.g., coffee). Some
customers request a double or triple membership (e.g., two pounds of coffee, three
cases of beer). The computer game membership operates a bit differently from the
others. In this case, the member must also select the type of game (action, arcade,
fantasy/science fiction, educational, etc.) and age level. OTMC is planning to greatly
expand the number of memberships it offers (e.g., video games, movies, toys,
cheese, fruit, vegetables), so the system needs to accommodate this future
expansion. OTMC is also planning to offer three-month and six-month memberships.