SlideShare une entreprise Scribd logo
1  sur  32
REQUIREMENTS ENGINEERING
PRESENTATION TOPIC
“USE CASE MODELING”
Presentation
Wajahat Hasnain
Commonly Used UML Diagrams
The most commonly used UML diagrams are:
• Use case diagram, describing how the system is used.
• The starting point for UML modeling.
• Use case (not a diagram).
• Activity Diagram
• Class Diagram
• Sequence Diagram
• Collaboration Diagram
Overview of UML Diagrams
Use-Case Model
• The Use Case Model describes the proposed functionality of the new system. A Use Case
represents a discrete unit
• of interaction between a user (human or machine) and the system.
• Writing use cases – stories of using a system – is an excellent technique to understand and describe
requirements.
• The UP defines the Use-Case Model within the Requirements discipline.
• It is a model of the system’s functionality and environment.
• UMLUML formally includes the notion offormally includes the notion of Use casesUse cases andand use case diagramuse case diagram..
5
Use Cases
• Depiction of a system’s behavior or functionality under various
conditions as the system responds to requests from users
• descriptions ofdescriptions of domain processesdomain processes..
• UMLUML formally includes the notion offormally includes the notion of Use casesUse cases andand use case diagramuse case diagram..
• requiresrequires at least partial understandingat least partial understanding of the requirements of theof the requirements of the
system.system.
• Full functioning for a specific business purpose
• IdeallyIdeally expressed in the requirement specification document (expressed in the requirement specification document (RSDRSD).).
A use case is a specific way of using the system by performing some
part of the functionality. Each use case constitutes a complete course
of events initiated by an actor, and it specifies the interaction that
takes place between an actor and the system…...
The collected use cases specify all the existing ways of using the
system.”
Grady Booch et al.:Grady Booch et al.:
If you design a new house and you are reasoning about how you and
your family will use it, this is use case-based analysis.
You consider the various ways in which you‘ll use the house, and
these use cases drive the design.
Detailed Use Case Description/Modeling
Goals and Stories
9
 The user has goals (needs in UP) in the form of business processes.
 There are many ways to capture these goals and system requirements.
Use cases are a mechanism to help keep it simple and
understandable for all stakeholders.
 Informally, they are stories of using a system to meet goals.
 Example brief format use case:
Process Sale: A customer arrives at a checkout with items to
purchase. The cashier uses the POS system to record each
purchased item. The system presents a running total and line-
item details. The customer enters payment information, which
the system validates and records. The system updates
inventory. The customer receives a receipt from the system and
then leaves with the items.
 A more elaborated format is needed, but the essence is discovering
and recording functional requirements by writing stories of using a
system to help fulfill various stakeholder goals (i.e., cases of use).
Types of Use cases
(1)Levels of Abstraction: EssentialVs Real (Concrete)
According to the level of detail required at analysis and
design stages.
(2)Amount of Details: High Level and Expanded
High Level Usecases : Brief but structured
Expanded Usecases: Fully dressed and structured
(3)Business Importance: Primary, Secondary, and Optional)
• Primary use cases represent major common processes, such as
Buy Items.
• Secondary Use cases represent minor or rare processes, such as
Request for Stocking New Product.
• Optional use cases represents processes that may not be
tackled, like: Payment type analysis
11
Essential Versus Real Use Cases
Actor Action System Response
1. The customer identifies themselves 2. Presents options
3. and so on 4. and so on
Actor Action System Response
1. The Customer inserts their card 2. Prompts for PIN.
3. Enters PIN on key pad 4. Display options menu.
5.and so on. 6. and so on.
Real Use Cases
Concretely describes the process in terms of its real current design, committed to specific I/O
technology etc.
Essential Use Cases
• Are expanded use cases, remain relatively free of technology and implementation details
• design decisions are deferred and abstracted. That is, only essential activities and motivations
• High level use cases are always essential in nature due to their brevity and abstraction.
Degree of design commitment
Essential very abstract Real very concrete
<exist on continuum>
12
UML and Use Case Format:
 Header and structure of the use case are typical.
 UML does not specify a rigid format; may be altered to meet the needs
