SlideShare a Scribd company logo
1 of 23
Powerpoint Templates
Page 1
Powerpoint Templates
Introduction to Unified
Modeling Language
Presenter: Mustafa Ghanem Saeed
Computer Science Department
College of Science
Cihan University - Sulaimaniya
Powerpoint Templates
Page 2
References
 Phillip A. Laplante, “REAL-TIME SYSTEMS DESIGN AND ANALYSIS”, A JOHN WILEY &
SONS, INC., PUBLICATION, 2004 by the Institute of Electrical and Electronics Engineer
 Stephan Merz ,Nicolas Navet. “Modeling and Verification of Real-Time Systems “. wiley.
ISTE Ltd, 2008.
 Mikael kerholm, Ivica Crnković, Goran Mustapić . “ Introduction for using UML”.2000
 http://msdn.microsoft.com/ar-iq/library/UML
 http://www.ibm.com/developerworks/rational/library/769.html#fig3
 http://www.codeproject.com/KB/aspnet/SoftArch6.aspx?display=Print
Powerpoint Templates
Page 3
Presentation out line
• What is The UML?
• Components of UML
Powerpoint Templates
Page 4
What is the UML?
UML: is a standard language for the
specification and design of software-intensive
systems using an object-oriented approach.
It is a graphical language in which system
can be composed of communities of
interacting entities
Communication between entities can be
described using the set of nine diagrams:
use case, sequence, collaboration , state
chart, activity, class, object , component,
and deployment.
Powerpoint Templates
Page 5
Components of UML
Use Case Diagram
Class Diagram
Sequence Diagram
State Transition
Diagram
Activity Diagram
Collabration Diagram
Component Diagram
Object Diagram
Powerpoint Templates
Page 6
Use case diagrams are done in an early phase of
a software development project.
Some Components of Use Case Diagram
 Actor: Actors are the various users of an
application having different access rights based on
their category
Use Case Diagrams
Use Case: Use Case represents the different
major functionalities of the system. These are of two
types: Business Use Case and System Use Case .
Powerpoint Templates
Page 7
Use Case Diagrams
EXAMPLE 1: a cash dispenser system can be used,
an actor customer are associated to the use cases
Withdraw Money and Get Account Balance. In general
use case diagrams should be as simple as in figure 1.
Powerpoint Templates
Page 8
Use Case Diagrams
EXAMPLE 2:a web based fruit shop is
shown, in this example the generalization
symbols are used as In figure 2
Powerpoint Templates
Page 9
EXAMPLE 3:a web surfing station
includes a login. The user which is the
actor can use the system to access the
internet through the Access Web use
case, but that includes the Login use
case.
Use Case Diagrams
Powerpoint Templates
Page 10
Class Diagram
Class diagrams: can profitably be used both
in the early phases of a project and during
detailed design activities.
Class diagrams: can use in three different
useful levels :
Conceptual class diagrams (conceptual model),
represent concepts of the problem domain.
High level class diagrams (type model):describe static views
of a solution to a problem, through a precise model of the
information that is relevant for the software system.
Detailed class diagrams (class model), include data types,
operations and possibly advanced relations between
classes.
Powerpoint Templates
Page 11
Class Diagram
 The Conceptual Class Diagram of the
problem domain of vending machines as In
figure 4,
Powerpoint Templates
Page 12
Class Diagram
The High Level Class Diagram for the
same vending machine software project.
Powerpoint Templates
Page 13
Class Diagram
A Detailed Class Diagram showing the concrete data type of
attributes, and operations provided by the different classes for
the same vending machine software project. As in
Figure 6 .
• Associations
• Aggregation
• Generalization
Attributes
Name
operation
Powerpoint Templates
Page 14
Sequence Diagram
Sequence Diagrams are used to model the
flow of control between objects.
Sequence Diagrams model the interactions
through messages between objects.
Sequence Diagram has two dimensions:
The vertical dimension shows the
sequence of messages/calls in the time
order that they occur.
 the horizontal dimension shows the
