尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
Use Case Diagram
Object Oriented Design and Analysis
Introduction
Object Oriented Design and Analysis
Use-cases are descriptions of the functionality of a system
from a user perspective.
 Depict the behaviour of the system, as it appears to an outside
user.
Describe the functionality and users (actors) of the system.

 Show the relationships between the actors that use the
the
system, the use cases (functionality)
relationship between different use cases.
Document the scope of the system.
they use, and

 Illustrate the developer’s understanding
requirements.
of the user’s
Use Case Diagram, purpose
• Use case models are developed at different levels of abstraction
– system, system component, or a class.
Use case modelling is an iterative and incremental process.
– If user requirements change, the changes should be made in all the
affected documents.
•
Class
diagrams
Activity
diagrams
Sequence
diagrams
Statechart
diagrams
Object Oriented Design and Analysis
Requirements
document
(text in natural language)
Use Case diagrams, basic UML notation
Use Case: A Use Case is a description of a set of
interactions between a user and the system.
Components of use case diagram:


Actor
Use case
use case name
Object Oriented Design and Analysis
use case name
use case name
Use cases: Information captured
Object Oriented Design and Analysis
• Actors
• Relationships with other use cases
• Pre-conditions
• Details
• Post-conditions
• Exceptions
• Constraints
• Alternatives
ACTOR
An actor is some one or something that must
interact with the system under development
Actors can be human or automated systems.
Actors are not part of the system.
UML notation for actor is stickman, shown below.
Student
Object Oriented Design and Analysis
Faculty Employee
ACTOR (contd..)
Object Oriented Design and Analysis
• It is role a user plays with respect to system.
• Actors carry out use cases and a single actor
may perform more than one use cases.
• Actors are determined by observing the direct
uses of the system
Primary and Secondary Actors
Object Oriented Design and Analysis
• Primary Actor
– Acts on the system
– Initiates an interaction with the system
– Uses the system to fulfill his/her goal
– Events Something we don’t have control over
Secondary Actor
– Is acted on/invoked/used by the system
– Helps the system to fulfills its goal
– Something the system uses to get its job done
•
USE CASE
What is USE case?
A use case is a pattern of behavior, the system
exhibits
The use cases are sequence of actions that the
user takes on a system to get particular target
USE CASE is dialogue between an actor and the
system.
• Examples: Add a course
Object Oriented Design and Analysis
Contd..
Object Oriented Design and Analysis
• A use case typically represents a major piece of
functionality that is complete from beginning to end.
Most of the use cases are generated in initial phase,
but may add some more after proceeding.
A use case may be small or large. It captures a broad
view of a primary functionality of the system in a
manner that can be easily grasped by non technical
user.
•
•
System Boundary
 It is shown as a rectangle.
It helps to identify what is external versus internal, and
what the responsibilities of the system are.
The external environment is represented only by actors.


Object Oriented Design and Analysis
Relationship
•
•
Relationship is an association between use case and actor.
There are several Use Case relationships:
 Association
 Extend
 Generalization
 Uses
 Include
Object Oriented Design and Analysis
Extend Relationship
The extended relationship is used to indicate that use
case completely consists of the behavior of another use
case at one or specific point
use cases that extend the behavior of other core use
cases. Enable to factor variants
The base use case implicitly incorporates the behavior of
another use case at certain points called extension
points
It is shown as a dotted line with an arrow point and
labeled <<extend>>
Login
Register
New User
<< extend>>
Object Oriented Design and Analysis
Generalization
Generalization is a relationship between a
general use case and a more specific use case
that inherits and extends features to it
use cases that are specialized versions of other
use cases
It is shown as a solid line with a hollow arrow
point
Object Oriented Design and Analysis
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 hollow arrow
point and the <<uses>> keyword
Object Oriented Design and Analysis
Include Relationship
Include relationships insert additional behavior into a
base use case
use cases that are included as parts of other use cases.
Enable to factor common behavior.
The base use case explicitly incorporates the behavior of
another use case at a location specified in the base.
They are shown as a dotted line with an open arrow and
the key word <<include>>
Object Oriented Design and Analysis
Extend vs Include
Object Oriented Design and Analysis
18
Example
place
phone call
cellular
network
user
receive
phone call
place
conference
call
receive
additional
call
use
scheduler
<<extend>>
<<extend>>
Cellular Telephone
Object Oriented Design and Analysis
Use Case Description
Object Oriented Design and Analysis
:Each use case may include all or part of the following
 Title or Reference Name - meaningful name of the UC
 Author/Date - the author and creation date
 Modification/Date - last modification and its date
 Purpose - specifies the goal to be achieved
 Overview - short description of the processes
 Cross References - requirements references
 Actors - agents participating
 Pre Conditions - must be true to allow execution
 Post Conditions - will be set when completes normally
 Normal flow of events - regular flow of activities
 Alternative flow of events - other flow of activities
 Exceptional flow of events - unusual situations
 Implementation issues - foreseen implementation problems