and spirit of documentation – clarity of communication
 Useful to start with high level use cases for a quick start and
understanding of overall major processes.
Example: High-Level Use Case: Buy Items
Use case: Buy Items
Actors: Customers?, Cashiers
Type: Primary
Description: A Customer arrives at a checkout with items
to purchase. The cashier records the purchase
items and collects payment. On completion, the
Customer leaves with the items.
13
High-Level Use Cases
UC01: Use case: Buy Items
Actors: Customer (initiator), Cashier
Type: primary
Description: A Customer arrives at a checkout with items to
purchase. The Cashier records the purchase items
and collects a payment. On completion, the
Customer leaves with the items.
UC02:Use case: Start Up
Actors: Manager
Type: primary
Description: A Manager powers on a POST in order to prepare
it for use by Cashiers. The Manager validates
that the date and time are correct, after which
the system is ready for Cashier use.
Use Case Diagram
• A use (yoos) case describes what the system does, not
how it does the work.
• The use case model reflects the view of the system of the
user outside of the system.
• Symbols are:
• Actor, a stick figure.
• Use case, an oval.
• Connecting lines.
Use Case
Actor
Use case/System Boundaries
System
Buy Item
Cashier
Use case Diagram (Partial)
Login
Refund Item
Customer
POST
UML Use Case Diagram Symbols
Use Case
Actor
Boundary
Connection
Include relationship
Extend relationship
<<include>>
<<extend>>
18
Some Definitions
Buy Items
UML icon for a use case
 AA scenarioscenario is ais a specificspecific sequence of actionssequence of actions andand interactionsinteractions
betweenbetween actorsactors and theand the system under discussionsystem under discussion (SuD); it is(SuD); it is
also called aalso called a use case instanceuse case instance. It is. It is one particular storyone particular story ofof
using a systemusing a system (similar defi in RUP).(similar defi in RUP).
Actors
• Actor:Actor: is something with behavior, such as a person (identified byis something with behavior, such as a person (identified by
role; a cashier), computer system, or organization.role; a cashier), computer system, or organization.
• Represent role played by one or more users
• Exist outside of the system
• May be a person, another system, a device, such as a keyboard
orWeb connection
• Can initiate an instance of a use case
• May interact with one or more use cases and a use case may
involve one or more actors
Actor
Actors (Continued)
• Actors may be divided into two groups:
• Primary actors supply data or receive information from
the system
• Secondary actors help to keep the system running or
provide help
• Help desk, analysts, programmers, etc.
What is a Boundary?
• A boundary is the dividing line between the system and
its environment.
• Use cases are within the boundary.
• Actors are outside of the boundary.
Use Case
• Consists of three things:
• An actor (user) that initiates an event.
• An event that triggers a use case.
• The use case that performs the actions triggered by the event.
Use Case (Continued)
• Better to create fewer use cases
• 20 use cases for a large system
• 50 use cases would be the maximum for a large system
• Can nest use cases, if needed
What is a Connection?
• A connection is an association between an actor and a
use case.
• Depicts a usage relationship
• Connection does not indicate data flow
Use Case Relationships
• Communicates
• Connect an actor to a use case
• Includes
• Use case contains a behavior that is common to more than one
use case.
• The common use case is included in other use cases.
• Dotted arrow points toward common use case.
What is an <<include>>
Relationship?
• A connection between two use cases
• Indicates a use case that is used (invoked) by another use
case
• Links to general purpose functions, used by many other
use cases base included<<include>>
Use Case Relationships (Continued)
• Extends
• A different use case handles variations or exceptions from the
basic use case.
• Arrow goes from extended to basic use case.
Generalize Relationship
• Generalizes
• The child use case inherits the
behavior and meaning of the
parent use case.
• The child may add to or
override the behavior of its parent.
• One thing is more general than another thing.
• Arrow points to the general thing
parent
child
What is an <<extend>>
Relationship?
• A connection between two use cases
• Extends a use case by adding new behavior or actions
• Specialized use case extends the general use case
Use Case Relationships
Requirements Engineering Presentation on Use Case Modeling
Requirements Engineering Presentation on Use Case Modeling

