SlideShare a Scribd company logo
Use Case Analysis
SYSTEMS ANALYSIS AND DESIGN, 6TH EDITION
DENNIS, WIXOM, AND ROTH
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 1
Learning Objectives
 Explain the purpose of use cases in the analysis phase of the
SDLC.
 Describe the various parts of a use case and the purpose of each
part.
 Describe how use cases contribute to the functional requirements.
 Describe how use cases inform the development of test plans.
 Explain the process used to create a use case.
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 2
What is a Use Case?
UNDERSTANDING THE PURPOSE OF THIS TOOL
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 3
Role of Use Cases
 Use cases express and clarify user requirements.
 Purpose - define the expected interaction between user and
system.
 Use that interaction to more fully describe functional requirements
 Used extensively in the analysis phase. Often a part of user
interviews or JAD sessions.
 Text-based use cases are easy for the users to understand.
 Flow easily into the creation of process models and the data
model.
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 4
Use Cases
 Represents how a system interacts with its environment
 Illustrates the activities that are performed by the users and
the system’s responses.
 Activities produce some output result.
 Each use case describes how an external user triggers an
event to which the system must respond.
 In event-driven modeling, everything in the system can be
thought of as a response to some triggering event.
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 5
Use Case Styles
ELEMENTS AND FORMATS
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 6
Elements of a Use Case
 Each use case has a name and number, and brief description.
 The priority may be assigned to indicate the relative
significance.
 The actor refers to a person, another system, or a hardware
device that interacts with the system to achieve a useful goal.
 The trigger for the use case – the event that causes the use
case to begin.
 Events triggers can be external or temporal
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 7
Use Case Basic
Information
From Figure 4-1
Casual Format Use Case
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 8
Normal Course
o The major steps that are performed
to execute the response to the event
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 9
Exceptions
o Error conditions encountered while
performing use case steps.
o NOT normal branches in decision
logic.
o Lead to an unsuccessful result.
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 10
Use Cases in
Sequence
o Uses cases often performed in
sequence.
o No single use case should be too
large.
o Important to define initial and
ending states.
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 11
Preconditions
and
Postconditions
o Preconditions define what must be
complete before beginning this use
case.
o Postconditions define what is
complete when this use case ends.
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 12
Fully-Dressed Use Case Format
 Very thorough, detailed, and highly structured.
 Adds new sections, including,
o Alternative courses
o Inputs and outputs for steps
o Summary inputs and outputs.
See Figure 4-3 for example
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 13
Fully-Dressed Use Case Format, con’t.
Use this format when:
o Users are not closely engaged with development team
o Project has high complexity and high risk
o Test cases need to be fully described
o Remote collaborating teams need detailed, shared
understanding of user needs.
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 14
Use Case Practical Tips
 Use gradual refinement.
 Concentrate on describing the user’s objectives with the
system completely and accurately.
 Keep both audiences in mind – users and developers.
 Create use cases only when needed to clarify what the
system must do from the user’s perspective. Not
needed for simple events.
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 15
Use Cases and the Functional
Requirements
 Use cases are useful tools to clarify user requirements.
 Use cases convey only the user’s point of view.
 Transforming the user’s view into the developer’s view
through functional requirements is one of the system
analyst’s key contributions.
 The derived functional requirements tell the developers
more about what the system must do.
© COPYRIGHT 2011 JOHN WILEY & SONS, INC. 4-16
Detailed
Functional
Requirements
Use case content used to create more
complete and descriptive functional
requirements
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 17
Creating Use Cases
 Identify events the system must respond to – develop
Event-Response List
 Create use case form for the complex events
 For each use case:
o Identify the major steps
o Identify elements with each major step (inputs and outputs)
o Confirm use case with users through role-playing
 Revise functional requirements as needed
© COPYRIGHT 2015 JOHN WILEY & SONS, INC. 18

More Related Content

PPTX
Hi600 ch02_text_slides
PPTX
Hi600 ch13_text_slides
PPTX
Hi600 ch12_text_slides
PPTX
HI600 Ch 1 Inst_slides
PPT
Social and cultural issues in requirements engineering
PPTX
system level requirements gathering and analysis
PPTX
Hi600 u03_inst_slides
DOCX
Understanding Alternative Approaches for System Development
Hi600 ch02_text_slides
Hi600 ch13_text_slides
Hi600 ch12_text_slides
HI600 Ch 1 Inst_slides
Social and cultural issues in requirements engineering
system level requirements gathering and analysis
Hi600 u03_inst_slides
Understanding Alternative Approaches for System Development

What's hot (19)

