SlideShare a Scribd company logo
• Use Case diagrams
• Sequence diagram
Topic
1
Overview
• Introduction to UML(unified modeling
language).
• Use case diagrams.
• Sequence diagrams.
2
Unified modeling language
• It is a partial graphical representation of a model of a
system.
o Systems under design, implementation, or already
existing phase.
• Contains:
o Nodes
o Edges / paths
• Type of diagram is defined by Graphical symbol shown
on the diagram
o Class for class diagram
o Actors and use cases in use case diagram.
3
4
Use case
• Use case: List of actions or events, defining the
interactions between role(actors) and system.
• The actor can be a human, external system or
time.
• Defines mission and stakeholder goals.
• For example:
• Student: Take admission, attend classes, pay
fees.
5
Use case diagrams
• It consist of user’s interaction with the system
that shows the relationship between the user and
different use cases in which the user is involved.
6
Steps to be taken to build Use case diagram
• Analyze the system requirements and respectively
define the use cases of.
• Actors – consisting of people/external system
/organization.
• Relations between Actors and use cases
respectively.
7
8
Use Case Diagram for Restaurant
Use case diagrams: Advantages
• List of goal names provide summary of what the
system will offer.
• Also provide project planning skeleton.
• The extension conditions of each use case
provide a framework.
• The full use case set shows that the investigators
have thought through every user’s needs, every
goal they have with respect to the system, and
every business variant involved.
9
Use case diagrams: Limitations
• Use cases are not well suited to capturing non-
interaction based requirements of a system.
• For some products and systems, use cases are
complex to write and to understand, for both end
users and developers.
• As there are no fully standard definitions of use
cases, each project must form its own
interpretation.
10
Sequence Diagrams
• A Sequence diagram is an interaction
diagram that shows how processes operate with
one another and in what order.
• A sequence diagram shows object interactions
arranged in time sequence.
• Sequence diagrams are sometimes called event
diagrams or event scenarios.
11
12
Sequence Diagram for email service
Sequence Diagrams
• Class and object diagrams provide a static view of the
system we are modeling
• In many cases, this is not sufficient for us to truly
understand how classes interact or how the system must
respond to varied run-time states
• Therefore, UML introduces 4 types of dynamic
diagrams: Sequence diagrams, Collaboration diagrams,
State diagrams and Activity diagrams, collectively
known as Behavioral diagrams
13
How to make Sequence Diagrams
1. Pick a scenario that you want to model
2. Try to identify the objects that will be involved in the
scenario
3. Line them across the top in the approximate order that
they're (listed in the order that they are used for the
scenario)
4. Draw dotted lines down indicating lifelines
5. Identify the first event (triggering event)
6. Draw a horizontal arrow from the object that sends a
message to the object that receives it
7. identify the next event and the objects involved
8. Redo steps 6 and 7 until the diagram is complete
14
15
Sequence Diagram for fast food service
Benefits of sequence diagrams
• UML sequence diagrams help you to envision
what will happen during the execution of a use
case
• They are great to help developers and business
analysts get to a common understanding
16
References
• Wikipedia: -
• https://en.wikipedia.org/wiki/Use_Case_Diagra
m
• https://en.wikipedia.org/wiki/Sequence_diagra
m
17
Thank you

More Related Content

What's hot

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)
Manoj Reddy
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity DiagramNiloy Rocker
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
Kartik Raghuvanshi
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
Interaction Modeling
Interaction ModelingInteraction Modeling
Interaction Modeling
Hemant Sharma
 
CS8592-OOAD Lecture Notes Unit-1
CS8592-OOAD Lecture Notes Unit-1CS8592-OOAD Lecture Notes Unit-1
CS8592-OOAD Lecture Notes Unit-1
Gobinath Subramaniam
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
Raval Chirag
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
Kumar
 