Contenu connexe

Tendances

Lecture11 use case sequence diagram
Lecture11 use case sequence diagramLecture11 use case sequence diagram
Lecture11 use case sequence diagramShahid Riaz
 
Requirement analysis and specification, software engineering
Requirement analysis and specification, software engineeringRequirement analysis and specification, software engineering
Requirement analysis and specification, software engineeringRupesh Vaishnav
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagramsBaskarkncet
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life CycleSlideshare
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineeringAyaz Ahmed
 
Requirement specification (SRS)
Requirement specification (SRS)Requirement specification (SRS)
Requirement specification (SRS)kunj desai
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentationmewaseem
 
Object-Oriented Programming with Java UNIT 1
Object-Oriented Programming with Java UNIT 1Object-Oriented Programming with Java UNIT 1
Object-Oriented Programming with Java UNIT 1SURBHI SAROHA
 
UML Architecture and Views
UML Architecture and ViewsUML Architecture and Views
UML Architecture and ViewsKumar
 
Unit2 Software engineering UPTU
Unit2 Software engineering UPTUUnit2 Software engineering UPTU
Unit2 Software engineering UPTUMohammad Faizan
 
Lecture6 activity diagrams
Lecture6 activity diagramsLecture6 activity diagrams
Lecture6 activity diagramsShahid Riaz
 
Requirement Engineering
Requirement EngineeringRequirement Engineering
Requirement EngineeringSlideshare
 

Tendances (20)

Lecture11 use case sequence diagram
Lecture11 use case sequence diagramLecture11 use case sequence diagram
Lecture11 use case sequence diagram
 
Requirement analysis and specification, software engineering
Requirement analysis and specification, software engineeringRequirement analysis and specification, software engineering
Requirement analysis and specification, software engineering
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
UML
UMLUML
UML
 
Requirements engineering
Requirements engineeringRequirements engineering
Requirements engineering
 
State Diagrams
State DiagramsState Diagrams
State Diagrams
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
Requirement specification (SRS)
Requirement specification (SRS)Requirement specification (SRS)
Requirement specification (SRS)
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
UML Diagrams
UML  DiagramsUML  Diagrams
UML Diagrams
 
Object-Oriented Programming with Java UNIT 1
Object-Oriented Programming with Java UNIT 1Object-Oriented Programming with Java UNIT 1
Object-Oriented Programming with Java UNIT 1
 
UML Architecture and Views
UML Architecture and ViewsUML Architecture and Views
UML Architecture and Views
 
Unit2 Software engineering UPTU
Unit2 Software engineering UPTUUnit2 Software engineering UPTU
Unit2 Software engineering UPTU
 
Use case Diagram
Use case DiagramUse case Diagram
Use case Diagram
 
Lecture6 activity diagrams
Lecture6 activity diagramsLecture6 activity diagrams
Lecture6 activity diagrams
 
Software development process models
Software development process modelsSoftware development process models
Software development process models
 
Requirement Engineering
Requirement EngineeringRequirement Engineering
Requirement Engineering
 

En vedette

IEE for 2D Seismic Survey AD-10 Process and Lessons Learned
IEE for 2D Seismic Survey AD-10 Process and Lessons LearnedIEE for 2D Seismic Survey AD-10 Process and Lessons Learned
IEE for 2D Seismic Survey AD-10 Process and Lessons LearnedEthical Sector
 
IEE for 2D Seismic Survey AD-10 Process and Lessons Learned (my)
IEE for 2D Seismic Survey AD-10 Process and Lessons Learned (my)IEE for 2D Seismic Survey AD-10 Process and Lessons Learned (my)
IEE for 2D Seismic Survey AD-10 Process and Lessons Learned (my)Ethical Sector
 
Exame de fisica de 2005
Exame de fisica de 2005Exame de fisica de 2005
Exame de fisica de 2005Ezio VLK
 
