SlideShare a Scribd company logo
1 of 24
Chapter 4:
Use Cases Analysis
Use cases
• Elements of a use case
• Alternative use case formats
• Use cases and functional requirements
• Use cases and testing
• Building use cases.
Introduction
• Use cases are a means of expressing user
requirements.
• Use cases are used extensively in the analysis
phase.
• A use case represents how a system interacts
with its environment by illustrating the activities
that are performed by the users and the systems
response.
• The text-based use case is easy for the users to
understand, and also flows easily into the
creation of process models and the data model.
Use Cases
• A use case depicts a set of activities that produce
some output result.
• Each use case describes how an external user
trigger and event to which the system must
respond.
• With this type of event-driven modeling,
everything in the system can be thought of as a
response to some triggering event.
• Creation of use cases is often done as a part of
interview session with users or a part of JAD
sessions.
Elements of a use case
• Basic Information:
– 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.
Preconditions
• It is common practice to create smaller, more
focused use cases breaking the whole process
down into parts.
• It is important to define clearly what needs to
be accomplished before each use case begins.
• The preconditions define the state the system
must be in before the use case commences.
Normal Course
• The next part of a use case is the description
of the major steps that are performed to
execute the response to the event the inputs
used for the steps and the outputs produced
by the steps.
• The normal course lists the steps.
Alternative courses
• Alternative courses depicts branches
(alternative paths of the steps) in logic that
also will lead to a successful conclusion of the
use case.
Postconditions
• The postconditions section defines the final
product of the use case.
• These postconditions also serves to define the
preconditions for the next use case in the
series.
Exceptions
• A use case should describe any error
conditions or exceptions that may occur as the
use case steps are performed.
• These are not normal branches in decision
logic, but are unusual occurrences or errors
that could potentially be encountered and will
lead to an unsuccessful result.
Summary of inputs and outputs
• The final section of the use case summarizes
the set of major inputs and outputs of the use
case, along with their source of destination.
Additional use case issues
• Additional sections may be included,
• E.g.;
– Frequency of use.
– Business rules.
– Special requirements.
– Assumptions.
– Notes and issues.
Chain of use case –an example
Alternative use case formats
• A full-dressed use case is very thorough,
detailed, and highly structured.
• The project team may decide that a more
casual use case format is acceptable.
Use cases and the functional
requirements
• Use cases are very useful tools to us to
understand user requirements.
• However, use cases only convey the user’s point
of view.
• Transforming the user’s view into the developers
view by creating functional requirements is one
of the important contributions of system analyst.
• The derived functional requirements give more
information to the developer about what the
system must do.
Use case testing
• Building use cases
– Step 1: identify the major use cases
– Step2: identify the major steps for each use case.
– Step3: Identify elements within steps
– Step4: Confirm the use case
Revise functional requirements based
on use cases
• The functional requirements in the
requirements definition may be modified to
reflect the more detailed understanding and
to provide insight to the development team
on some “back-end” processing.
example
Summary
• A use case contains all the info needed to
build one part of a process model, expressed
in an informal, simple way.
• When writing a use case.
– Identify the triggering event.
– Develop a list of the major steps.
– Identify the inputs and outputs for every step.
– Have the users role-play the use case to verify.

More Related Content

Similar to Chapter 4.pptx

Requirement analysis and specification, software engineering
Requirement analysis and specification, software engineeringRequirement analysis and specification, software engineering
Requirement analysis and specification, software engineeringRupesh Vaishnav
 
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdf
2nd MODULE  Software Requirements   _ SW ENGG  22CSE141.pdf2nd MODULE  Software Requirements   _ SW ENGG  22CSE141.pdf
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdfJayanthi Kannan MK
 
Lecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagramsLecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagramsnaveed428
 
Use Case Modelling.pptx
Use Case Modelling.pptxUse Case Modelling.pptx
Use Case Modelling.pptxazida3
 
Software engineering
Software engineeringSoftware engineering
Software engineeringrenukarenuka9
 
Ppt ooad ooad3unit
Ppt ooad ooad3unitPpt ooad ooad3unit
Ppt ooad ooad3unitramyalaksha
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineeringSutha31
 
Presentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptxPresentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptxazida3
 
Analysis modeling & scenario based modeling
Analysis modeling &  scenario based modeling Analysis modeling &  scenario based modeling
Analysis modeling & scenario based modeling Benazir Fathima
 
Unit2 Software engineering UPTU
Unit2 Software engineering UPTUUnit2 Software engineering UPTU
Unit2 Software engineering UPTUMohammad Faizan
 