Example- Money Withdraw
Object Oriented Design and Analysis
•
•
•
•
•
Use Case: Withdraw Money
Author: PKD
Date: 11-09-2013
Purpose: To withdraw some cash from user’s bank account
Overview: The use case starts when the customer inserts his card
into the system. The system requests the user PIN. The system
validates the PIN. If the validation succeeded, the customer can
choose the withdraw operation else alternative 1 – validation
failure is executed. The customer enters the amount of cash to
withdraw. The system checks the amount of cash in the user
account, its credit limit. If the withdraw amount in the range
between the current amount + credit limit the system dispense
the cash and prints a withdraw receipt, else alternative 2 –
amount exceeded is executed.
Cross References: R1.1, R1.2, R7
•
•
•
Object Oriented Design and Analysis
Actors: Customer
Pre Condition:
– The ATM must be in a state ready to accept transactions
– The ATM must have at least some cash on hand that it can dispense
– The ATM must have enough paper to print a receipt for at least one
transaction
Post Condition:
– The current amount of cash in the user account is the amount before
the withdraw minus the withdraw amount
– A receipt was printed on the withdraw amount
– The withdraw transaction was audit in the System log file
•
Typical course of events
Object Oriented Design and Analysis
• Alternative flow of events:
Object Oriented Design and Analysis
– Step 3: Customer authorization failed. Display an error
message, cancel the transaction and eject the card.
– Step 8: Customer has insufficient funds in its account.
Display an error message, and go to step 6.
– Step 8: Customer exceeds its legal amount. Display an
error message, and go to step 6.
Exceptional flow of events:
– Power failure in the process of the transaction before step
9, cancel the transaction and eject the card
•

Object Oriented Design and Analysis
One method to identify use cases is actor-based:
- Identify the actors related to a system or organization.
- For each actor, identify the processes they initiate or participate in.
A second method to identify use cases is event-based:
- Identify the external events that a system must respond to.
- Relate the events to actors and use cases.
The following questions may be used to help identify the use
cases for a system:


- What are tasks of each actor ?
- Will any actor create, store, change, remove, or read information in the
system ?
- What use cases will create, store, change, remove, or read this information ?
- Will any actor need to inform the system about sudden, external changes ?
- Does any actor need to be informed about certain occurrences in the system ?
- Can all functional requirements be performed by the use cases ?

More Related Content

Similar to conversion-gate02.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
snehalkulkarni74
 
Refining The System Definition
Refining The System DefinitionRefining The System Definition
Refining The System Definition
Sandeep Ganji
 
use_case+use_case description.pptx
use_case+use_case description.pptxuse_case+use_case description.pptx
use_case+use_case description.pptx
AqeelAbbas94
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
Rahul Pola
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
Fajar Baskoro
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
mohamed tahoon
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modeling
Shahid Riaz
 
Final use case (1)
Final use case (1)Final use case (1)
Final use case (1)
03028335403
 
Defining The System
Defining The SystemDefining The System
Defining The System
Sandeep Ganji
 
OBJECT ORIENTED ANALYSIS FOR EASY UNDERSTANDING .ppt
OBJECT ORIENTED ANALYSIS FOR EASY UNDERSTANDING .pptOBJECT ORIENTED ANALYSIS FOR EASY UNDERSTANDING .ppt
OBJECT ORIENTED ANALYSIS FOR EASY UNDERSTANDING .ppt
AshishSaraswat30
 
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
Farah Ahmed
 
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
azida3
 