How i made my magazine advert
How i made my magazine advertHow i made my magazine advert
How i made my magazine advertjoewilson1997
 
Dallas Wedding Venue | Seven for Parties
Dallas Wedding Venue | Seven for PartiesDallas Wedding Venue | Seven for Parties
Dallas Wedding Venue | Seven for PartiesSeven for Parties
 
Disabili al lavoro, missione impossibile?
Disabili al lavoro, missione impossibile?Disabili al lavoro, missione impossibile?
Disabili al lavoro, missione impossibile?Antonino Leone
 
Desafio das Estimativas - Utilizando métricas científicas com Kanban
Desafio das Estimativas - Utilizando métricas científicas com KanbanDesafio das Estimativas - Utilizando métricas científicas com Kanban
Desafio das Estimativas - Utilizando métricas científicas com KanbanBruno Brandes
 
2) How effective is the combination of your main product and ancillary texts?
2) How effective is the combination of your main product and ancillary texts?2) How effective is the combination of your main product and ancillary texts?
2) How effective is the combination of your main product and ancillary texts?joewilson1997
 
Visualizing and drawing of symmetrical designs
Visualizing and drawing of symmetrical designsVisualizing and drawing of symmetrical designs
Visualizing and drawing of symmetrical designsEllen Cruz
 

En vedette (20)

Chude06 nhom2
Chude06 nhom2Chude06 nhom2
Chude06 nhom2
 
IEE for 2D Seismic Survey AD-10 Process and Lessons Learned
IEE for 2D Seismic Survey AD-10 Process and Lessons LearnedIEE for 2D Seismic Survey AD-10 Process and Lessons Learned
IEE for 2D Seismic Survey AD-10 Process and Lessons Learned
 
IEE for 2D Seismic Survey AD-10 Process and Lessons Learned (my)
IEE for 2D Seismic Survey AD-10 Process and Lessons Learned (my)IEE for 2D Seismic Survey AD-10 Process and Lessons Learned (my)
IEE for 2D Seismic Survey AD-10 Process and Lessons Learned (my)
 
Exame de fisica de 2005
Exame de fisica de 2005Exame de fisica de 2005
Exame de fisica de 2005
 
В.А. Шелякин
В.А. ШелякинВ.А. Шелякин
В.А. Шелякин
 
How i made my magazine advert
How i made my magazine advertHow i made my magazine advert
How i made my magazine advert
 
Dallas Wedding Venue | Seven for Parties
Dallas Wedding Venue | Seven for PartiesDallas Wedding Venue | Seven for Parties
Dallas Wedding Venue | Seven for Parties
 
Disabili al lavoro, missione impossibile?
Disabili al lavoro, missione impossibile?Disabili al lavoro, missione impossibile?
Disabili al lavoro, missione impossibile?
 
Desafio das Estimativas - Utilizando métricas científicas com Kanban
Desafio das Estimativas - Utilizando métricas científicas com KanbanDesafio das Estimativas - Utilizando métricas científicas com Kanban
Desafio das Estimativas - Utilizando métricas científicas com Kanban
 
Теории мотиваци
Теории мотивациТеории мотиваци
Теории мотиваци
 
Chu de1 nhom2
Chu de1 nhom2Chu de1 nhom2
Chu de1 nhom2
 
Priya main prjt
Priya main prjtPriya main prjt
Priya main prjt
 
Gagadget 2014
Gagadget 2014Gagadget 2014
Gagadget 2014
 
Dallas Wedding Venue
Dallas Wedding VenueDallas Wedding Venue
Dallas Wedding Venue
 
2) How effective is the combination of your main product and ancillary texts?
2) How effective is the combination of your main product and ancillary texts?2) How effective is the combination of your main product and ancillary texts?
2) How effective is the combination of your main product and ancillary texts?
 
Boxnews 2015
Boxnews 2015Boxnews 2015
Boxnews 2015
 
Visualizing and drawing of symmetrical designs
Visualizing and drawing of symmetrical designsVisualizing and drawing of symmetrical designs
Visualizing and drawing of symmetrical designs
 