object instances to which the messages
are sent.
Sequence Diagrams :it is composed of
three basic elements: objects, links, and
messages.
Powerpoint Templates
Page 15
Sequence Diagram
Example of the use case when a customer successfully buys a
soft drink from the vending machine modeled by class diagrams.
As in figure 7.
Powerpoint Templates
Page 16
State Transition Diagram
State charts are most often used for low level
design, like modeling the internal behavior of a
complicated class.
But they are also useful on a higher level on
modeling different states of a whole system .
The basic elements in a state chart are states
and transitions, in figure 8
Powerpoint Templates
Page 17
State Transition Diagram
EXAMPLE 1 :a high level state chart diagram, showing
state transitions on the system level in an airplane. This
diagram is completely without events, guards and
actions . As in figure 9.
Powerpoint Templates
Page 18
State Transition Diagram
EXAMPLE 2 : a lower level state diagram is the one in
figure 10. It is a candy machine and the start state is again
located to the left in the figure.
Powerpoint Templates
Page 19
Activity Diagram
 workflow behavior of a system.
unlike flowcharts, they can model concurrent
computational steps and the flow of objects.
Start
Fork
Branch
Merge
Joint
End
Figure 11, Activity
Diagram
Powerpoint Templates
Page 20
show the messages passed between objects through the
basic associations between classes.
Behavior on class diagrams.
Q:Collaboration diagrams are the most emphasized of
UML?
Because of their clarity and expression of more
information.
Collabration Diagram
Figure12, Collabration Diagram
Powerpoint Templates
Page 21
preexisting entities (components).
 Interfaces : represent the functionality of
components that are directly available to the
user.
Relationships : represent conceptual
relationships between components
Component Diagram
Figure 13 simple example of Component Diagram
Powerpoint Templates
Page 22
Object Diagram :show the insides of things in
the class diagrams and their relationships.
Object Diagram
Figure 14 , Object Diagram
Powerpoint Templates
Page 23
Thanks for
aTTendance

More Related Content

Similar to UML1

Design patterns 1july
Design patterns 1julyDesign patterns 1july
Design patterns 1julyEdureka!
 
Activity Diagram
Activity DiagramActivity Diagram
Activity DiagramAshesh R
 
dairy farm mgmt.pptx
dairy farm mgmt.pptxdairy farm mgmt.pptx
dairy farm mgmt.pptxMusabInamdar2
 
Design Patterns : The Ultimate Blueprint for Software
Design Patterns : The Ultimate Blueprint for SoftwareDesign Patterns : The Ultimate Blueprint for Software
Design Patterns : The Ultimate Blueprint for SoftwareEdureka!
 
Webinar on Design Patterns titled 'Dive into Design Patterns'
Webinar on Design Patterns titled 'Dive into Design Patterns'Webinar on Design Patterns titled 'Dive into Design Patterns'
Webinar on Design Patterns titled 'Dive into Design Patterns'Edureka!
 
A Model of Local Area Network Based Application for Inter-office Communication
A Model of Local Area Network Based Application for Inter-office CommunicationA Model of Local Area Network Based Application for Inter-office Communication
A Model of Local Area Network Based Application for Inter-office Communicationtheijes
 
Pattern oriented architecture for web based architecture
Pattern oriented architecture for web based architecturePattern oriented architecture for web based architecture
Pattern oriented architecture for web based architectureshuchi tripathi
 
Batch 21(14,64,66)
Batch 21(14,64,66)Batch 21(14,64,66)
Batch 21(14,64,66)swethadln
 
ModLate: An Innovative Model For The Construction Of Web Templates For CMSs
ModLate: An Innovative Model For The Construction Of Web Templates For CMSsModLate: An Innovative Model For The Construction Of Web Templates For CMSs
ModLate: An Innovative Model For The Construction Of Web Templates For CMSsPiero Quintavalle
 
BIS09 Application Development - III
BIS09 Application Development - IIIBIS09 Application Development - III
BIS09 Application Development - IIIPrithwis Mukerjee
 
Chapter 13 Business Intelligence and Data Warehouses Problems.docx
Chapter 13 Business Intelligence and Data Warehouses Problems.docxChapter 13 Business Intelligence and Data Warehouses Problems.docx
Chapter 13 Business Intelligence and Data Warehouses Problems.docxbartholomeocoombs
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfMeagGhn
 
2014 Pre-MSc-IS-0 Information Systems Modelling and Design
2014 Pre-MSc-IS-0 Information Systems Modelling and Design2014 Pre-MSc-IS-0 Information Systems Modelling and Design
2014 Pre-MSc-IS-0 Information Systems Modelling and Designandreasmartin
 

