SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Downloaden Sie, um offline zu lesen
UML Diagrams
Lecture-4
Mr. Mubashir Ali
Lecturer(Dept. of Computer Science)
dr.mubashirali1@gmail.com
What is UML?
• Standard language for specifying, visualizing,
constructing, and documenting the artifacts of
software systems, business modeling and other non-
software systems.
• The UML represents a collection of best engineering
practices that have proven successful in the
modeling of large and complex systems.
• The UML is a very important part of developing object
oriented software and the software development
process.
• The UML uses mostly graphical notations to express
the design of software projects.
• Using the UML helps project teams communicate,
explore potential designs, and validate the
architectural design of the software.
Overview of UML Diagrams
Structural
: element of spec. irrespective of time
• Class
• Component
• Deployment
• Object
• Composite structure
• Package
Behavioral
: behavioral features of a system / business
process
• Activity
• State machine
• Use case
• Interaction
Interaction
: emphasize object interaction
• Communication(collaberati
on)
• Sequence
• Interaction overview
• Timing
Class diagram
UML class diagrams show the classes of
the system, their inter-relationships,
and the operations and attributes of the
classes
• Explore domain concepts in the form of a domain
model
• Analyze requirements in the form of a
conceptual/analysis model
• Depict the detailed design of object-oriented or
object-based software
Class diagram
Class diagram
Component diagram
UML component diagrams shows the
dependencies among software
components, including the classifiers
that specify them (for example
implementation classes) and the
artifacts that implement them; such as
source code files, binary code files,
executable files, scripts and tables.
Component diagram
Deployment diagram
UML deployment diagram depicts a static
view of the run-time configuration of
hardware nodes and the software
components that run on those nodes.
Deployment diagrams show the
hardware for your system, the software
that is installed on that hardware, and
the middleware used to connect the
disparate machines to one another.
Deployment diagram
Deployment diagram
Object diagram
• UML 2 Object diagrams (instance
diagrams), are useful for exploring real
world examples of objects and the
relationships between them. It shows
instances instead of classes. They are
useful for explaining small pieces with
complicated relationships, especially
recursive relationships.
Object diagram
Package diagram
• UML 2 Package diagrams simplify
complex class diagrams, it can group
classes into packages. A package is a
collection of logically related UML
elements. Packages are depicted as file
folders and can be used on any of the
UML diagrams.
Package diagram
Composite structure diagram
• UML 2 Composite structure diagrams
used to explore run-time instances of
interconnected instances collaborating
over communications links. It shows the
internal structure (including parts and
connectors) of a structured classifier or
collaboration.
Composite structure diagram
Activity diagram
• UML 2 Activity diagrams helps to
describe the flow of control of the
target system, such as the exploring
complex business rules and operations,
describing the use case also the
business process. It is object-oriented
equivalent of flow charts and data-flow
diagrams (DFDs).
Activity diagram
Activity diagram
State machine diagram
• UML 2 State machine diagrams can
show the different states of an entity
also how an entity responds to various
events by changing from one state to
another. The history of an entity can
best be modeled by a finite state
diagram.
State machine diagram
State machine diagram
Use cases diagram
UML 2 Use cases diagrams describes the behavior of
the target system from an external point of view. Use
cases describe "the meat" of the actual requirements.
• Use cases. A use case describes a sequence of
actions that provide something of measurable value
to an actor and is drawn as a horizontal ellipse.
• Actors. An actor is a person, organization, or external
system that plays a role in one or more interactions
with your system. Actors are drawn as stick figures.
• Associations. Associations between actors and use
cases are indicated by solid lines. An association
exists whenever an actor is involved with an
interaction described by a use case.
Use cases diagram
Use cases diagram
Use cases diagram
Communication diagram
• UML 2 Communication diagrams used
to model the dynamic behavior of the
use case. When compare to Sequence
Diagram, the Communication Diagram
is more focused on showing the
collaboration of objects rather than the
time sequence.
Communication diagram
Sequence diagram
• UML 2 Sequence diagrams 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.
Sequence diagram
Timing diagram
• UML 2 Timing diagrams shows the
behavior of the objects in a given
period of time. Timing diagram is a
special form of a sequence diagram.
The differences between timing diagram
and sequence diagram are the axes are
reversed so that the time are increase
from left to right and the lifelines are
shown in separate compartments
arranged vertically.
Timing diagram
Timing diagram
Interaction overview diagram
• UML 2 Interaction overview diagrams
focuses on the overview of the flow of
control of the interactions. It is a variant
of the Activity Diagram where the nodes
are the interactions or interaction
occurrences. It describes the
interactions where messages and
lifelines are hidden.
Interaction overview diagram
Interaction overview diagram
UML diagram hierarchy
References
• http://www.agilemodeling.com/
• http://www.visual-
paradigm.com/VPGallery/diagrams/index.html
• http://bdn.borland.com/article/0,1410,31863,00.
html
• http://en.wikipedia.org/wiki/Unified_Modeling_L
anguage
• http://pigseye.kennesaw.edu/~dbraun/csis4650/
A&D/UML_tutorial/index.htm

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Use Case Modeling
Use Case ModelingUse Case Modeling
Use Case Modeling
 