conversion-gate02.pptx
conversion-gate02.pptxconversion-gate02.pptx
conversion-gate02.pptxNouraBaccar1
 
16_10_2018 non functional requirements v
16_10_2018 non functional requirements v16_10_2018 non functional requirements v
16_10_2018 non functional requirements vbeyokob767
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramKumar
 

Similar to Chapter 4.pptx (20)

Requirement analysis and specification, software engineering
Requirement analysis and specification, software engineeringRequirement analysis and specification, software engineering
Requirement analysis and specification, software engineering
 
2.1 usecase diagram
2.1 usecase diagram2.1 usecase diagram
2.1 usecase diagram
 
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdf
2nd MODULE  Software Requirements   _ SW ENGG  22CSE141.pdf2nd MODULE  Software Requirements   _ SW ENGG  22CSE141.pdf
2nd MODULE Software Requirements _ SW ENGG 22CSE141.pdf
 
Lecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagramsLecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagrams
 
Use Case Modelling.pptx
Use Case Modelling.pptxUse Case Modelling.pptx
Use Case Modelling.pptx
 
3. 1 req elicitation
3. 1 req elicitation3. 1 req elicitation
3. 1 req elicitation
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
sdlc.pptx
sdlc.pptxsdlc.pptx
sdlc.pptx
 
Ppt ooad ooad3unit
Ppt ooad ooad3unitPpt ooad ooad3unit
Ppt ooad ooad3unit
 
22-REQUIREMENT.ppt
22-REQUIREMENT.ppt22-REQUIREMENT.ppt
22-REQUIREMENT.ppt
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineering
 
Presentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptxPresentation Use Case Diagram and Use Case Specification.pptx
Presentation Use Case Diagram and Use Case Specification.pptx
 
Analysis modeling & scenario based modeling
Analysis modeling &  scenario based modeling Analysis modeling &  scenario based modeling
Analysis modeling & scenario based modeling
 
Unit2 Software engineering UPTU
Unit2 Software engineering UPTUUnit2 Software engineering UPTU
Unit2 Software engineering UPTU
 
Unit 3 for st
Unit 3 for stUnit 3 for st
Unit 3 for st
 
IFSM 461 Entire Course NEW
IFSM 461 Entire Course NEWIFSM 461 Entire Course NEW
IFSM 461 Entire Course NEW
 
Lec-9.ppt
Lec-9.pptLec-9.ppt
Lec-9.ppt
 
conversion-gate02.pptx
conversion-gate02.pptxconversion-gate02.pptx
conversion-gate02.pptx
 
16_10_2018 non functional requirements v
16_10_2018 non functional requirements v16_10_2018 non functional requirements v
16_10_2018 non functional requirements v
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 

Recently uploaded

Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightCheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightDelhi Call girls
 
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiVIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiSuhani Kapoor
 
PODSCAPE - Brochure 2023_ prefab homes in Bangalore India
PODSCAPE - Brochure 2023_ prefab homes in Bangalore IndiaPODSCAPE - Brochure 2023_ prefab homes in Bangalore India
PODSCAPE - Brochure 2023_ prefab homes in Bangalore IndiaYathish29
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130Suhani Kapoor
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Sitegalleryaagency
 
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk GurgaonCheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk GurgaonDelhi Call girls
 
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...Amil baba
 
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Narsimha murthy
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryWilliamVickery6
 
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130Suhani Kapoor
 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentationamedia6
 
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service AmravatiVIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Roomdivyansh0kumar0
 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...home
 
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...Suhani Kapoor
 
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵anilsa9823
 
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130Suhani Kapoor
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfParomita Roy
 
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Servicejennyeacort
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdfSwaraliBorhade
 

Recently uploaded (20)

Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 nightCheap Rate Call girls Kalkaji 9205541914 shot 1500 night
Cheap Rate Call girls Kalkaji 9205541914 shot 1500 night
 
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiVIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
 
PODSCAPE - Brochure 2023_ prefab homes in Bangalore India
PODSCAPE - Brochure 2023_ prefab homes in Bangalore IndiaPODSCAPE - Brochure 2023_ prefab homes in Bangalore India
PODSCAPE - Brochure 2023_ prefab homes in Bangalore India
 
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
VIP Call Girls Service Bhagyanagar Hyderabad Call +91-8250192130
 
