SlideShare a Scribd company logo
1 of 31
Analysis Model
A Bridge
2
system
description
analysis
model
design
model
Writing the Software Specification
Everyone knew exactly what
had to be done until someone
wrote it down!
Elements of the Analysis Model
Elements of the Analysis Model
Contd.
4
Use case text
Use case diagrams
Activity diagrams
Swim lane diagrams
Scenario-based
modeling
Class diagrams
Analysis packages
CRC models
Collaboration diagrams
Class-based
modeling
Data structure diagrams
Data flow diagrams
Control-flow diagrams
Processing narratives
Flow-oriented
modeling
State diagrams
Sequence diagrams
Behavioral
modeling
Structured AnalysisObject-oriented Analysis
Elements of the Analysis Model
Contd.
• Flow-oriented modeling – provides an indication of how data objects are
transformed by a set of processing functions
• Scenario-based modeling – represents the system from the user's point of
view
• Class-based modeling – defines objects, attributes, and relationships
• Behavioral modeling – depicts the states of the classes and the impact of
events on these states
5
Overall Objectives of Analysis
Model
• Three primary objectives
– To describe what the customer requires
– To establish a basis for the creation of a software design
– To define a set of requirements that can be validated once the software is
built
• All elements of an analysis model are directly traceable to parts of the
design model, and some parts overlap.
6
Scenario-based Modeling
Textual Use Cases
• Use cases are a type of textual requirements
specification that capture how a user will interact with a
solution to achieve a specific goal.
• They describe the step by step process a user goes through
to complete that goal using a software system.
• Use cases capture all the possible ways the user and
system can interact that result in the user achieving the
goal.
• They also capture all the things that can go wrong along
the way that prevent the user from achieving the goal.
Use cases elements
Use cases contain the following elements:
Name – A clear verb-noun descriptor that communicates the scope of the use
case.
Goal – A brief paragraph of text describing the scope of the use case.
Actors – A list of the types of users who can engage in the activities
described in the use case. Actor names should not correspond to job
titles.
– Primary Actor
– Supporting Actor/ Secondary Actor
– Off-Stage Actor / Secondary Actor
Precondition/s – Anything the solution can assume to be true when the use
case begins.
Use cases elements contd.
Basic Flow – The set of steps the actors take to
accomplish the goal of the use case. A clear description
of what the system does in response to each user
action.
Alternate Flows – Capture the less common user/system
interactions, such as being on a new computer and
answering a security question.
Exception Flows – The things that can happen that
prevent the user from achieving their goal, such as
providing an incorrect username and password.
Post Condition/s – Anything that must be true when the
use case is complete.
Golden Rule of Use-Case Names
• Each use case should have a name that indicates what value
(or goal) is achieved by the actor's interaction with the
system
• Here are some good questions to help you adhere to this
rule:
– Why would the actor initiate this interaction with the
system?
What goal does the actor have in mind when undertaking
these actions?
What value is achieved and for which actor?
11
Use Case Name Examples
• Excellent - Purchase Concert Ticket
• Very Good - Purchase Concert Tickets
• Good - Purchase Ticket (insufficient detail)
• Fair - Ticket Purchase (passive)
• Poor - Ticket Order (system view, not user)
• Unacceptable - Pay for Ticket (procedure, not
process)
12
Types of Actors
• Primary Actor
– Has goals to be fulfilled by system
• Supporting/Secondary Actor
– Provides service to the system
• Offstage Actor/Secondary
– Interested in the behavior, but no contribution
• In diagrams, Primary actors go on the left and others
on the right.
13
Descriptive Use-Case
UC-ID: 001
Use-case Name: Login
Goal: Librarian has to login the system to perform different transactions
Primary Actor: Librarian
Secondary Actor: University, Student
Pre-condition: System is working properly
Main Success Scenario:
Post condition: Librarian is able to perform different other transactions.
Actor Action System Response
1. User enters user name.
2. User enters password.
3. System validates the username and
password.
15
USE CASE : Process Sale
(FULLY DRESSED VERSION)
• Primary Actor: Cashier
• Stakeholders and Interests:
 Cashier: Wants accurate and fast entry, no payment errors, …
 Salesperson: Wants sales commissions updated. …