Use Case Modelling.pptx
Use Case Modelling.pptxUse Case Modelling.pptx
Use Case Modelling.pptx
azida3
 
Building an Information System
Building an Information SystemBuilding an Information System
Building an Information System
Jo Balucanag - Bitonio
 
Use Case Analysis and Diagramming
 Use Case Analysis and Diagramming Use Case Analysis and Diagramming
Use Case Analysis and Diagramming
Ornella Dunn
 
Use Case Diagram.pptx
Use Case Diagram.pptxUse Case Diagram.pptx
Use Case Diagram.pptx
Genta Sahuri
 
SE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesSE_Lec 08_UML Use Cases
SE_Lec 08_UML Use Cases
Amr E. Mohamed
 
SE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfSE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdf
AZKANAAZ1
 
Lecture 3 OOSE.pdf
Lecture 3 OOSE.pdfLecture 3 OOSE.pdf
Lecture 3 OOSE.pdf
amanuel236786
 
Requirement Engineering.pdf
Requirement Engineering.pdfRequirement Engineering.pdf
Requirement Engineering.pdf
Muhammad Imran
 

Similar to conversion-gate02.pptx (20)

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
 
Refining The System Definition
Refining The System DefinitionRefining The System Definition
Refining The System Definition
 
use_case+use_case description.pptx
use_case+use_case description.pptxuse_case+use_case description.pptx
use_case+use_case description.pptx
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modeling
 
Final use case (1)
Final use case (1)Final use case (1)
Final use case (1)
 
Defining The System
Defining The SystemDefining The System
Defining The System
 
OBJECT ORIENTED ANALYSIS FOR EASY UNDERSTANDING .ppt
OBJECT ORIENTED ANALYSIS FOR EASY UNDERSTANDING .pptOBJECT ORIENTED ANALYSIS FOR EASY UNDERSTANDING .ppt
OBJECT ORIENTED ANALYSIS FOR EASY UNDERSTANDING .ppt
 
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
 
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
 
Use Case Modelling.pptx
Use Case Modelling.pptxUse Case Modelling.pptx
Use Case Modelling.pptx
 
Building an Information System
Building an Information SystemBuilding an Information System
Building an Information System
 
Use Case Analysis and Diagramming
 Use Case Analysis and Diagramming Use Case Analysis and Diagramming
Use Case Analysis and Diagramming
 
Use Case Diagram.pptx
Use Case Diagram.pptxUse Case Diagram.pptx
Use Case Diagram.pptx
 
SE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesSE_Lec 08_UML Use Cases
SE_Lec 08_UML Use Cases
 
SE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfSE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdf
 
Lecture 3 OOSE.pdf
Lecture 3 OOSE.pdfLecture 3 OOSE.pdf
Lecture 3 OOSE.pdf
 
Requirement Engineering.pdf
Requirement Engineering.pdfRequirement Engineering.pdf
Requirement Engineering.pdf
 

Recently uploaded

CSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdfCSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdf
Ismail Sultan
 
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort ServiceCuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
yakranividhrini
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
paraasingh12 #V08
 
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl LucknowCall Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
yogita singh$A17
 
Data Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdfData Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdf
Kamal Acharya
 
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdfFUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
EMERSON EDUARDO RODRIGUES
 
Microsoft Azure AD architecture and features
Microsoft Azure AD architecture and featuresMicrosoft Azure AD architecture and features
Microsoft Azure AD architecture and features
ssuser381403
 
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
sonamrawat5631
 
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
IJCNCJournal
 
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptxMODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
NaveenNaveen726446
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
AK47
 
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
simrangupta87541
 
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
DharmaBanothu
 
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
Lubi Valves
 
SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
Tsuyoshi Horigome
 
Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)
Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)
Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)
Tsuyoshi Horigome
 
Cricket management system ptoject report.pdf
Cricket management system ptoject report.pdfCricket management system ptoject report.pdf
Cricket management system ptoject report.pdf
Kamal Acharya
 
Intuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sdeIntuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sde
ShivangMishra54
 
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
dABGO KI CITy kUSHINAGAR Ak47
 

Recently uploaded (20)

CSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdfCSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdf
 
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort ServiceCuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
Cuttack Call Girls 💯Call Us 🔝 7374876321 🔝 💃 Independent Female Escort Service
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
 
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl LucknowCall Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
 
Data Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdfData Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdf
 
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdfFUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
 
Microsoft Azure AD architecture and features
Microsoft Azure AD architecture and featuresMicrosoft Azure AD architecture and features
Microsoft Azure AD architecture and features
 
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
🔥Young College Call Girls Chandigarh 💯Call Us 🔝 7737669865 🔝💃Independent Chan...
 
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
 
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptxMODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
 
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
 
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
An In-Depth Exploration of Natural Language Processing: Evolution, Applicatio...
 
Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024Better Builder Magazine, Issue 49 / Spring 2024
Better Builder Magazine, Issue 49 / Spring 2024
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
 
SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
 
Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)
Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)
Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)
 
Cricket management system ptoject report.pdf
Cricket management system ptoject report.pdfCricket management system ptoject report.pdf
Cricket management system ptoject report.pdf
 
Intuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sdeIntuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sde
 
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
High Profile Call Girls Ahmedabad 🔥 7737669865 🔥 Real Fun With Sexual Girl Av...
 