CS8592-OOAD Lecture Notes Unit-3
CS8592-OOAD Lecture Notes Unit-3CS8592-OOAD Lecture Notes Unit-3
CS8592-OOAD Lecture Notes Unit-3
Gobinath Subramaniam
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
Harsh Jegadeesan
 
Domain class model
Domain class modelDomain class model
Domain class model
shekharsj
 
Introduction to UML
Introduction to UMLIntroduction to UML
Activity diagram
Activity diagramActivity diagram
Activity diagram
LOKENDRA PRAJAPATI
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
Rahul Pola
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
Ashita Agrawal
 
Class diagrams
Class diagramsClass diagrams
Class diagrams
Nadia_Nazeer
 
state modeling In UML
state modeling In UMLstate modeling In UML
state modeling In UML
Kumar
 

What's hot (20)

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)
 
Uml class-diagram
Uml class-diagramUml class-diagram
Uml class-diagram
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity Diagram
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Domain model
Domain modelDomain model
Domain model
 
Interaction Modeling
Interaction ModelingInteraction Modeling
Interaction Modeling
 
CS8592-OOAD Lecture Notes Unit-1
CS8592-OOAD Lecture Notes Unit-1CS8592-OOAD Lecture Notes Unit-1
CS8592-OOAD Lecture Notes Unit-1
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
 
CS8592-OOAD Lecture Notes Unit-3
CS8592-OOAD Lecture Notes Unit-3CS8592-OOAD Lecture Notes Unit-3
CS8592-OOAD Lecture Notes Unit-3
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
 
Domain class model
Domain class modelDomain class model
Domain class model
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
Class diagram, use case and sequence diagram
Class diagram, use case and sequence diagramClass diagram, use case and sequence diagram
Class diagram, use case and sequence diagram
 
Class diagrams
Class diagramsClass diagrams
Class diagrams
 
state modeling In UML
state modeling In UMLstate modeling In UML
state modeling In UML
 

Similar to Use case Diagram and Sequence Diagram

analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
sabin kafle
 
8.Unified Process Modelling.ppt of software engg
8.Unified Process Modelling.ppt  of software engg8.Unified Process Modelling.ppt  of software engg
8.Unified Process Modelling.ppt of software engg
SukhmanSingh91
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
RAJESH S
 
Uml
UmlUml
Uml
Havi K
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
suganya2411
 
Modeling software with UML
Modeling software with UMLModeling software with UML
Modeling software with UML
6020 peaks
 
LECTURE 9 (Week 5) - Behavioral Diagrams.pptx
LECTURE 9 (Week 5) - Behavioral Diagrams.pptxLECTURE 9 (Week 5) - Behavioral Diagrams.pptx
LECTURE 9 (Week 5) - Behavioral Diagrams.pptx
MuneerUmar3
 
UNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxUNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptx
viju001
 
Intoduction to uml
Intoduction to umlIntoduction to uml
Intoduction to uml
Mahesh Bhalerao
 
Chapter3
Chapter3Chapter3
Chapter3
Fahad Sheref
 
UML tutorial
UML tutorialUML tutorial
UML tutorial
Eliza Wright
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
VADUGANATHAND1
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
MAYILVELKUMARPONNUSA
 
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
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagramsbabak danyal
 
UML (Hemant rajak)
UML (Hemant rajak)UML (Hemant rajak)
UML (Hemant rajak)hrajak5
 
Basic Behavioral Modeling
Basic Behavioral ModelingBasic Behavioral Modeling
Basic Behavioral Modeling
AMITJain879
 

Similar to Use case Diagram and Sequence Diagram (20)

analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
 
8.Unified Process Modelling.ppt of software engg
8.Unified Process Modelling.ppt  of software engg8.Unified Process Modelling.ppt  of software engg
8.Unified Process Modelling.ppt of software engg
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
Uml
UmlUml
Uml
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Modeling software with UML
Modeling software with UMLModeling software with UML
Modeling software with UML
 