• Preconditions: Cashier is identified and authenticated.
Main success scenario (or basic flow):
Actor Action System Response
1.The Customer arrives at a POS checkout
with items to purchase.
2.The cashier records the identifier for
each item. If there is more than one of
the same item, the Cashier can enter the
quantity as well.
3.The system determines the item price
and adds the item information to the
running sales transaction. The description
and the price of the current item are
presented.
4.On completion of item entry, the
Cashier indicates to the POS system that
item entry is complete.
5.The System calculates and presents the
sale total.
6.The Cashier tells the customer the total.
The Customer gives a cash payment
(“cash tendered”) possibly greater than
17
Use case (contd…)
• Extensions (or alternative flows):
• Success Guarantee (Post conditions):
Sale is saved. Tax correctly calculated.…
Actor Action System Response
If invalid identifier entered. Indicate error.
If customer didn’t have
enough cash
cancel sales transaction.
Use Case Diagram
19
Actor
• An actor is an idealized user
of a system.
• Actors can be users,
processes, and other
systems
• Many users can be one
actor, in a common role.
• One user can be different
actors, based on different
roles.
• An actor is labeled with the
name of the role
20
Non-human Actor
• Actors can be users,
processes, and other
systems.
• Show non human actors in
a different manner, usually
as a rectangle
• Non human actors are
usually not primary users,
and thus are usually shown
on the right, not the left.
Inventory
System
21
Use Case
• A use case is a coherent unit of
externally visible functionality
provided by a system and
expressed by a sequence of
messages
• Additional behavior can be
shown with parent-child,
extend and include use cases
• It is labeled with a name that
the user can understand
22
System
• A system is shown as a
rectangle, labeled with the
system name
• Actors are outside the
system
• Use cases are inside the
system
• The rectangle shows the
scope or boundary of the
system
Don’t forget the boundary and the system name, unless you are using Rational Rose!
23
Association Relationship
• An association is the
communication path between an
actor and the use case that it
participates in
• It is shown as a solid line
• It does not have an arrow, and is
normally read from left to right
• Here, the association is between a
Modeler and the Create Model
use case
24
Relationships in Use Cases
• There are several Use
Case relationships:
• Association
• Extend
• Generalization
• Uses
• Include
Most Use Cases have only associations.
Use other relationships sparingly.
25
Extend Relationship
• Extend puts additional
behavior in a use case that
does not know about it.
• It is shown as a dotted line
with an arrow point and
labeled <<extend>>
• In this case, a customer
can request a catalog when
placing an order
26
Use Case Generalization
• Generalization is a
relationship between a
general use case and a
more specific use case that
inherits and extends
features to it
• It is shown as a solid line
with a closed arrow point
• Here, the payment process
is modified for cash and
charge cards
27
Uses Relationship
• When a use case uses
another process, the
relationship can be shown
with the uses relationship
• This is shown as a solid line
with a closed arrow point
and the <<uses>> keyword
• Here different system
processes can use the
logon use case voucher
28
Include Relationship
• Include relationships insert
additional behavior into a
base use case
• They are shown as a
dotted line with an open
arrow and the key word
<<include>>
29
Use Case Example: Alarm Clock
This is a contrived
example, to show
many relations.
Your diagrams
should be simpler.
31
Overview
• A use case
diagram
identifies
transactions
between actors
and a system as
individual use
cases

More Related Content

What's hot

Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramAshesh R
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagramRahul Pola
 
Lecture 16 requirements modeling - scenario, information and analysis classes
Lecture 16   requirements modeling - scenario, information and analysis classesLecture 16   requirements modeling - scenario, information and analysis classes
Lecture 16 requirements modeling - scenario, information and analysis classesIIUI
 
OOSDLC.pptx
OOSDLC.pptxOOSDLC.pptx
OOSDLC.pptxRAJESH S
 
UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionCherryBerry2
 
Unified process model
Unified process modelUnified process model
Unified process modelRyndaMaala
 
1. introduction to uml
1. introduction to uml1. introduction to uml
1. introduction to umlPRABU M
 
Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS) Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS) Abhilasha Lahigude
 
Schemas for multidimensional databases
Schemas for multidimensional databasesSchemas for multidimensional databases
Schemas for multidimensional databasesyazad dumasia
 
