SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Use Case Diagram Examples

Created by using Visual Paradigm 10.2
1
Use Cases Management

● Rank Use Cases

● The rank of a Use Case is determined by looking at its
business value
● Ranking Levels: High, Medium, Low

2
Use Cases Management

● Prioritize Use Cases

● Is to determine which Use Case(s) to work on first
● The priority of a Use Case is determined by factors
following:
● Business Value of Use Case
● Availability of developers
● Dependency between Use Case
● List of risk

3
Use Cases Management

● Setting Use Cases’ status

● The status of a Use Case is about how much the use
case is completed

4
Use Case Specification

● Flow of Events

● Describe the scenarios of Use Case
● Example:
● Use Case: Buy Book
1. loop
1.1 Browse book details
1.2 Add the book to shopping cart
until finish shopping
2. Member call check out
3. List out books in shopping cart
extension 3.1 Change quantity of books
3.2 Confirm books to buy
4. Request shipping details …
5
Use Case Specification

● Keywords for defining flow of events
extension: Enter extension for the selected step.
if: Enter conditional situation for the selected step.
else
if:
Insert
another
situation
under
If.
else: Insert it to control If and Else if.
clear control, go to previous condition and go to end.
while: Perform some actions as long as the condition
stated
in
the
while
clause
is
valid.
for each: Perform some actions by walking through each
item
as
stated
by
the
for
each
clause.
loop until: Perform some actions until condition stated in
loop
remaining
valid.
exit:
Exit
in
the
middle
of
loop.
jump: Insert jump to manipulate the sub-step after the
variable situation happened
6
UML Diagram

Diagram III
Sequence Diagram
● What

is Lifeline? Messages?
Fragments?
● Sequence Diagram elements

Combine

7
Sequence Diagram

● A Sequence Diagram models the collaboration of
objects based on a time sequence. It shows how
the objects interact with others in a particular
scenario of a use case.

8
Sequence Diagram

● Elements

● Lifeline
● A lifeline represents an individual participant in the
interaction.
● A lifeline may represent an Actor, an Object, an
Entity, a Control, a Boundary
● Notation:

9
Sequence Diagram

● Elements

● Message
● A message defines a particular communication
between Lifelines of an Interaction.
● Types of messages: Send message, Self
message, Return message, Call message, etc.
● Notation:

10
Sequence Diagram

● Elements

● Alternative Combined Fragment
● An alternative combined fragment represents a
choice of behavior. At most one of the operands will
be chosen.
● Notation:

11
Sequence Diagram

● Elements

● Loop Combined Fragment
● A loop combined fragment represents a loop. The
loop operand will be repeated a number of times.
● Notation:

12
Sequence Diagram

13

Weitere ähnliche Inhalte

Andere mochten auch

Andere mochten auch (8)

Bai giang-uml-14jan14
Bai giang-uml-14jan14Bai giang-uml-14jan14
Bai giang-uml-14jan14
 
Bao tri-phan-mem-for-56 pm
Bao tri-phan-mem-for-56 pmBao tri-phan-mem-for-56 pm
Bao tri-phan-mem-for-56 pm
 
Bai giang-se-20feb14
Bai giang-se-20feb14Bai giang-se-20feb14
Bai giang-se-20feb14
 
Bai giang-se-17feb14
Bai giang-se-17feb14Bai giang-se-17feb14
Bai giang-se-17feb14
 
TÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀM
TÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀMTÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀM
TÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀM
 
TÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀM
TÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀMTÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀM
TÌM HIỂU CÁC KỸ THUẬT KIỂM THỬ PHẦN MỀM
 
Bai giang-se-13feb14
Bai giang-se-13feb14Bai giang-se-13feb14
Bai giang-se-13feb14
 
Final project report of a game
Final project report of a gameFinal project report of a game
Final project report of a game
 

Ähnlich wie Bai giang-uml-18feb14

Rules for Fools: The Rules Module
Rules for Fools: The Rules ModuleRules for Fools: The Rules Module
Rules for Fools: The Rules Module
Will Hall
 
Ch. 3.pdf
Ch. 3.pdfCh. 3.pdf
Ch. 3.pdf
RajniSavaliya
 
The Power Of Event Chapter 7
The Power Of Event Chapter 7The Power Of Event Chapter 7
The Power Of Event Chapter 7
Woojin Joe
 
The Power Of Event Chapter 6
The Power Of Event Chapter 6The Power Of Event Chapter 6
The Power Of Event Chapter 6
Woojin Joe
 

Ähnlich wie Bai giang-uml-18feb14 (20)

Unit three Advanced State Modelling
Unit three Advanced State ModellingUnit three Advanced State Modelling
Unit three Advanced State Modelling
 
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
 
React learning in the hard way
React   learning in the hard wayReact   learning in the hard way
React learning in the hard way
 
User stories — how to cook a cat?
User stories — how to cook a cat?User stories — how to cook a cat?
User stories — how to cook a cat?
 
Rules for Fools: The Rules Module
Rules for Fools: The Rules ModuleRules for Fools: The Rules Module
Rules for Fools: The Rules Module
 
Ch. 3.pdf
Ch. 3.pdfCh. 3.pdf
Ch. 3.pdf
 
Unit iv -Transactions
Unit iv -TransactionsUnit iv -Transactions
Unit iv -Transactions
 
Redux workshop
Redux workshopRedux workshop
Redux workshop
 
React more than just components
React   more than just componentsReact   more than just components
React more than just components
 
Chap - 2 - Event Handling.pptx
Chap - 2 - Event Handling.pptxChap - 2 - Event Handling.pptx
Chap - 2 - Event Handling.pptx
 
The Power Of Event Chapter 7
The Power Of Event Chapter 7The Power Of Event Chapter 7
The Power Of Event Chapter 7
 
Form personalization
Form personalization Form personalization
Form personalization
 
Unit 3(advanced state modeling & interaction meodelling)
Unit  3(advanced state modeling & interaction meodelling)Unit  3(advanced state modeling & interaction meodelling)
Unit 3(advanced state modeling & interaction meodelling)
 
3 interaction and_state_modeling
3 interaction and_state_modeling3 interaction and_state_modeling
3 interaction and_state_modeling
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Conjoint Analysis
Conjoint AnalysisConjoint Analysis
Conjoint Analysis
 
Part 1 A Simple Introduction to Complex Event Processing
Part 1 A Simple Introduction to Complex Event ProcessingPart 1 A Simple Introduction to Complex Event Processing
Part 1 A Simple Introduction to Complex Event Processing
 
Software System Engineering - Chapter 14
Software System Engineering - Chapter 14Software System Engineering - Chapter 14
Software System Engineering - Chapter 14
 
The Power Of Event Chapter 6
The Power Of Event Chapter 6The Power Of Event Chapter 6
The Power Of Event Chapter 6
 
Observer Design Pattern to Observe Something
Observer Design Pattern to Observe SomethingObserver Design Pattern to Observe Something
Observer Design Pattern to Observe Something
 

Mehr von TRAN Khanh Dung, Khoa CNTT, Đại Học Xây Dựng

Mehr von TRAN Khanh Dung, Khoa CNTT, Đại Học Xây Dựng (18)

Unified Modelling Language
Unified Modelling Language Unified Modelling Language
Unified Modelling Language
 
Software Project management
Software Project managementSoftware Project management
Software Project management
 
Slides môn Công nghệ phần mềm Software Engineering
Slides môn Công nghệ phần mềm Software EngineeringSlides môn Công nghệ phần mềm Software Engineering
Slides môn Công nghệ phần mềm Software Engineering
 
Bai giang-se-06mar14
Bai giang-se-06mar14Bai giang-se-06mar14
Bai giang-se-06mar14
 
Bai giang-se-03mar14
Bai giang-se-03mar14Bai giang-se-03mar14
Bai giang-se-03mar14
 
Bai giang-spm-11mar14
Bai giang-spm-11mar14Bai giang-spm-11mar14
Bai giang-spm-11mar14
 
Bai giang-spm-06mar14
Bai giang-spm-06mar14Bai giang-spm-06mar14
Bai giang-spm-06mar14
 
Bai giang-uml-25-27feb14
Bai giang-uml-25-27feb14Bai giang-uml-25-27feb14
Bai giang-uml-25-27feb14
 