LECTURE 9 (Week 5) - Behavioral Diagrams.pptx
LECTURE 9 (Week 5) - Behavioral Diagrams.pptxLECTURE 9 (Week 5) - Behavioral Diagrams.pptx
LECTURE 9 (Week 5) - Behavioral Diagrams.pptx
 
UNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxUNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptx
 
Intoduction to uml
Intoduction to umlIntoduction to uml
Intoduction to uml
 
Chapter3
Chapter3Chapter3
Chapter3
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
UML tutorial
UML tutorialUML tutorial
UML tutorial
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
 
Cs8592 ooad unit 1
Cs8592 ooad unit 1Cs8592 ooad unit 1
Cs8592 ooad unit 1
 
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
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagrams
 
UML (Hemant rajak)
UML (Hemant rajak)UML (Hemant rajak)
UML (Hemant rajak)
 
Basic Behavioral Modeling
Basic Behavioral ModelingBasic Behavioral Modeling
Basic Behavioral Modeling
 

More from Nikhil Pandit

Simplifies and normal forms - Theory of Computation
Simplifies and normal forms - Theory of ComputationSimplifies and normal forms - Theory of Computation
Simplifies and normal forms - Theory of Computation
Nikhil Pandit
 
Software Coding- Software Coding
Software Coding- Software CodingSoftware Coding- Software Coding
Software Coding- Software Coding
Nikhil Pandit
 
The scope of contribution
The scope of contributionThe scope of contribution
The scope of contribution
Nikhil Pandit
 
Functions in C++
Functions in C++Functions in C++
Functions in C++
Nikhil Pandit
 
4 stroke diesel engine
4 stroke diesel engine4 stroke diesel engine
4 stroke diesel engine
Nikhil Pandit
 
CHAIN RULE AND IMPLICIT FUNCTION
CHAIN RULE AND IMPLICIT FUNCTIONCHAIN RULE AND IMPLICIT FUNCTION
CHAIN RULE AND IMPLICIT FUNCTION
Nikhil Pandit
 
Diodes
DiodesDiodes
Safety rules and earthing
Safety rules and earthingSafety rules and earthing
Safety rules and earthing
Nikhil Pandit
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operation
Nikhil Pandit
 
Spyware and rootkit
Spyware and rootkitSpyware and rootkit
Spyware and rootkit
Nikhil Pandit
 
Inline Functions and Default arguments
Inline Functions and Default argumentsInline Functions and Default arguments
Inline Functions and Default arguments
Nikhil Pandit
 
Arrays Basics
Arrays BasicsArrays Basics
Arrays Basics
Nikhil Pandit
 

More from Nikhil Pandit (12)

Simplifies and normal forms - Theory of Computation
Simplifies and normal forms - Theory of ComputationSimplifies and normal forms - Theory of Computation
Simplifies and normal forms - Theory of Computation
 
Software Coding- Software Coding
Software Coding- Software CodingSoftware Coding- Software Coding
Software Coding- Software Coding
 
The scope of contribution
The scope of contributionThe scope of contribution
The scope of contribution
 
Functions in C++
Functions in C++Functions in C++
Functions in C++
 
4 stroke diesel engine
4 stroke diesel engine4 stroke diesel engine
4 stroke diesel engine
 
CHAIN RULE AND IMPLICIT FUNCTION
CHAIN RULE AND IMPLICIT FUNCTIONCHAIN RULE AND IMPLICIT FUNCTION
CHAIN RULE AND IMPLICIT FUNCTION
 
Diodes
DiodesDiodes
Diodes
 
Safety rules and earthing
Safety rules and earthingSafety rules and earthing
Safety rules and earthing
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operation
 
Spyware and rootkit
Spyware and rootkitSpyware and rootkit
Spyware and rootkit
 
Inline Functions and Default arguments
Inline Functions and Default argumentsInline Functions and Default arguments
Inline Functions and Default arguments
 