Darshan sem4 140703_ooad_2014 (diagrams)
Darshan sem4 140703_ooad_2014 (diagrams)Darshan sem4 140703_ooad_2014 (diagrams)
Darshan sem4 140703_ooad_2014 (diagrams)Gajeshwar Bahekar
 
Modelling and evaluation
Modelling and evaluationModelling and evaluation
Modelling and evaluationeShikshak
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramNikhil Pandit
 

What's hot (20)

Sequence diagrams
Sequence diagramsSequence diagrams
Sequence diagrams
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Diagrams
DiagramsDiagrams
Diagrams
 
Class diagrams
Class diagramsClass diagrams
Class diagrams
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Lecture 16 requirements modeling - scenario, information and analysis classes
Lecture 16   requirements modeling - scenario, information and analysis classesLecture 16   requirements modeling - scenario, information and analysis classes
Lecture 16 requirements modeling - scenario, information and analysis classes
 
OOSDLC.pptx
OOSDLC.pptxOOSDLC.pptx
OOSDLC.pptx
 
Presentation on uml
Presentation on umlPresentation on uml
Presentation on uml
 
Unified process Model
Unified process ModelUnified process Model
Unified process Model
 
UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussion
 
Unified process model
Unified process modelUnified process model
Unified process model
 
1. introduction to uml
1. introduction to uml1. introduction to uml
1. introduction to uml
 
Odbms concepts
Odbms conceptsOdbms concepts
Odbms concepts
 
Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS) Leave Management System: Software Requirements Specification Document(SRS)
Leave Management System: Software Requirements Specification Document(SRS)
 
Schemas for multidimensional databases
Schemas for multidimensional databasesSchemas for multidimensional databases
Schemas for multidimensional databases
 
Darshan sem4 140703_ooad_2014 (diagrams)
Darshan sem4 140703_ooad_2014 (diagrams)Darshan sem4 140703_ooad_2014 (diagrams)
Darshan sem4 140703_ooad_2014 (diagrams)
 
Modelling and evaluation
Modelling and evaluationModelling and evaluation
Modelling and evaluation
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence Diagram
 

Similar to Final use case (1)

conversion-gate02.pptx
conversion-gate02.pptxconversion-gate02.pptx
conversion-gate02.pptxNouraBaccar1
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramKumar
 
Use Case Diagram.pptx
Use Case Diagram.pptxUse Case Diagram.pptx
Use Case Diagram.pptxGenta Sahuri
 
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
 
SE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfSE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfAZKANAAZ1
 
Use Case Model with components in software.ppt
Use Case Model with components in software.pptUse Case Model with components in software.ppt
Use Case Model with components in software.pptTalhaTajammal1
 
06 RE_use case diagm1.ppt
06 RE_use case diagm1.ppt06 RE_use case diagm1.ppt
06 RE_use case diagm1.pptaqsasarfraz11
 
use_case+use_case description.pptx
use_case+use_case description.pptxuse_case+use_case description.pptx
use_case+use_case description.pptxAqeelAbbas94
 
SDLC. BA Role
SDLC. BA RoleSDLC. BA Role
SDLC. BA Roleeleksdev
 
Data Flow Diagram and USe Case Diagram
Data Flow Diagram and USe Case DiagramData Flow Diagram and USe Case Diagram
Data Flow Diagram and USe Case DiagramKumar
 
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
 
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
 
usecase (1).pptx
usecase (1).pptxusecase (1).pptx
usecase (1).pptxNadir438180
 
OOAD U1.pptx
OOAD U1.pptxOOAD U1.pptx
OOAD U1.pptxanguraju1
 
Lecture_four-_Requirements_Modeling (1).pptx
Lecture_four-_Requirements_Modeling (1).pptxLecture_four-_Requirements_Modeling (1).pptx
Lecture_four-_Requirements_Modeling (1).pptxGracePeter10
 

Similar to Final use case (1) (20)

Use case modeling
Use case modelingUse case modeling
Use case modeling
 
Use case Diagram
Use case DiagramUse case Diagram
Use case Diagram
 