Similar to UML1 (20)

Week 5
Week 5Week 5
Week 5
 
Design patterns 1july
Design patterns 1julyDesign patterns 1july
Design patterns 1july
 
Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
 
dairy farm mgmt.pptx
dairy farm mgmt.pptxdairy farm mgmt.pptx
dairy farm mgmt.pptx
 
Design Patterns : The Ultimate Blueprint for Software
Design Patterns : The Ultimate Blueprint for SoftwareDesign Patterns : The Ultimate Blueprint for Software
Design Patterns : The Ultimate Blueprint for Software
 
Webinar on Design Patterns titled 'Dive into Design Patterns'
Webinar on Design Patterns titled 'Dive into Design Patterns'Webinar on Design Patterns titled 'Dive into Design Patterns'
Webinar on Design Patterns titled 'Dive into Design Patterns'
 
simulink
simulinksimulink
simulink
 
A Model of Local Area Network Based Application for Inter-office Communication
A Model of Local Area Network Based Application for Inter-office CommunicationA Model of Local Area Network Based Application for Inter-office Communication
A Model of Local Area Network Based Application for Inter-office Communication
 
Sdlc
SdlcSdlc
Sdlc
 
Sdlc
SdlcSdlc
Sdlc
 
ch07.ppt
ch07.pptch07.ppt
ch07.ppt
 
Pattern oriented architecture for web based architecture
Pattern oriented architecture for web based architecturePattern oriented architecture for web based architecture
Pattern oriented architecture for web based architecture
 
Batch 21(14,64,66)
Batch 21(14,64,66)Batch 21(14,64,66)
Batch 21(14,64,66)
 
Poster Vensim Repast
Poster Vensim RepastPoster Vensim Repast
Poster Vensim Repast
 
ModLate: An Innovative Model For The Construction Of Web Templates For CMSs
ModLate: An Innovative Model For The Construction Of Web Templates For CMSsModLate: An Innovative Model For The Construction Of Web Templates For CMSs
ModLate: An Innovative Model For The Construction Of Web Templates For CMSs
 
BIS09 Application Development - III
BIS09 Application Development - IIIBIS09 Application Development - III
BIS09 Application Development - III
 
Chapter 13 Business Intelligence and Data Warehouses Problems.docx
Chapter 13 Business Intelligence and Data Warehouses Problems.docxChapter 13 Business Intelligence and Data Warehouses Problems.docx
Chapter 13 Business Intelligence and Data Warehouses Problems.docx
 
IntelligentEnterprise
IntelligentEnterpriseIntelligentEnterprise
IntelligentEnterprise
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
2014 Pre-MSc-IS-0 Information Systems Modelling and Design
2014 Pre-MSc-IS-0 Information Systems Modelling and Design2014 Pre-MSc-IS-0 Information Systems Modelling and Design
2014 Pre-MSc-IS-0 Information Systems Modelling and Design
 