How to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our SiteHow to Be Famous in your Field just visit our Site
How to Be Famous in your Field just visit our Site
 
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk GurgaonCheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
Cheap Rate ➥8448380779 ▻Call Girls In Iffco Chowk Gurgaon
 
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
NO1 Trending kala jadu Love Marriage Black Magic Punjab Powerful Black Magic ...
 
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...Revit Understanding Reference Planes and Reference lines in Revit for Family ...
Revit Understanding Reference Planes and Reference lines in Revit for Family ...
 
Design Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William VickeryDesign Portfolio - 2024 - William Vickery
Design Portfolio - 2024 - William Vickery
 
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
 
The history of music videos a level presentation
The history of music videos a level presentationThe history of music videos a level presentation
The history of music videos a level presentation
 
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service AmravatiVIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
VIP Call Girl Amravati Aashi 8250192130 Independent Escort Service Amravati
 
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130  Available With RoomVIP Kolkata Call Girl Gariahat 👉 8250192130  Available With Room
VIP Kolkata Call Girl Gariahat 👉 8250192130 Available With Room
 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
 
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
 
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
 
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
VIP Call Girls Service Kukatpally Hyderabad Call +91-8250192130
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
 
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts ServiceCall Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
Call Girls In Safdarjung Enclave 24/7✡️9711147426✡️ Escorts Service
 
3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf3D Printing And Designing Final Report.pdf
3D Printing And Designing Final Report.pdf
 

Chapter 4.pptx

  • 2.
  • 3. Use cases • Elements of a use case • Alternative use case formats • Use cases and functional requirements • Use cases and testing • Building use cases.
  • 4. Introduction • Use cases are a means of expressing user requirements. • Use cases are used extensively in the analysis phase. • A use case represents how a system interacts with its environment by illustrating the activities that are performed by the users and the systems response. • The text-based use case is easy for the users to understand, and also flows easily into the creation of process models and the data model.
  • 5. Use Cases • A use case depicts a set of activities that produce some output result. • Each use case describes how an external user trigger and event to which the system must respond. • With this type of event-driven modeling, everything in the system can be thought of as a response to some triggering event. • Creation of use cases is often done as a part of interview session with users or a part of JAD sessions.
  • 6. Elements of a use case • Basic Information: – 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.
  • 7.
  • 8. Preconditions • It is common practice to create smaller, more focused use cases breaking the whole process down into parts. • It is important to define clearly what needs to be accomplished before each use case begins. • The preconditions define the state the system must be in before the use case commences.
  • 9. Normal Course • The next part of a use case is the description of the major steps that are performed to execute the response to the event the inputs used for the steps and the outputs produced by the steps. • The normal course lists the steps.
  • 10. Alternative courses • Alternative courses depicts branches (alternative paths of the steps) in logic that also will lead to a successful conclusion of the use case.
  • 11. Postconditions • The postconditions section defines the final product of the use case. • These postconditions also serves to define the preconditions for the next use case in the series.
  • 12. Exceptions • A use case should describe any error conditions or exceptions that may occur as the use case steps are performed. • These are not normal branches in decision logic, but are unusual occurrences or errors that could potentially be encountered and will lead to an unsuccessful result.
  • 13. Summary of inputs and outputs • The final section of the use case summarizes the set of major inputs and outputs of the use case, along with their source of destination.
  • 14. Additional use case issues • Additional sections may be included, • E.g.; – Frequency of use. – Business rules. – Special requirements. – Assumptions. – Notes and issues.
  • 15. Chain of use case –an example
  • 16. Alternative use case formats • A full-dressed use case is very thorough, detailed, and highly structured. • The project team may decide that a more casual use case format is acceptable.
  • 17.
  • 18. Use cases and the functional requirements • Use cases are very useful tools to us to understand user requirements. • However, use cases only convey the user’s point of view. • Transforming the user’s view into the developers view by creating functional requirements is one of the important contributions of system analyst. • The derived functional requirements give more information to the developer about what the system must do.
  • 19. Use case testing • Building use cases – Step 1: identify the major use cases
  • 20. – Step2: identify the major steps for each use case. – Step3: Identify elements within steps
  • 21. – Step4: Confirm the use case
  • 22. Revise functional requirements based on use cases • The functional requirements in the requirements definition may be modified to reflect the more detailed understanding and to provide insight to the development team on some “back-end” processing.
  • 24. Summary • A use case contains all the info needed to build one part of a process model, expressed in an informal, simple way. • When writing a use case. – Identify the triggering event. – Develop a list of the major steps. – Identify the inputs and outputs for every step. – Have the users role-play the use case to verify.