conversion-gate02.pptx

  • 1. Use Case Diagram Object Oriented Design and Analysis
  • 2. Introduction Object Oriented Design and Analysis Use-cases are descriptions of the functionality of a system from a user perspective.  Depict the behaviour of the system, as it appears to an outside user. Describe the functionality and users (actors) of the system.   Show the relationships between the actors that use the the system, the use cases (functionality) relationship between different use cases. Document the scope of the system. they use, and   Illustrate the developer’s understanding requirements. of the user’s
  • 3. Use Case Diagram, purpose • Use case models are developed at different levels of abstraction – system, system component, or a class. Use case modelling is an iterative and incremental process. – If user requirements change, the changes should be made in all the affected documents. • Class diagrams Activity diagrams Sequence diagrams Statechart diagrams Object Oriented Design and Analysis Requirements document (text in natural language)
  • 4. Use Case diagrams, basic UML notation Use Case: A Use Case is a description of a set of interactions between a user and the system. Components of use case diagram:   Actor Use case use case name Object Oriented Design and Analysis use case name use case name
  • 5. Use cases: Information captured Object Oriented Design and Analysis • Actors • Relationships with other use cases • Pre-conditions • Details • Post-conditions • Exceptions • Constraints • Alternatives
  • 6. ACTOR An actor is some one or something that must interact with the system under development Actors can be human or automated systems. Actors are not part of the system. UML notation for actor is stickman, shown below. Student Object Oriented Design and Analysis Faculty Employee
  • 7. ACTOR (contd..) Object Oriented Design and Analysis • It is role a user plays with respect to system. • Actors carry out use cases and a single actor may perform more than one use cases. • Actors are determined by observing the direct uses of the system
  • 8. Primary and Secondary Actors Object Oriented Design and Analysis • Primary Actor – Acts on the system – Initiates an interaction with the system – Uses the system to fulfill his/her goal – Events Something we don’t have control over Secondary Actor – Is acted on/invoked/used by the system – Helps the system to fulfills its goal – Something the system uses to get its job done •
  • 9. USE CASE What is USE case? A use case is a pattern of behavior, the system exhibits The use cases are sequence of actions that the user takes on a system to get particular target USE CASE is dialogue between an actor and the system. • Examples: Add a course Object Oriented Design and Analysis
  • 10. Contd.. Object Oriented Design and Analysis • A use case typically represents a major piece of functionality that is complete from beginning to end. Most of the use cases are generated in initial phase, but may add some more after proceeding. A use case may be small or large. It captures a broad view of a primary functionality of the system in a manner that can be easily grasped by non technical user. • •
  • 11. System Boundary  It is shown as a rectangle. It helps to identify what is external versus internal, and what the responsibilities of the system are. The external environment is represented only by actors.   Object Oriented Design and Analysis
  • 12. Relationship • • Relationship is an association between use case and actor. There are several Use Case relationships:  Association  Extend  Generalization  Uses  Include Object Oriented Design and Analysis
  • 13. Extend Relationship The extended relationship is used to indicate that use case completely consists of the behavior of another use case at one or specific point use cases that extend the behavior of other core use cases. Enable to factor variants The base use case implicitly incorporates the behavior of another use case at certain points called extension points It is shown as a dotted line with an arrow point and labeled <<extend>> Login Register New User << extend>> Object Oriented Design and Analysis
  • 14. Generalization Generalization is a relationship between a general use case and a more specific use case that inherits and extends features to it use cases that are specialized versions of other use cases It is shown as a solid line with a hollow arrow point Object Oriented Design and Analysis
  • 15. 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 hollow arrow point and the <<uses>> keyword Object Oriented Design and Analysis
  • 16. Include Relationship Include relationships insert additional behavior into a base use case use cases that are included as parts of other use cases. Enable to factor common behavior. The base use case explicitly incorporates the behavior of another use case at a location specified in the base. They are shown as a dotted line with an open arrow and the key word <<include>> Object Oriented Design and Analysis
  • 17. Extend vs Include Object Oriented Design and Analysis
  • 19. Use Case Description Object Oriented Design and Analysis :Each use case may include all or part of the following  Title or Reference Name - meaningful name of the UC  Author/Date - the author and creation date  Modification/Date - last modification and its date  Purpose - specifies the goal to be achieved  Overview - short description of the processes  Cross References - requirements references  Actors - agents participating  Pre Conditions - must be true to allow execution  Post Conditions - will be set when completes normally  Normal flow of events - regular flow of activities  Alternative flow of events - other flow of activities  Exceptional flow of events - unusual situations  Implementation issues - foreseen implementation problems
  • 20. Example- Money Withdraw Object Oriented Design and Analysis • • • • • Use Case: Withdraw Money Author: PKD Date: 11-09-2013 Purpose: To withdraw some cash from user’s bank account Overview: The use case starts when the customer inserts his card into the system. The system requests the user PIN. The system validates the PIN. If the validation succeeded, the customer can choose the withdraw operation else alternative 1 – validation failure is executed. The customer enters the amount of cash to withdraw. The system checks the amount of cash in the user account, its credit limit. If the withdraw amount in the range between the current amount + credit limit the system dispense the cash and prints a withdraw receipt, else alternative 2 – amount exceeded is executed. Cross References: R1.1, R1.2, R7 •
  • 21. • • Object Oriented Design and Analysis Actors: Customer Pre Condition: – The ATM must be in a state ready to accept transactions – The ATM must have at least some cash on hand that it can dispense – The ATM must have enough paper to print a receipt for at least one transaction Post Condition: – The current amount of cash in the user account is the amount before the withdraw minus the withdraw amount – A receipt was printed on the withdraw amount – The withdraw transaction was audit in the System log file •
  • 22. Typical course of events Object Oriented Design and Analysis
  • 23. • Alternative flow of events: Object Oriented Design and Analysis – Step 3: Customer authorization failed. Display an error message, cancel the transaction and eject the card. – Step 8: Customer has insufficient funds in its account. Display an error message, and go to step 6. – Step 8: Customer exceeds its legal amount. Display an error message, and go to step 6. Exceptional flow of events: – Power failure in the process of the transaction before step 9, cancel the transaction and eject the card •
  • 24.  Object Oriented Design and Analysis One method to identify use cases is actor-based: - Identify the actors related to a system or organization. - For each actor, identify the processes they initiate or participate in. A second method to identify use cases is event-based: - Identify the external events that a system must respond to. - Relate the events to actors and use cases. The following questions may be used to help identify the use cases for a system:   - What are tasks of each actor ? - Will any actor create, store, change, remove, or read information in the system ? - What use cases will create, store, change, remove, or read this information ? - Will any actor need to inform the system about sudden, external changes ? - Does any actor need to be informed about certain occurrences in the system ? - Can all functional requirements be performed by the use cases ?
  翻译: