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

會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
中 央社
 
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
Krashi Coaching
 

Kürzlich hochgeladen (20)

diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024
 
Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
Chapter 7 Pharmacosy Traditional System of Medicine & Ayurvedic Preparations ...
Chapter 7 Pharmacosy Traditional System of Medicine & Ayurvedic Preparations ...Chapter 7 Pharmacosy Traditional System of Medicine & Ayurvedic Preparations ...
Chapter 7 Pharmacosy Traditional System of Medicine & Ayurvedic Preparations ...
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
demyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptxdemyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptx
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
MSc Ag Genetics & Plant Breeding: Insights from Previous Year JNKVV Entrance ...
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
Benefits and Challenges of OER by Shweta Babel.pptx
Benefits and Challenges of OER by Shweta Babel.pptxBenefits and Challenges of OER by Shweta Babel.pptx
Benefits and Challenges of OER by Shweta Babel.pptx
 
Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/
 

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