Uml
UmlUml
Uml
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
 
UML
UMLUML
UML
 
CS8592-OOAD Lecture Notes Unit-3
CS8592-OOAD Lecture Notes Unit-3CS8592-OOAD Lecture Notes Unit-3
CS8592-OOAD Lecture Notes Unit-3
 
Class diagrams
Class diagramsClass diagrams
Class diagrams
 
Class diagram
Class diagramClass diagram
Class diagram
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
UML
UMLUML
UML
 
Class diagram
Class diagramClass diagram
Class diagram
 
Class diagrams
Class diagramsClass diagrams
Class diagrams
 
Uml
UmlUml
Uml
 
Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagrams
 
Lecture6 activity diagrams
Lecture6 activity diagramsLecture6 activity diagrams
Lecture6 activity diagrams
 
Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
 
3. use cases
3. use cases3. use cases
3. use cases
 
Collaboration Diagram
Collaboration DiagramCollaboration Diagram
Collaboration Diagram
 

Andere mochten auch

Andere mochten auch (6)

Uml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netUml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot net
 
Package Diagram
Package DiagramPackage Diagram
Package Diagram
 
Uml tutorial (1) (1)
Uml tutorial (1) (1)Uml tutorial (1) (1)
Uml tutorial (1) (1)
 
uml reference package_diagram
uml reference package_diagramuml reference package_diagram
uml reference package_diagram
 
Interfaces & Packages V2
Interfaces & Packages V2Interfaces & Packages V2
Interfaces & Packages V2
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 

Ähnlich wie Lect-4: UML diagrams - Unified Modeling Language - SPM

Ähnlich wie Lect-4: UML diagrams - Unified Modeling Language - SPM (20)

Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
UML Diagrams.ppt
UML Diagrams.pptUML Diagrams.ppt
UML Diagrams.ppt
 
UML Diagrams_UNIT III.ppt
UML Diagrams_UNIT III.pptUML Diagrams_UNIT III.ppt
UML Diagrams_UNIT III.ppt
 
UML Diagrams.ppt
UML Diagrams.pptUML Diagrams.ppt
UML Diagrams.ppt
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
Uml
UmlUml
Uml
 
Modeling software with UML
Modeling software with UMLModeling software with UML
Modeling software with UML
 
Uml.pptx
Uml.pptxUml.pptx
Uml.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
 
04 uml diagrams
04 uml diagrams04 uml diagrams
04 uml diagrams
 
Uml overview modified
Uml overview modifiedUml overview modified
Uml overview modified
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Capturing System Behaviour
Capturing System BehaviourCapturing System Behaviour
Capturing System Behaviour
 
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
 
Uml with detail
Uml with detailUml with detail
Uml with detail
 
FSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptxFSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptx
 