PDF
Software Engineering Introduction
PDF
Contextually-Driven System Architecture Reviews
PDF
Incorporation of GlobalIssue factors in SDLC by using Inverse Requirement
PPT
SDLC & Project Team roles_in practice
PPTX
GXC Advisory Board Business Windows 7 Accelerated Migration September2012
PDF
Software process methodologies and a comparative study of various models
PDF
Model Validation and Model Risk Conference September 5-7, 2016, Singapore
PDF
Agile software development and challenges
PPTX
3.8 development methods
KEY
Agile Software Development and the FDA
PPTX
L3 Requirements Eng Overview
PDF
Agile software development and challenges
DOC
Good Practices For Developing User Requirements
PPT
PPTX
Process Improvement for better Software Technical Quality under Global Crisis...
PPTX
7 Engineering Profession
ODP
Common Problems of Software Development
PPT
Software Engineering Code Of Ethics And Professional Practice
PPTX
Requirements Gathering for Project Management Success
Software Engineering Introduction
Contextually-Driven System Architecture Reviews
Incorporation of GlobalIssue factors in SDLC by using Inverse Requirement
SDLC & Project Team roles_in practice
GXC Advisory Board Business Windows 7 Accelerated Migration September2012
Software process methodologies and a comparative study of various models
Model Validation and Model Risk Conference September 5-7, 2016, Singapore
Agile software development and challenges
3.8 development methods
Agile Software Development and the FDA
L3 Requirements Eng Overview
Agile software development and challenges
Good Practices For Developing User Requirements
Process Improvement for better Software Technical Quality under Global Crisis...
7 Engineering Profession
Common Problems of Software Development
Software Engineering Code Of Ethics And Professional Practice
Requirements Gathering for Project Management Success
Ad

Similar to Hi600 ch04_text_slides (20)

PPTX
Chapter04 use case
PPTX
Hi600 ch03_text_slides
PPTX
Useanalysis
PPT
ch7-Requirements-Engineering-Processes.ppt
PDF
Software Engineering 10th Edition Sommerville Solutions Manual
PPT
Software engineering requirements help11
PDF
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
PDF
J017648994
PDF
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
PDF
Software Engineering 10th Edition Sommerville Solutions Manual
PDF
Software Engineering - Ch7
PDF
Chapter 7 Requirements Engineering Process
PPT
PDF
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville dow...
PDF
Software Engineering 10th Edition Sommerville Solutions Manual
PDF
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
PDF
Software Engineering 10th Edition Sommerville Solutions Manual all chapter in...
PDF
Download Software Engineering 10th Edition Sommerville Solutions Manual ebook...
DOC
Ooad quest and ans
PPTX
Chapter 1 The Systems Analyst and Information Systems Development.pptx
Chapter04 use case
Hi600 ch03_text_slides
Useanalysis
ch7-Requirements-Engineering-Processes.ppt
Software Engineering 10th Edition Sommerville Solutions Manual
Software engineering requirements help11
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
J017648994
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
Software Engineering 10th Edition Sommerville Solutions Manual
Software Engineering - Ch7
Chapter 7 Requirements Engineering Process
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville dow...
Software Engineering 10th Edition Sommerville Solutions Manual
Solution Manual for Software Engineering, 9/E 9th Edition Ian Sommerville
Software Engineering 10th Edition Sommerville Solutions Manual all chapter in...
Download Software Engineering 10th Edition Sommerville Solutions Manual ebook...
Ooad quest and ans
Chapter 1 The Systems Analyst and Information Systems Development.pptx
Ad

More from ljmcneill33 (20)

PPTX
Module 2 Unit 3
PPTX
Hi600 m1 u1_part1_instslides
PPTX
Hi600 m1 u1_part2_instslides
PPTX
HI600 U02_inst_slides
PPTX
Hi600 u13_inst_slides
PPTX
Hi600 u12_inst_slides
PPTX
Hi600 u11_inst_slides_ch11
PPTX
Hi600 u10_inst_slides
PPTX
Hi600 u09_inst_slides
PPTX
Hi600 ch09_text_slides
PPTX
Hi600 u08_inst_slides
PPTX
Hi600 ch08_text_slides
PPTX
Hi600 u07_inst_slides
PPTX
Hi600 u07_inst_slides
PPTX
Hi600ch07_text_slides
PPTX
Hi600 u06_inst_slides
PPTX
Hi600 ch06_text_slides
PPTX
Hi600 u05_inst_slides
PPTX
Hi600 ch05_text_slides
PPTX
Hi600 u04_inst_slides
Module 2 Unit 3
Hi600 m1 u1_part1_instslides
Hi600 m1 u1_part2_instslides
HI600 U02_inst_slides
Hi600 u13_inst_slides
Hi600 u12_inst_slides
Hi600 u11_inst_slides_ch11
Hi600 u10_inst_slides
Hi600 u09_inst_slides
Hi600 ch09_text_slides
Hi600 u08_inst_slides
Hi600 ch08_text_slides
Hi600 u07_inst_slides
Hi600 u07_inst_slides
Hi600ch07_text_slides
Hi600 u06_inst_slides
Hi600 ch06_text_slides
Hi600 u05_inst_slides
Hi600 ch05_text_slides
Hi600 u04_inst_slides