Opiner_Technologies
Opiner_TechnologiesOpiner_Technologies
Opiner_Technologies
 
Gagadget 2015.
Gagadget 2015.Gagadget 2015.
Gagadget 2015.
 
Desarrollo de nuevos Fármacos
Desarrollo de nuevos Fármacos Desarrollo de nuevos Fármacos
Desarrollo de nuevos Fármacos
 

Similaire à Requirements Engineering Presentation on Use Case Modeling

SE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfSE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfAZKANAAZ1
 
Lab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagramLab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagramFarah Ahmed
 
OOAD U1.pptx
OOAD U1.pptxOOAD U1.pptx
OOAD U1.pptxanguraju1
 
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
 
conversion-gate02.pptx
conversion-gate02.pptxconversion-gate02.pptx
conversion-gate02.pptxNouraBaccar1
 
SE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesSE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesAmr E. Mohamed
 
Use Case Diagram.pptx
Use Case Diagram.pptxUse Case Diagram.pptx
Use Case Diagram.pptxGenta Sahuri
 
Use case modeling & analysis v 1
Use case modeling & analysis v 1Use case modeling & analysis v 1
Use case modeling & analysis v 1JIGAR MAKHIJA
 
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
 
Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringsnehalkulkarni74
 
Lesson02_Use Case Diagrams
Lesson02_Use Case DiagramsLesson02_Use Case Diagrams
Lesson02_Use Case DiagramsMarwa Ali Eissa
 
Final use case (1)
Final use case (1)Final use case (1)
Final use case (1)03028335403
 
usecase (1).pptx
usecase (1).pptxusecase (1).pptx
usecase (1).pptxNadir438180
 
SELECT21.pptx
SELECT21.pptxSELECT21.pptx
SELECT21.pptxdevnasra1
 
SE18_Lec 09_UML Use Cases
SE18_Lec 09_UML Use CasesSE18_Lec 09_UML Use Cases
SE18_Lec 09_UML Use CasesAmr E. Mohamed
 

Similaire à Requirements Engineering Presentation on Use Case Modeling (20)

Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
SE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfSE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdf
 
Lab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagramLab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagram
 
OOAD U1.pptx
OOAD U1.pptxOOAD U1.pptx
OOAD U1.pptx
 
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
 
conversion-gate02.pptx
conversion-gate02.pptxconversion-gate02.pptx
conversion-gate02.pptx
 
SE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesSE_Lec 08_UML Use Cases
SE_Lec 08_UML Use Cases
 
Use Case Diagram.pptx
Use Case Diagram.pptxUse Case Diagram.pptx
Use Case Diagram.pptx
 
Use case modeling & analysis v 1
Use case modeling & analysis v 1Use case modeling & analysis v 1
Use case modeling & analysis v 1
 
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
 
Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineering
 
Lesson02_Use Case Diagrams
Lesson02_Use Case DiagramsLesson02_Use Case Diagrams
Lesson02_Use Case Diagrams
 
2.1 usecase diagram
2.1 usecase diagram2.1 usecase diagram
2.1 usecase diagram
 
Final use case (1)
Final use case (1)Final use case (1)
Final use case (1)
 
Use Cases
Use CasesUse Cases
Use Cases
 
Use Cases
Use CasesUse Cases
Use Cases
 
usecase (1).pptx
usecase (1).pptxusecase (1).pptx
usecase (1).pptx
 
SELECT21.pptx
SELECT21.pptxSELECT21.pptx
SELECT21.pptx
 
chapter_5_5.ppt
chapter_5_5.pptchapter_5_5.ppt
chapter_5_5.ppt
 
SE18_Lec 09_UML Use Cases
SE18_Lec 09_UML Use CasesSE18_Lec 09_UML Use Cases
SE18_Lec 09_UML Use Cases
 

Dernier

SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 

Dernier (20)

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 