Bai giang-se-27feb14
Bai giang-se-27feb14Bai giang-se-27feb14
Bai giang-se-27feb14
 
Bai giang-se-24feb14
Bai giang-se-24feb14Bai giang-se-24feb14
Bai giang-se-24feb14
 
Bai giang-spm-13feb14
Bai giang-spm-13feb14Bai giang-spm-13feb14
Bai giang-spm-13feb14
 
Bai giang-se-10feb14
Bai giang-se-10feb14Bai giang-se-10feb14
Bai giang-se-10feb14
 
Bai giang-uml-11feb14
Bai giang-uml-11feb14Bai giang-uml-11feb14
Bai giang-uml-11feb14
 
Bai giang-uml-21jan14
Bai giang-uml-21jan14Bai giang-uml-21jan14
Bai giang-uml-21jan14
 
Bai giang-se-20jan14
Bai giang-se-20jan14Bai giang-se-20jan14
Bai giang-se-20jan14
 
Bai giang-spm-16jan14
Bai giang-spm-16jan14Bai giang-spm-16jan14
Bai giang-spm-16jan14
 
Bai giang-se-16jan14
Bai giang-se-16jan14Bai giang-se-16jan14
Bai giang-se-16jan14
 
Bai giang-se-13jan14
Bai giang-se-13jan14Bai giang-se-13jan14
Bai giang-se-13jan14
 

Kürzlich hochgeladen

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Kürzlich hochgeladen (20)

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 

Bai giang-uml-18feb14

  • 1. Use Case Diagram Examples Created by using Visual Paradigm 10.2 1
  • 2. Use Cases Management ● Rank Use Cases ● The rank of a Use Case is determined by looking at its business value ● Ranking Levels: High, Medium, Low 2
  • 3. Use Cases Management ● Prioritize Use Cases ● Is to determine which Use Case(s) to work on first ● The priority of a Use Case is determined by factors following: ● Business Value of Use Case ● Availability of developers ● Dependency between Use Case ● List of risk 3
  • 4. Use Cases Management ● Setting Use Cases’ status ● The status of a Use Case is about how much the use case is completed 4
  • 5. Use Case Specification ● Flow of Events ● Describe the scenarios of Use Case ● Example: ● Use Case: Buy Book 1. loop 1.1 Browse book details 1.2 Add the book to shopping cart until finish shopping 2. Member call check out 3. List out books in shopping cart extension 3.1 Change quantity of books 3.2 Confirm books to buy 4. Request shipping details … 5
  • 6. Use Case Specification ● Keywords for defining flow of events extension: Enter extension for the selected step. if: Enter conditional situation for the selected step. else if: Insert another situation under If. else: Insert it to control If and Else if. clear control, go to previous condition and go to end. while: Perform some actions as long as the condition stated in the while clause is valid. for each: Perform some actions by walking through each item as stated by the for each clause. loop until: Perform some actions until condition stated in loop remaining valid. exit: Exit in the middle of loop. jump: Insert jump to manipulate the sub-step after the variable situation happened 6
  • 7. UML Diagram Diagram III Sequence Diagram ● What is Lifeline? Messages? Fragments? ● Sequence Diagram elements Combine 7
  • 8. Sequence Diagram ● A Sequence Diagram models the collaboration of objects based on a time sequence. It shows how the objects interact with others in a particular scenario of a use case. 8
  • 9. Sequence Diagram ● Elements ● Lifeline ● A lifeline represents an individual participant in the interaction. ● A lifeline may represent an Actor, an Object, an Entity, a Control, a Boundary ● Notation: 9
  • 10. Sequence Diagram ● Elements ● Message ● A message defines a particular communication between Lifelines of an Interaction. ● Types of messages: Send message, Self message, Return message, Call message, etc. ● Notation: 10
  • 11. Sequence Diagram ● Elements ● Alternative Combined Fragment ● An alternative combined fragment represents a choice of behavior. At most one of the operands will be chosen. ● Notation: 11
  • 12. Sequence Diagram ● Elements ● Loop Combined Fragment ● A loop combined fragment represents a loop. The loop operand will be repeated a number of times. ● Notation: 12