conversion-gate02.pptx
conversion-gate02.pptxconversion-gate02.pptx
conversion-gate02.pptx
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Use Case Diagram.pptx
Use Case Diagram.pptxUse Case Diagram.pptx
Use Case Diagram.pptx
 
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
 
SE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfSE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdf
 
2.1 usecase diagram
2.1 usecase diagram2.1 usecase diagram
2.1 usecase diagram
 
Use Case Model with components in software.ppt
Use Case Model with components in software.pptUse Case Model with components in software.ppt
Use Case Model with components in software.ppt
 
06 RE_use case diagm1.ppt
06 RE_use case diagm1.ppt06 RE_use case diagm1.ppt
06 RE_use case diagm1.ppt
 
use_case+use_case description.pptx
use_case+use_case description.pptxuse_case+use_case description.pptx
use_case+use_case description.pptx
 
SDLC. BA Role
SDLC. BA RoleSDLC. BA Role
SDLC. BA Role
 
Data Flow Diagram and USe Case Diagram
Data Flow Diagram and USe Case DiagramData Flow Diagram and USe Case Diagram
Data Flow Diagram and USe Case Diagram
 
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
 
chapter_5_5.ppt
chapter_5_5.pptchapter_5_5.ppt
chapter_5_5.ppt
 
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
 
usecase (1).pptx
usecase (1).pptxusecase (1).pptx
usecase (1).pptx
 
Use cases
Use casesUse cases
Use cases
 
OOAD U1.pptx
OOAD U1.pptxOOAD U1.pptx
OOAD U1.pptx
 
Lecture_four-_Requirements_Modeling (1).pptx
Lecture_four-_Requirements_Modeling (1).pptxLecture_four-_Requirements_Modeling (1).pptx
Lecture_four-_Requirements_Modeling (1).pptx
 

Recently uploaded

Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...lizamodels9
 
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCRsoniya singh
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsApsara Of India
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechNewman George Leech
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
Pitch Deck Teardown: NOQX's $200k Pre-seed deck
Pitch Deck Teardown: NOQX's $200k Pre-seed deckPitch Deck Teardown: NOQX's $200k Pre-seed deck
Pitch Deck Teardown: NOQX's $200k Pre-seed deckHajeJanKamps
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024christinemoorman
 
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCRsoniya singh
 
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfmuskan1121w
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailAriel592675
 