Requirements Engineering Presentation on Use Case Modeling

  • 1.
  • 2. REQUIREMENTS ENGINEERING PRESENTATION TOPIC “USE CASE MODELING” Presentation Wajahat Hasnain
  • 3. Commonly Used UML Diagrams The most commonly used UML diagrams are: • Use case diagram, describing how the system is used. • The starting point for UML modeling. • Use case (not a diagram). • Activity Diagram • Class Diagram • Sequence Diagram • Collaboration Diagram
  • 4. Overview of UML Diagrams
  • 5. Use-Case Model • The Use Case Model describes the proposed functionality of the new system. A Use Case represents a discrete unit • of interaction between a user (human or machine) and the system. • Writing use cases – stories of using a system – is an excellent technique to understand and describe requirements. • The UP defines the Use-Case Model within the Requirements discipline. • It is a model of the system’s functionality and environment. • UMLUML formally includes the notion offormally includes the notion of Use casesUse cases andand use case diagramuse case diagram.. 5
  • 6. Use Cases • Depiction of a system’s behavior or functionality under various conditions as the system responds to requests from users • descriptions ofdescriptions of domain processesdomain processes.. • UMLUML formally includes the notion offormally includes the notion of Use casesUse cases andand use case diagramuse case diagram.. • requiresrequires at least partial understandingat least partial understanding of the requirements of theof the requirements of the system.system. • Full functioning for a specific business purpose • IdeallyIdeally expressed in the requirement specification document (expressed in the requirement specification document (RSDRSD).).
  • 7. A use case is a specific way of using the system by performing some part of the functionality. Each use case constitutes a complete course of events initiated by an actor, and it specifies the interaction that takes place between an actor and the system…... The collected use cases specify all the existing ways of using the system.” Grady Booch et al.:Grady Booch et al.: If you design a new house and you are reasoning about how you and your family will use it, this is use case-based analysis. You consider the various ways in which you‘ll use the house, and these use cases drive the design.
  • 8. Detailed Use Case Description/Modeling
  • 9. Goals and Stories 9  The user has goals (needs in UP) in the form of business processes.  There are many ways to capture these goals and system requirements. Use cases are a mechanism to help keep it simple and understandable for all stakeholders.  Informally, they are stories of using a system to meet goals.  Example brief format use case: Process Sale: A customer arrives at a checkout with items to purchase. The cashier uses the POS system to record each purchased item. The system presents a running total and line- item details. The customer enters payment information, which the system validates and records. The system updates inventory. The customer receives a receipt from the system and then leaves with the items.  A more elaborated format is needed, but the essence is discovering and recording functional requirements by writing stories of using a system to help fulfill various stakeholder goals (i.e., cases of use).
  • 10. Types of Use cases (1)Levels of Abstraction: EssentialVs Real (Concrete) According to the level of detail required at analysis and design stages. (2)Amount of Details: High Level and Expanded High Level Usecases : Brief but structured Expanded Usecases: Fully dressed and structured (3)Business Importance: Primary, Secondary, and Optional) • Primary use cases represent major common processes, such as Buy Items. • Secondary Use cases represent minor or rare processes, such as Request for Stocking New Product. • Optional use cases represents processes that may not be tackled, like: Payment type analysis
  • 11. 11 Essential Versus Real Use Cases Actor Action System Response 1. The customer identifies themselves 2. Presents options 3. and so on 4. and so on Actor Action System Response 1. The Customer inserts their card 2. Prompts for PIN. 3. Enters PIN on key pad 4. Display options menu. 5.and so on. 6. and so on. Real Use Cases Concretely describes the process in terms of its real current design, committed to specific I/O technology etc. Essential Use Cases • Are expanded use cases, remain relatively free of technology and implementation details • design decisions are deferred and abstracted. That is, only essential activities and motivations • High level use cases are always essential in nature due to their brevity and abstraction. Degree of design commitment Essential very abstract Real very concrete <exist on continuum>
  • 12. 12 UML and Use Case Format:  Header and structure of the use case are typical.  UML does not specify a rigid format; may be altered to meet the needs and spirit of documentation – clarity of communication  Useful to start with high level use cases for a quick start and understanding of overall major processes. Example: High-Level Use Case: Buy Items Use case: Buy Items Actors: Customers?, Cashiers Type: Primary Description: A Customer arrives at a checkout with items to purchase. The cashier records the purchase items and collects payment. On completion, the Customer leaves with the items.
  • 13. 13 High-Level Use Cases UC01: Use case: Buy Items Actors: Customer (initiator), Cashier Type: primary Description: A Customer arrives at a checkout with items to purchase. The Cashier records the purchase items and collects a payment. On completion, the Customer leaves with the items. UC02:Use case: Start Up Actors: Manager Type: primary Description: A Manager powers on a POST in order to prepare it for use by Cashiers. The Manager validates that the date and time are correct, after which the system is ready for Cashier use.
  • 14. Use Case Diagram • A use (yoos) case describes what the system does, not how it does the work. • The use case model reflects the view of the system of the user outside of the system. • Symbols are: • Actor, a stick figure. • Use case, an oval. • Connecting lines. Use Case Actor Use case/System Boundaries System
  • 15.
  • 16. Buy Item Cashier Use case Diagram (Partial) Login Refund Item Customer POST
  • 17. UML Use Case Diagram Symbols Use Case Actor Boundary Connection Include relationship Extend relationship <<include>> <<extend>>
  • 18. 18 Some Definitions Buy Items UML icon for a use case  AA scenarioscenario is ais a specificspecific sequence of actionssequence of actions andand interactionsinteractions betweenbetween actorsactors and theand the system under discussionsystem under discussion (SuD); it is(SuD); it is also called aalso called a use case instanceuse case instance. It is. It is one particular storyone particular story ofof using a systemusing a system (similar defi in RUP).(similar defi in RUP).
  • 19. Actors • Actor:Actor: is something with behavior, such as a person (identified byis something with behavior, such as a person (identified by role; a cashier), computer system, or organization.role; a cashier), computer system, or organization. • Represent role played by one or more users • Exist outside of the system • May be a person, another system, a device, such as a keyboard orWeb connection • Can initiate an instance of a use case • May interact with one or more use cases and a use case may involve one or more actors Actor
  • 20. Actors (Continued) • Actors may be divided into two groups: • Primary actors supply data or receive information from the system • Secondary actors help to keep the system running or provide help • Help desk, analysts, programmers, etc.
  • 21. What is a Boundary? • A boundary is the dividing line between the system and its environment. • Use cases are within the boundary. • Actors are outside of the boundary.
  • 22. Use Case • Consists of three things: • An actor (user) that initiates an event. • An event that triggers a use case. • The use case that performs the actions triggered by the event.
  • 23. Use Case (Continued) • Better to create fewer use cases • 20 use cases for a large system • 50 use cases would be the maximum for a large system • Can nest use cases, if needed
  • 24. What is a Connection? • A connection is an association between an actor and a use case. • Depicts a usage relationship • Connection does not indicate data flow
  • 25. Use Case Relationships • Communicates • Connect an actor to a use case • Includes • Use case contains a behavior that is common to more than one use case. • The common use case is included in other use cases. • Dotted arrow points toward common use case.
  • 26. What is an <<include>> Relationship? • A connection between two use cases • Indicates a use case that is used (invoked) by another use case • Links to general purpose functions, used by many other use cases base included<<include>>
  • 27. Use Case Relationships (Continued) • Extends • A different use case handles variations or exceptions from the basic use case. • Arrow goes from extended to basic use case.
  • 28. Generalize Relationship • Generalizes • The child use case inherits the behavior and meaning of the parent use case. • The child may add to or override the behavior of its parent. • One thing is more general than another thing. • Arrow points to the general thing parent child
  • 29. What is an <<extend>> Relationship? • A connection between two use cases • Extends a use case by adding new behavior or actions • Specialized use case extends the general use case

Notes de l'éditeur

  1. Chap 6
  2. 6.13 brevity &amp;gt; conciseness; lack of verbosity
  3. Actor: Stickman