UML1

  • 1. Powerpoint Templates Page 1 Powerpoint Templates Introduction to Unified Modeling Language Presenter: Mustafa Ghanem Saeed Computer Science Department College of Science Cihan University - Sulaimaniya
  • 2. Powerpoint Templates Page 2 References  Phillip A. Laplante, “REAL-TIME SYSTEMS DESIGN AND ANALYSIS”, A JOHN WILEY & SONS, INC., PUBLICATION, 2004 by the Institute of Electrical and Electronics Engineer  Stephan Merz ,Nicolas Navet. “Modeling and Verification of Real-Time Systems “. wiley. ISTE Ltd, 2008.  Mikael kerholm, Ivica Crnković, Goran Mustapić . “ Introduction for using UML”.2000  http://msdn.microsoft.com/ar-iq/library/UML  http://www.ibm.com/developerworks/rational/library/769.html#fig3  http://www.codeproject.com/KB/aspnet/SoftArch6.aspx?display=Print
  • 3. Powerpoint Templates Page 3 Presentation out line • What is The UML? • Components of UML
  • 4. Powerpoint Templates Page 4 What is the UML? UML: is a standard language for the specification and design of software-intensive systems using an object-oriented approach. It is a graphical language in which system can be composed of communities of interacting entities Communication between entities can be described using the set of nine diagrams: use case, sequence, collaboration , state chart, activity, class, object , component, and deployment.
  • 5. Powerpoint Templates Page 5 Components of UML Use Case Diagram Class Diagram Sequence Diagram State Transition Diagram Activity Diagram Collabration Diagram Component Diagram Object Diagram
  • 6. Powerpoint Templates Page 6 Use case diagrams are done in an early phase of a software development project. Some Components of Use Case Diagram  Actor: Actors are the various users of an application having different access rights based on their category Use Case Diagrams Use Case: Use Case represents the different major functionalities of the system. These are of two types: Business Use Case and System Use Case .
  • 7. Powerpoint Templates Page 7 Use Case Diagrams EXAMPLE 1: a cash dispenser system can be used, an actor customer are associated to the use cases Withdraw Money and Get Account Balance. In general use case diagrams should be as simple as in figure 1.
  • 8. Powerpoint Templates Page 8 Use Case Diagrams EXAMPLE 2:a web based fruit shop is shown, in this example the generalization symbols are used as In figure 2
  • 9. Powerpoint Templates Page 9 EXAMPLE 3:a web surfing station includes a login. The user which is the actor can use the system to access the internet through the Access Web use case, but that includes the Login use case. Use Case Diagrams
  • 10. Powerpoint Templates Page 10 Class Diagram Class diagrams: can profitably be used both in the early phases of a project and during detailed design activities. Class diagrams: can use in three different useful levels : Conceptual class diagrams (conceptual model), represent concepts of the problem domain. High level class diagrams (type model):describe static views of a solution to a problem, through a precise model of the information that is relevant for the software system. Detailed class diagrams (class model), include data types, operations and possibly advanced relations between classes.
  • 11. Powerpoint Templates Page 11 Class Diagram  The Conceptual Class Diagram of the problem domain of vending machines as In figure 4,
  • 12. Powerpoint Templates Page 12 Class Diagram The High Level Class Diagram for the same vending machine software project.
  • 13. Powerpoint Templates Page 13 Class Diagram A Detailed Class Diagram showing the concrete data type of attributes, and operations provided by the different classes for the same vending machine software project. As in Figure 6 . • Associations • Aggregation • Generalization Attributes Name operation
  • 14. Powerpoint Templates Page 14 Sequence Diagram Sequence Diagrams are used to model the flow of control between objects. Sequence Diagrams model the interactions through messages between objects. Sequence Diagram has two dimensions: The vertical dimension shows the sequence of messages/calls in the time order that they occur.  the horizontal dimension shows the object instances to which the messages are sent. Sequence Diagrams :it is composed of three basic elements: objects, links, and messages.
  • 15. Powerpoint Templates Page 15 Sequence Diagram Example of the use case when a customer successfully buys a soft drink from the vending machine modeled by class diagrams. As in figure 7.
  • 16. Powerpoint Templates Page 16 State Transition Diagram State charts are most often used for low level design, like modeling the internal behavior of a complicated class. But they are also useful on a higher level on modeling different states of a whole system . The basic elements in a state chart are states and transitions, in figure 8
  • 17. Powerpoint Templates Page 17 State Transition Diagram EXAMPLE 1 :a high level state chart diagram, showing state transitions on the system level in an airplane. This diagram is completely without events, guards and actions . As in figure 9.
  • 18. Powerpoint Templates Page 18 State Transition Diagram EXAMPLE 2 : a lower level state diagram is the one in figure 10. It is a candy machine and the start state is again located to the left in the figure.
  • 19. Powerpoint Templates Page 19 Activity Diagram  workflow behavior of a system. unlike flowcharts, they can model concurrent computational steps and the flow of objects. Start Fork Branch Merge Joint End Figure 11, Activity Diagram
  • 20. Powerpoint Templates Page 20 show the messages passed between objects through the basic associations between classes. Behavior on class diagrams. Q:Collaboration diagrams are the most emphasized of UML? Because of their clarity and expression of more information. Collabration Diagram Figure12, Collabration Diagram
  • 21. Powerpoint Templates Page 21 preexisting entities (components).  Interfaces : represent the functionality of components that are directly available to the user. Relationships : represent conceptual relationships between components Component Diagram Figure 13 simple example of Component Diagram
  • 22. Powerpoint Templates Page 22 Object Diagram :show the insides of things in the class diagrams and their relationships. Object Diagram Figure 14 , Object Diagram