NewBase 22 April 2024 Energy News issue - 1718 by Khaled Al Awadi (AutoRe...
NewBase  22 April  2024  Energy News issue - 1718 by Khaled Al Awadi  (AutoRe...NewBase  22 April  2024  Energy News issue - 1718 by Khaled Al Awadi  (AutoRe...
NewBase 22 April 2024 Energy News issue - 1718 by Khaled Al Awadi (AutoRe...Khaled Al Awadi
 
Islamabad Escorts | Call 03274100048 | Escort Service in Islamabad
Islamabad Escorts | Call 03274100048 | Escort Service in IslamabadIslamabad Escorts | Call 03274100048 | Escort Service in Islamabad
Islamabad Escorts | Call 03274100048 | Escort Service in IslamabadAyesha Khan
 
Call Girls In ⇛⇛Chhatarpur⇚⇚. Brings Offer Delhi Contact Us 8377877756
Call Girls In ⇛⇛Chhatarpur⇚⇚. Brings Offer Delhi Contact Us 8377877756Call Girls In ⇛⇛Chhatarpur⇚⇚. Brings Offer Delhi Contact Us 8377877756
Call Girls In ⇛⇛Chhatarpur⇚⇚. Brings Offer Delhi Contact Us 8377877756dollysharma2066
 
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...lizamodels9
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessAggregage
 

Recently uploaded (20)

Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
 
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Mahipalpur 🔝 Delhi NCR
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman Leech
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
Pitch Deck Teardown: NOQX's $200k Pre-seed deck
Pitch Deck Teardown: NOQX's $200k Pre-seed deckPitch Deck Teardown: NOQX's $200k Pre-seed deck
Pitch Deck Teardown: NOQX's $200k Pre-seed deck
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024
 
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
(8264348440) 🔝 Call Girls In Keshav Puram 🔝 Delhi NCR
 
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In BELLMONT HOTEL ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdf
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
Best Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting PartnershipBest Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting Partnership
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detail
 
NewBase 22 April 2024 Energy News issue - 1718 by Khaled Al Awadi (AutoRe...
NewBase  22 April  2024  Energy News issue - 1718 by Khaled Al Awadi  (AutoRe...NewBase  22 April  2024  Energy News issue - 1718 by Khaled Al Awadi  (AutoRe...
NewBase 22 April 2024 Energy News issue - 1718 by Khaled Al Awadi (AutoRe...
 
Islamabad Escorts | Call 03274100048 | Escort Service in Islamabad
Islamabad Escorts | Call 03274100048 | Escort Service in IslamabadIslamabad Escorts | Call 03274100048 | Escort Service in Islamabad
Islamabad Escorts | Call 03274100048 | Escort Service in Islamabad
 
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCREnjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
 
Call Girls In ⇛⇛Chhatarpur⇚⇚. Brings Offer Delhi Contact Us 8377877756
Call Girls In ⇛⇛Chhatarpur⇚⇚. Brings Offer Delhi Contact Us 8377877756Call Girls In ⇛⇛Chhatarpur⇚⇚. Brings Offer Delhi Contact Us 8377877756
Call Girls In ⇛⇛Chhatarpur⇚⇚. Brings Offer Delhi Contact Us 8377877756
 
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for Success
 

Final use case (1)

  • 2. A Bridge 2 system description analysis model design model Writing the Software Specification Everyone knew exactly what had to be done until someone wrote it down!
  • 3. Elements of the Analysis Model
  • 4. Elements of the Analysis Model Contd. 4 Use case text Use case diagrams Activity diagrams Swim lane diagrams Scenario-based modeling Class diagrams Analysis packages CRC models Collaboration diagrams Class-based modeling Data structure diagrams Data flow diagrams Control-flow diagrams Processing narratives Flow-oriented modeling State diagrams Sequence diagrams Behavioral modeling Structured AnalysisObject-oriented Analysis
  • 5. Elements of the Analysis Model Contd. • Flow-oriented modeling – provides an indication of how data objects are transformed by a set of processing functions • Scenario-based modeling – represents the system from the user's point of view • Class-based modeling – defines objects, attributes, and relationships • Behavioral modeling – depicts the states of the classes and the impact of events on these states 5
  • 6. Overall Objectives of Analysis Model • Three primary objectives – To describe what the customer requires – To establish a basis for the creation of a software design – To define a set of requirements that can be validated once the software is built • All elements of an analysis model are directly traceable to parts of the design model, and some parts overlap. 6
  • 8. Textual Use Cases • Use cases are a type of textual requirements specification that capture how a user will interact with a solution to achieve a specific goal. • They describe the step by step process a user goes through to complete that goal using a software system. • Use cases capture all the possible ways the user and system can interact that result in the user achieving the goal. • They also capture all the things that can go wrong along the way that prevent the user from achieving the goal.
  • 9. Use cases elements Use cases contain the following elements: Name – A clear verb-noun descriptor that communicates the scope of the use case. Goal – A brief paragraph of text describing the scope of the use case. Actors – A list of the types of users who can engage in the activities described in the use case. Actor names should not correspond to job titles. – Primary Actor – Supporting Actor/ Secondary Actor – Off-Stage Actor / Secondary Actor Precondition/s – Anything the solution can assume to be true when the use case begins.
  • 10. Use cases elements contd. Basic Flow – The set of steps the actors take to accomplish the goal of the use case. A clear description of what the system does in response to each user action. Alternate Flows – Capture the less common user/system interactions, such as being on a new computer and answering a security question. Exception Flows – The things that can happen that prevent the user from achieving their goal, such as providing an incorrect username and password. Post Condition/s – Anything that must be true when the use case is complete.
  • 11. Golden Rule of Use-Case Names • Each use case should have a name that indicates what value (or goal) is achieved by the actor's interaction with the system • Here are some good questions to help you adhere to this rule: – Why would the actor initiate this interaction with the system? What goal does the actor have in mind when undertaking these actions? What value is achieved and for which actor? 11
  • 12. Use Case Name Examples • Excellent - Purchase Concert Ticket • Very Good - Purchase Concert Tickets • Good - Purchase Ticket (insufficient detail) • Fair - Ticket Purchase (passive) • Poor - Ticket Order (system view, not user) • Unacceptable - Pay for Ticket (procedure, not process) 12
  • 13. Types of Actors • Primary Actor – Has goals to be fulfilled by system • Supporting/Secondary Actor – Provides service to the system • Offstage Actor/Secondary – Interested in the behavior, but no contribution • In diagrams, Primary actors go on the left and others on the right. 13
  • 14. Descriptive Use-Case UC-ID: 001 Use-case Name: Login Goal: Librarian has to login the system to perform different transactions Primary Actor: Librarian Secondary Actor: University, Student Pre-condition: System is working properly Main Success Scenario: Post condition: Librarian is able to perform different other transactions. Actor Action System Response 1. User enters user name. 2. User enters password. 3. System validates the username and password.
  • 15. 15 USE CASE : Process Sale (FULLY DRESSED VERSION) • Primary Actor: Cashier • Stakeholders and Interests:  Cashier: Wants accurate and fast entry, no payment errors, …  Salesperson: Wants sales commissions updated. … • Preconditions: Cashier is identified and authenticated.
  • 16. Main success scenario (or basic flow): Actor Action System Response 1.The Customer arrives at a POS checkout with items to purchase. 2.The cashier records the identifier for each item. If there is more than one of the same item, the Cashier can enter the quantity as well. 3.The system determines the item price and adds the item information to the running sales transaction. The description and the price of the current item are presented. 4.On completion of item entry, the Cashier indicates to the POS system that item entry is complete. 5.The System calculates and presents the sale total. 6.The Cashier tells the customer the total. The Customer gives a cash payment (“cash tendered”) possibly greater than
  • 17. 17 Use case (contd…) • Extensions (or alternative flows): • Success Guarantee (Post conditions): Sale is saved. Tax correctly calculated.… Actor Action System Response If invalid identifier entered. Indicate error. If customer didn’t have enough cash cancel sales transaction.
  • 19. 19 Actor • An actor is an idealized user of a system. • Actors can be users, processes, and other systems • Many users can be one actor, in a common role. • One user can be different actors, based on different roles. • An actor is labeled with the name of the role
  • 20. 20 Non-human Actor • Actors can be users, processes, and other systems. • Show non human actors in a different manner, usually as a rectangle • Non human actors are usually not primary users, and thus are usually shown on the right, not the left. Inventory System
  • 21. 21 Use Case • A use case is a coherent unit of externally visible functionality provided by a system and expressed by a sequence of messages • Additional behavior can be shown with parent-child, extend and include use cases • It is labeled with a name that the user can understand
  • 22. 22 System • A system is shown as a rectangle, labeled with the system name • Actors are outside the system • Use cases are inside the system • The rectangle shows the scope or boundary of the system Don’t forget the boundary and the system name, unless you are using Rational Rose!
  • 23. 23 Association Relationship • An association is the communication path between an actor and the use case that it participates in • It is shown as a solid line • It does not have an arrow, and is normally read from left to right • Here, the association is between a Modeler and the Create Model use case
  • 24. 24 Relationships in Use Cases • There are several Use Case relationships: • Association • Extend • Generalization • Uses • Include Most Use Cases have only associations. Use other relationships sparingly.
  • 25. 25 Extend Relationship • Extend puts additional behavior in a use case that does not know about it. • It is shown as a dotted line with an arrow point and labeled <<extend>> • In this case, a customer can request a catalog when placing an order
  • 26. 26 Use Case Generalization • Generalization is a relationship between a general use case and a more specific use case that inherits and extends features to it • It is shown as a solid line with a closed arrow point • Here, the payment process is modified for cash and charge cards
  • 27. 27 Uses Relationship • When a use case uses another process, the relationship can be shown with the uses relationship • This is shown as a solid line with a closed arrow point and the <<uses>> keyword • Here different system processes can use the logon use case voucher
  • 28. 28 Include Relationship • Include relationships insert additional behavior into a base use case • They are shown as a dotted line with an open arrow and the key word <<include>>
  • 29. 29 Use Case Example: Alarm Clock This is a contrived example, to show many relations. Your diagrams should be simpler.
  • 30.
  • 31. 31 Overview • A use case diagram identifies transactions between actors and a system as individual use cases