Recently uploaded (20)

PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
Classroom Observation Tools for Teachers
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
O7-L3 Supply Chain Operations - ICLT Program
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Cell Types and Its function , kingdom of life
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
A systematic review of self-coping strategies used by university students to ...
Orientation - ARALprogram of Deped to the Parents.pptx
Complications of Minimal Access Surgery at WLH
Classroom Observation Tools for Teachers
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
O7-L3 Supply Chain Operations - ICLT Program
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Supply Chain Operations Speaking Notes -ICLT Program
Microbial disease of the cardiovascular and lymphatic systems
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Weekly quiz Compilation Jan -July 25.pdf
Anesthesia in Laparoscopic Surgery in India
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Cell Types and Its function , kingdom of life
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
human mycosis Human fungal infections are called human mycosis..pptx

Hi600 ch04_text_slides

  • 1. Use Case Analysis SYSTEMS ANALYSIS AND DESIGN, 6TH EDITION DENNIS, WIXOM, AND ROTH © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 1
  • 2. Learning Objectives  Explain the purpose of use cases in the analysis phase of the SDLC.  Describe the various parts of a use case and the purpose of each part.  Describe how use cases contribute to the functional requirements.  Describe how use cases inform the development of test plans.  Explain the process used to create a use case. © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 2
  • 3. What is a Use Case? UNDERSTANDING THE PURPOSE OF THIS TOOL © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 3
  • 4. Role of Use Cases  Use cases express and clarify user requirements.  Purpose - define the expected interaction between user and system.  Use that interaction to more fully describe functional requirements  Used extensively in the analysis phase. Often a part of user interviews or JAD sessions.  Text-based use cases are easy for the users to understand.  Flow easily into the creation of process models and the data model. © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 4
  • 5. Use Cases  Represents how a system interacts with its environment  Illustrates the activities that are performed by the users and the system’s responses.  Activities produce some output result.  Each use case describes how an external user triggers an event to which the system must respond.  In event-driven modeling, everything in the system can be thought of as a response to some triggering event. © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 5
  • 6. Use Case Styles ELEMENTS AND FORMATS © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 6
  • 7. Elements of a Use Case  Each use case has a name and number, and brief description.  The priority may be assigned to indicate the relative significance.  The actor refers to a person, another system, or a hardware device that interacts with the system to achieve a useful goal.  The trigger for the use case – the event that causes the use case to begin.  Events triggers can be external or temporal © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 7
  • 8. Use Case Basic Information From Figure 4-1 Casual Format Use Case © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 8
  • 9. Normal Course o The major steps that are performed to execute the response to the event © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 9
  • 10. Exceptions o Error conditions encountered while performing use case steps. o NOT normal branches in decision logic. o Lead to an unsuccessful result. © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 10
  • 11. Use Cases in Sequence o Uses cases often performed in sequence. o No single use case should be too large. o Important to define initial and ending states. © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 11
  • 12. Preconditions and Postconditions o Preconditions define what must be complete before beginning this use case. o Postconditions define what is complete when this use case ends. © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 12
  • 13. Fully-Dressed Use Case Format  Very thorough, detailed, and highly structured.  Adds new sections, including, o Alternative courses o Inputs and outputs for steps o Summary inputs and outputs. See Figure 4-3 for example © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 13
  • 14. Fully-Dressed Use Case Format, con’t. Use this format when: o Users are not closely engaged with development team o Project has high complexity and high risk o Test cases need to be fully described o Remote collaborating teams need detailed, shared understanding of user needs. © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 14
  • 15. Use Case Practical Tips  Use gradual refinement.  Concentrate on describing the user’s objectives with the system completely and accurately.  Keep both audiences in mind – users and developers.  Create use cases only when needed to clarify what the system must do from the user’s perspective. Not needed for simple events. © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 15
  • 16. Use Cases and the Functional Requirements  Use cases are useful tools to clarify user requirements.  Use cases convey only the user’s point of view.  Transforming the user’s view into the developer’s view through functional requirements is one of the system analyst’s key contributions.  The derived functional requirements tell the developers more about what the system must do. © COPYRIGHT 2011 JOHN WILEY & SONS, INC. 4-16
  • 17. Detailed Functional Requirements Use case content used to create more complete and descriptive functional requirements © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 17
  • 18. Creating Use Cases  Identify events the system must respond to – develop Event-Response List  Create use case form for the complex events  For each use case: o Identify the major steps o Identify elements with each major step (inputs and outputs) o Confirm use case with users through role-playing  Revise functional requirements as needed © COPYRIGHT 2015 JOHN WILEY & SONS, INC. 18