SlideShare a Scribd company logo
1 of 48
Object Oriented Software Modeling and Design  CE 350 Abdel-Karim Al-Tamimi, Ph.D. [email_address] http://faculty.yu.edu.jo/altamimi Al-Tamimi 2011 ©
Overview ,[object Object],Al-Tamimi 2011 ©
Use-Case Diagrams Al-Tamimi 2011 ©
Why We Use Use-case Diagrams Al-Tamimi 2011 ©
Why We Use Use-case Diagrams ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Why We Use Use-case Diagrams ,[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Use-Case Diagram ,[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Use-Case Diagram: Actors ,[object Object],[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Use-Case Diagram: Actors ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Use-Case Diagrams: Actors Al-Tamimi 2011 © ,[object Object],Student MasterStudent BAStudent
Use-Case Diagrams: Actors and Goals ,[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Use-case Diagram: Use-case ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
EBP Test for Use-Cases ,[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Use-Case Diagram: Use-Case Al-Tamimi 2011 ©
Use-Case Diagram: Use-Case Al-Tamimi 2011 ©
Use-Case Diagram: Use-Case Al-Tamimi 2011 ©
Use-Case Diagram: Example Al-Tamimi 2011 © Actor Association System boundary Use-case System name
Use-Case Diagram: Example ,[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Use-Case Diagram: Example Al-Tamimi 2011 ©
Structuring Use-cases with Relationships ,[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Structuring Use-cases with Relationships Al-Tamimi 2011 © ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Common Behavior
Structuring Use-cases with Relationships Al-Tamimi 2011 © ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The <<include>> Relationship ,[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
The <<include>> Relationship Al-Tamimi 2011 © Login Account  (Included use case) Withdraw Money  (Base use case)
The <<include>> Relationship ,[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
The <<include>> Relationship: Example Al-Tamimi 2011 ©
The <<include>> Relationship: Example Al-Tamimi 2011 ©
The <<extend>> Relationship ,[object Object],[object Object],Al-Tamimi 2011 ©
The <<extend>> Relationship ,[object Object],[object Object],Al-Tamimi 2011 ©
The <<extend>> Relationship ,[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
The <<extend>> Relationship Al-Tamimi 2011 © Process Excess Amount  (Extending use case) Withdraw Money  (Base use case) If conditional guard is true, extending flow is executed
The <<extend>> Relationship ,[object Object],Al-Tamimi 2011 ©
The <<extend>> Relationship ,[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
The <<extend>> Relationship Al-Tamimi 2011 ©
The <<extend>> Relationship Al-Tamimi 2011 ©
The <<extend>> Relationship Al-Tamimi 2011 ©
Al-Tamimi 2011 ©
The Generalization Relationship ,[object Object],[object Object],[object Object],[object Object]
The Generalization Relationship
The Generalization Relationship
Use-Case Scope ,[object Object],[object Object],[object Object]
Base Use-Case vs. Abstract Use-Case   ,[object Object],[object Object],[object Object]
Use-Case Scope
Use-Case Scope
Summary of Notations Construct  Description Notation Use-case A sequence of transactions performed by a system that produces a measurable result for a particular actor Actor A coherent set of roles that users play when interacting with these use cases System Boundary The boundary between the physical system and the actors who interact with the physical system
Summary of Notations Construct  Description Notation Association The participation of an actor in a use case, i.e. an instance of an actor and instances of a use case communicating with each other Generalization A taxonomic relationship between a general use case and a more specific use case. The arrow head points to the general use case Extend A relationship between an  extension use case  and a  base use case, specifying how the  behavior of the extension use case can be inserted into the behavior defined for the base use case.  The arrow head points to the base use case
Summary of Notations Construct  Description Notation Include A relationship between a  base use case and  an  inclusion use case, specifying how the  behavior for the inclusion use case is inserted into the behavior defined for the base use case.  The arrow head points to the inclusion use case
Resources ,[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©

More Related Content

Similar to Lecture04- Use Case Diagrams

Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
Mir Majid
 

Similar to Lecture04- Use Case Diagrams (20)

Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
 
Lecture09
Lecture09Lecture09
Lecture09
 
Lecture05
Lecture05Lecture05
Lecture05
 
Lecture05
Lecture05Lecture05
Lecture05
 
Lecture05
Lecture05Lecture05
Lecture05
 
Lecture07
Lecture07Lecture07
Lecture07
 
Jar chapter 3
Jar chapter 3Jar chapter 3
Jar chapter 3
 
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
 
Lesson02_Use Case Diagrams
Lesson02_Use Case DiagramsLesson02_Use Case Diagrams
Lesson02_Use Case Diagrams
 
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
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Use Case UML Diagram
Use Case UML DiagramUse Case UML Diagram
Use Case UML Diagram
 
Use case modeling
Use case modelingUse case modeling
Use case modeling
 
Uml intro
Uml introUml intro
Uml intro
 
Use Case Analysis and Diagramming
 Use Case Analysis and Diagramming Use Case Analysis and Diagramming
Use Case Analysis and Diagramming
 
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 Modeling
Use Case ModelingUse Case Modeling
Use Case Modeling
 

More from artgreen (8)

Lecture12
Lecture12Lecture12
Lecture12
 
Ce350 class project_spring2011_v1.5
Ce350 class project_spring2011_v1.5Ce350 class project_spring2011_v1.5
Ce350 class project_spring2011_v1.5
 
Lecture11
Lecture11Lecture11
Lecture11
 
Lecture10
Lecture10Lecture10
Lecture10
 
Lecture08 examples
Lecture08 examplesLecture08 examples
Lecture08 examples
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
 
Lecture-03 Introduction to UML
Lecture-03 Introduction to UMLLecture-03 Introduction to UML
Lecture-03 Introduction to UML
 
Lecture01
Lecture01Lecture01
Lecture01
 

Recently uploaded

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
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
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

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
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
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
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
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
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .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...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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.
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 

Lecture04- Use Case Diagrams