UML-Basics-to-AI-Powered-UML-Course.pdf
UML-Basics-to-AI-Powered-UML-Course.pdfUML-Basics-to-AI-Powered-UML-Course.pdf
UML-Basics-to-AI-Powered-UML-Course.pdf
 
4+1
4+14+1
4+1
 

Mehr von Mubashir Ali

Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
Lecture-3: Traditional Approaches to System Development and Enterprise Engine...Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
Lecture-3: Traditional Approaches to System Development and Enterprise Engine...Mubashir Ali
 
Lecture-2: Zachman Framework for Enterprise Architecture
Lecture-2: Zachman Framework for Enterprise ArchitectureLecture-2: Zachman Framework for Enterprise Architecture
Lecture-2: Zachman Framework for Enterprise ArchitectureMubashir Ali
 
Lecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingLecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingMubashir Ali
 
Lecture-2: Web development application development process model
Lecture-2: Web development application development process modelLecture-2: Web development application development process model
Lecture-2: Web development application development process modelMubashir Ali
 
Lecture-1: Introduction to web engineering - course overview and grading scheme
Lecture-1: Introduction to web engineering - course overview and grading schemeLecture-1: Introduction to web engineering - course overview and grading scheme
Lecture-1: Introduction to web engineering - course overview and grading schemeMubashir Ali
 
Lecture-1: Introduction to system integration and architecture - course overv...
Lecture-1: Introduction to system integration and architecture - course overv...Lecture-1: Introduction to system integration and architecture - course overv...
Lecture-1: Introduction to system integration and architecture - course overv...Mubashir Ali
 
Lecture-7: World Wide Web (WWW) & ECommerce
Lecture-7: World Wide Web (WWW) & ECommerceLecture-7: World Wide Web (WWW) & ECommerce
Lecture-7: World Wide Web (WWW) & ECommerceMubashir Ali
 
Lecture-6: The Internet
Lecture-6: The Internet Lecture-6: The Internet
Lecture-6: The Internet Mubashir Ali
 
Lecture-5: Introduction to Networks & Data Communication
Lecture-5: Introduction to Networks & Data Communication Lecture-5: Introduction to Networks & Data Communication
Lecture-5: Introduction to Networks & Data Communication Mubashir Ali
 
Lecture-4: Introduction to Programming & Databases
Lecture-4: Introduction to Programming & DatabasesLecture-4: Introduction to Programming & Databases
Lecture-4: Introduction to Programming & DatabasesMubashir Ali
 
Lecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application SoftwaresLecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application SoftwaresMubashir Ali
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionMubashir Ali
 
Lecture-2(1): Computer Hardware & System Components
Lecture-2(1): Computer Hardware & System Components Lecture-2(1): Computer Hardware & System Components
Lecture-2(1): Computer Hardware & System Components Mubashir Ali
 
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...Mubashir Ali
 
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...Mubashir Ali
 
Lect-6&7: Network Diagrams, PERT and CPM
Lect-6&7: Network Diagrams, PERT and CPMLect-6&7: Network Diagrams, PERT and CPM
Lect-6&7: Network Diagrams, PERT and CPMMubashir Ali
 
Lect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost EstimationLect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost EstimationMubashir Ali
 
Lect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPMLect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPMMubashir Ali
 
Lect-3: Statement of Work - Write effective SOW for Software Project - Template
Lect-3: Statement of Work - Write effective SOW for Software Project - TemplateLect-3: Statement of Work - Write effective SOW for Software Project - Template
Lect-3: Statement of Work - Write effective SOW for Software Project - TemplateMubashir Ali
 
Lect-2: Overview and Traditional SPM, Classic mistakes
Lect-2: Overview and Traditional SPM, Classic mistakesLect-2: Overview and Traditional SPM, Classic mistakes
Lect-2: Overview and Traditional SPM, Classic mistakesMubashir Ali
 

Mehr von Mubashir Ali (20)

Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
Lecture-3: Traditional Approaches to System Development and Enterprise Engine...Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
Lecture-3: Traditional Approaches to System Development and Enterprise Engine...
 
Lecture-2: Zachman Framework for Enterprise Architecture
Lecture-2: Zachman Framework for Enterprise ArchitectureLecture-2: Zachman Framework for Enterprise Architecture
Lecture-2: Zachman Framework for Enterprise Architecture
 
Lecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingLecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block Building
 
Lecture-2: Web development application development process model
Lecture-2: Web development application development process modelLecture-2: Web development application development process model
Lecture-2: Web development application development process model
 
Lecture-1: Introduction to web engineering - course overview and grading scheme
Lecture-1: Introduction to web engineering - course overview and grading schemeLecture-1: Introduction to web engineering - course overview and grading scheme
Lecture-1: Introduction to web engineering - course overview and grading scheme
 
Lecture-1: Introduction to system integration and architecture - course overv...
Lecture-1: Introduction to system integration and architecture - course overv...Lecture-1: Introduction to system integration and architecture - course overv...
Lecture-1: Introduction to system integration and architecture - course overv...
 
Lecture-7: World Wide Web (WWW) & ECommerce
Lecture-7: World Wide Web (WWW) & ECommerceLecture-7: World Wide Web (WWW) & ECommerce
Lecture-7: World Wide Web (WWW) & ECommerce
 
Lecture-6: The Internet
Lecture-6: The Internet Lecture-6: The Internet
Lecture-6: The Internet
 
Lecture-5: Introduction to Networks & Data Communication
Lecture-5: Introduction to Networks & Data Communication Lecture-5: Introduction to Networks & Data Communication
Lecture-5: Introduction to Networks & Data Communication
 
Lecture-4: Introduction to Programming & Databases
Lecture-4: Introduction to Programming & DatabasesLecture-4: Introduction to Programming & Databases
Lecture-4: Introduction to Programming & Databases
 
Lecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application SoftwaresLecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application Softwares
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
Lecture-2(1): Computer Hardware & System Components
Lecture-2(1): Computer Hardware & System Components Lecture-2(1): Computer Hardware & System Components
Lecture-2(1): Computer Hardware & System Components
 
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
Lecture-1: Introduction to Computer - Basic Definitions & Concepts- Computer ...
 
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
Software Matrics (Product - Process - Resource - Matrics) - (LOC, FP, Complex...
 
Lect-6&7: Network Diagrams, PERT and CPM
Lect-6&7: Network Diagrams, PERT and CPMLect-6&7: Network Diagrams, PERT and CPM
Lect-6&7: Network Diagrams, PERT and CPM
 
Lect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost EstimationLect-5: Work Breakdown Structure and Project Cost Estimation
Lect-5: Work Breakdown Structure and Project Cost Estimation
 
Lect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPMLect-4: Software Development Life Cycle Model - SPM
Lect-4: Software Development Life Cycle Model - SPM
 
Lect-3: Statement of Work - Write effective SOW for Software Project - Template
Lect-3: Statement of Work - Write effective SOW for Software Project - TemplateLect-3: Statement of Work - Write effective SOW for Software Project - Template
Lect-3: Statement of Work - Write effective SOW for Software Project - Template
 
Lect-2: Overview and Traditional SPM, Classic mistakes
Lect-2: Overview and Traditional SPM, Classic mistakesLect-2: Overview and Traditional SPM, Classic mistakes
Lect-2: Overview and Traditional SPM, Classic mistakes
 

Kürzlich hochgeladen

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
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 ConsultingTechSoup
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
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...christianmathematics
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 

Kürzlich hochgeladen (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
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...
 
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
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 

Lect-4: UML diagrams - Unified Modeling Language - SPM

  • 1. UML Diagrams Lecture-4 Mr. Mubashir Ali Lecturer(Dept. of Computer Science) dr.mubashirali1@gmail.com
  • 2. What is UML? • Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems, business modeling and other non- software systems. • The UML represents a collection of best engineering practices that have proven successful in the modeling of large and complex systems. • The UML is a very important part of developing object oriented software and the software development process. • The UML uses mostly graphical notations to express the design of software projects. • Using the UML helps project teams communicate, explore potential designs, and validate the architectural design of the software.
  • 3. Overview of UML Diagrams Structural : element of spec. irrespective of time • Class • Component • Deployment • Object • Composite structure • Package Behavioral : behavioral features of a system / business process • Activity • State machine • Use case • Interaction Interaction : emphasize object interaction • Communication(collaberati on) • Sequence • Interaction overview • Timing
  • 4. Class diagram UML class diagrams show the classes of the system, their inter-relationships, and the operations and attributes of the classes • Explore domain concepts in the form of a domain model • Analyze requirements in the form of a conceptual/analysis model • Depict the detailed design of object-oriented or object-based software
  • 7. Component diagram UML component diagrams shows the dependencies among software components, including the classifiers that specify them (for example implementation classes) and the artifacts that implement them; such as source code files, binary code files, executable files, scripts and tables.
  • 9. Deployment diagram UML deployment diagram depicts a static view of the run-time configuration of hardware nodes and the software components that run on those nodes. Deployment diagrams show the hardware for your system, the software that is installed on that hardware, and the middleware used to connect the disparate machines to one another.
  • 12. Object diagram • UML 2 Object diagrams (instance diagrams), are useful for exploring real world examples of objects and the relationships between them. It shows instances instead of classes. They are useful for explaining small pieces with complicated relationships, especially recursive relationships.
  • 14. Package diagram • UML 2 Package diagrams simplify complex class diagrams, it can group classes into packages. A package is a collection of logically related UML elements. Packages are depicted as file folders and can be used on any of the UML diagrams.
  • 16. Composite structure diagram • UML 2 Composite structure diagrams used to explore run-time instances of interconnected instances collaborating over communications links. It shows the internal structure (including parts and connectors) of a structured classifier or collaboration.
  • 18. Activity diagram • UML 2 Activity diagrams helps to describe the flow of control of the target system, such as the exploring complex business rules and operations, describing the use case also the business process. It is object-oriented equivalent of flow charts and data-flow diagrams (DFDs).
  • 21. State machine diagram • UML 2 State machine diagrams can show the different states of an entity also how an entity responds to various events by changing from one state to another. The history of an entity can best be modeled by a finite state diagram.
  • 24. Use cases diagram UML 2 Use cases diagrams describes the behavior of the target system from an external point of view. Use cases describe "the meat" of the actual requirements. • Use cases. A use case describes a sequence of actions that provide something of measurable value to an actor and is drawn as a horizontal ellipse. • Actors. An actor is a person, organization, or external system that plays a role in one or more interactions with your system. Actors are drawn as stick figures. • Associations. Associations between actors and use cases are indicated by solid lines. An association exists whenever an actor is involved with an interaction described by a use case.
  • 28. Communication diagram • UML 2 Communication diagrams used to model the dynamic behavior of the use case. When compare to Sequence Diagram, the Communication Diagram is more focused on showing the collaboration of objects rather than the time sequence.
  • 30. Sequence diagram • UML 2 Sequence diagrams 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.
  • 32. Timing diagram • UML 2 Timing diagrams shows the behavior of the objects in a given period of time. Timing diagram is a special form of a sequence diagram. The differences between timing diagram and sequence diagram are the axes are reversed so that the time are increase from left to right and the lifelines are shown in separate compartments arranged vertically.
  • 35. Interaction overview diagram • UML 2 Interaction overview diagrams focuses on the overview of the flow of control of the interactions. It is a variant of the Activity Diagram where the nodes are the interactions or interaction occurrences. It describes the interactions where messages and lifelines are hidden.
  • 39. References • http://www.agilemodeling.com/ • http://www.visual- paradigm.com/VPGallery/diagrams/index.html • http://bdn.borland.com/article/0,1410,31863,00. html • http://en.wikipedia.org/wiki/Unified_Modeling_L anguage • http://pigseye.kennesaw.edu/~dbraun/csis4650/ A&D/UML_tutorial/index.htm