Arrays Basics
Arrays BasicsArrays Basics
Arrays Basics
 

Recently uploaded

Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
Peter Caitens
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
KrzysztofKkol1
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Visitor Management System in India- Vizman.app
Visitor Management System in India- Vizman.appVisitor Management System in India- Vizman.app
Visitor Management System in India- Vizman.app
NaapbooksPrivateLimi
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
XfilesPro
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 

Recently uploaded (20)

Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Visitor Management System in India- Vizman.app
Visitor Management System in India- Vizman.appVisitor Management System in India- Vizman.app
Visitor Management System in India- Vizman.app
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 

Use case Diagram and Sequence Diagram

  • 1. • Use Case diagrams • Sequence diagram Topic 1
  • 2. Overview • Introduction to UML(unified modeling language). • Use case diagrams. • Sequence diagrams. 2
  • 3. Unified modeling language • It is a partial graphical representation of a model of a system. o Systems under design, implementation, or already existing phase. • Contains: o Nodes o Edges / paths • Type of diagram is defined by Graphical symbol shown on the diagram o Class for class diagram o Actors and use cases in use case diagram. 3
  • 4. 4
  • 5. Use case • Use case: List of actions or events, defining the interactions between role(actors) and system. • The actor can be a human, external system or time. • Defines mission and stakeholder goals. • For example: • Student: Take admission, attend classes, pay fees. 5
  • 6. Use case diagrams • It consist of user’s interaction with the system that shows the relationship between the user and different use cases in which the user is involved. 6
  • 7. Steps to be taken to build Use case diagram • Analyze the system requirements and respectively define the use cases of. • Actors – consisting of people/external system /organization. • Relations between Actors and use cases respectively. 7
  • 8. 8 Use Case Diagram for Restaurant
  • 9. Use case diagrams: Advantages • List of goal names provide summary of what the system will offer. • Also provide project planning skeleton. • The extension conditions of each use case provide a framework. • The full use case set shows that the investigators have thought through every user’s needs, every goal they have with respect to the system, and every business variant involved. 9
  • 10. Use case diagrams: Limitations • Use cases are not well suited to capturing non- interaction based requirements of a system. • For some products and systems, use cases are complex to write and to understand, for both end users and developers. • As there are no fully standard definitions of use cases, each project must form its own interpretation. 10
  • 11. Sequence Diagrams • A Sequence diagram is an interaction diagram that shows how processes operate with one another and in what order. • A sequence diagram shows object interactions arranged in time sequence. • Sequence diagrams are sometimes called event diagrams or event scenarios. 11
  • 12. 12 Sequence Diagram for email service
  • 13. Sequence Diagrams • Class and object diagrams provide a static view of the system we are modeling • In many cases, this is not sufficient for us to truly understand how classes interact or how the system must respond to varied run-time states • Therefore, UML introduces 4 types of dynamic diagrams: Sequence diagrams, Collaboration diagrams, State diagrams and Activity diagrams, collectively known as Behavioral diagrams 13
  • 14. How to make Sequence Diagrams 1. Pick a scenario that you want to model 2. Try to identify the objects that will be involved in the scenario 3. Line them across the top in the approximate order that they're (listed in the order that they are used for the scenario) 4. Draw dotted lines down indicating lifelines 5. Identify the first event (triggering event) 6. Draw a horizontal arrow from the object that sends a message to the object that receives it 7. identify the next event and the objects involved 8. Redo steps 6 and 7 until the diagram is complete 14
  • 15. 15 Sequence Diagram for fast food service
  • 16. Benefits of sequence diagrams • UML sequence diagrams help you to envision what will happen during the execution of a use case • They are great to help developers and business analysts get to a common understanding 16
  • 17. References • Wikipedia: - • https://en.wikipedia.org/wiki/Use_Case_Diagra m • https://en.wikipedia.org/wiki/Sequence_diagra m 17