SlideShare a Scribd company logo
1 of 22
UML
(Unified Modeling Language)
Visualizing
 Specifying
 Constructing
 Documenting

Why do we model?
 Model is a simplification of reality.
 Provides blueprint of sys.
 May be structural or behavioural.
 Modeling-For better understanding of sys.that are

developing
 Achieve 4 aims:
1. Helps to visualize sys.
2. Permits to specify struc or behav of sys.
3. Provide templates to guide in constructn sys.
4. Document decisions made.
Applications of UML
 Enterprise infmn sys.
 Banking and financial services.
 Telecommunications
 Transportation
 Defense/aerospace
 Medical electronics
 Scientific
 Distributed Web-based services
Building blocks of UML
Things
II. Relationships
III. Diagrams
Things in the UML:
Four kinds:
1. Structural things
2. Behavioral things
3. Grouping things
4. Annotational things
I.
Structural things
Seven kinds:
1. Class
2. Interface
3. Collaboration
4. Use case
5. Active class
6. Component
7. Node
Structural things..
Construct

Description

class

a description of a set of objects that
share the same attributes,
operations, methods, relationships
and semantics.
Collection of operation that specify
service of a class or
component.Complete behavr.of
class/compnt.describes externally
visible behavr of an element.
Defines interactn and is a society of
roles and other elements that work
together to provide some cooperative
behavr that’s bigger than sum of all
elements.
Have structural and behavioral
dimensns

interface

collaboration

Syntax

ispelling
Structural things..
Construct

Description

use case

Description of set of sequence of
action that a sys performs.
Used to structure the behavioral things
in a model
A class whose objts own one or more
processes and therefore intiate cntrl
actvty.
Physical and replaceable part of a
system that conform to and provides
realizn of a set of interfaces
a run-time physical object that
represents a computational resource.

active class

component

node

Syntax
Place order
2.Behavioral Things
Construct
1.Interaction

2.State machine

Description
A set of msgs exchangd
among a set of objts vd in
a particular context to
accomplish a specific
purpose.Involves no.of
other elements including
msgs,action sequences
and links
Specifies sequences of
state of an objt goes thru
during its lifetime
response to those
events.Involves no.of
other elements includn
states,transtn,evnts

syntax

display

Waiting
3.Grouping things
 Organizational parts of UML models.
 Models decomposed in to boxes
 Primary kind is Package
 Packages are basic grouping things with which UML

model can be organized.

Business rules
4.Annotational things
 Explanatory parts of UML models.
 Comments to describe illuminate or remark about

any element in a model.
 Primary kind of annotation thing called note.
 Note is simply a symbol for rendering constraints
and comments attached to an element or collection
of elements.
II. Relationships in the UML
Construct

Description

a relationship between two modeling
elements, in which a change to one
modeling element (the independent
element) will affect the other modeling
element (the dependent element).
a relationship between two or more
association
classifiers that involves connections
among their instances.
Aggregation is a spl kind of assocn
represntn structural reltnshp b/w
whole and its parts
generalization Objts of specialized element(child) are
substitutable for objts of the
generalized element(parent).
a relationship between a specification
realization
and its implementation.
dependency

Syntax
III. Diagrams in the UML
1.Class diagram
2.Object diagram
3.Use case diagram
4.Sequence diagram
5.Collaboration diagram
6.Statechart diagram
7.Activity diagram
8.Component diagram
9.Deployment diagram
1.CLASS DIAGRAM
 It depicts the static view of a model
 It is the basic building block of the object oriented system
 It illustrate the relation ship between classes in the system
 Class diagram consist of:
 Class diagram

It consist of rectangle with three compartments

Class name is added in this this compartment (teacher)
Class attribute is added in this department (name )
Class methods are placed in this compartments (teach)
2.OBJECT DIAGRAM
• Object diagrams emphasize the relationship

between instances of classes at some point in time
 Object is shown by a rectangular with classifier
name in the center f rectangular and under line.
3.USE CASE DIAGRAM
 This diagram consist of:
 Actor

It is represented by a human, either the actor is a human
Or and external system.
Actor is role
 Use case
It is represented by an oval shape with title in it
4.SEQUENCE DIAGRAM
 Sequence diagrams provide a graphical

representation of object interactions over time
 The diagrams show the flow of messages from one
object to another, and as such correspond to the
methods and events supported by a class/object.
5.COLLABORATION DIAGRAM
Type of an interaction diagram emphasizes structural organization of objt that
send and receive msgs
 Collaborates the static and dynamic relationship
 Each message in a collaboration diagram has a sequence number.
•
6.STATECHART DIAGRAM
A statechart diagram shows the possible states of the object and the transitions that
cause a change in state.
 States are rounded rectangles.
 Transitions are arrows from one state to another.
 Events or conditions that trigger transitions are written beside the arrows.

7.ACTIVITY DIAGRAM
 Activity diagram is also dynamic view of the system
 Activity diagram is used to describe the individual use case
 Use case is used to describe the user goal
 Activity diagram’s similar to flow charts
 Each activity consist of series of actions

 Actions are represented by oval shapes
 Actions are connected by arrows
 Arrow shows the flow of the activity diagram
 Activity diagram also shows decision points called decision

node
ACTIVITY DIAGRAM..
Portion line
Starting point
Action
Decision node

Actions

Endpoint
8.COMPONENT DIAGRAM
• Shows the organizations and dependencies among software

components.
 Shows system in terms of modules.
9.DEPLOYMENT DIAGRAM
 Shows the configuration of run-time processing elements

and the software components, processes and objects that
live on them.
 Deployment diagrams may be used to show which
components may run on which nodes.

More Related Content

What's hot

08 class and sequence diagrams
08   class and sequence diagrams08   class and sequence diagrams
08 class and sequence diagramskebsterz
 
UML, ER and Dimensional Modelling
UML, ER and Dimensional ModellingUML, ER and Dimensional Modelling
UML, ER and Dimensional ModellingStefano Dalla Palma
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSAshita Agrawal
 
2012.10 - DDI Lifecycle - Moving Forward - 3
2012.10 - DDI Lifecycle - Moving Forward - 32012.10 - DDI Lifecycle - Moving Forward - 3
2012.10 - DDI Lifecycle - Moving Forward - 3Dr.-Ing. Thomas Hartmann
 
OBJECT DIAGRAM.pptx
OBJECT DIAGRAM.pptxOBJECT DIAGRAM.pptx
OBJECT DIAGRAM.pptxAhmarBilal3
 
Darshan sem4 140703_ooad_2014 (diagrams)
Darshan sem4 140703_ooad_2014 (diagrams)Darshan sem4 140703_ooad_2014 (diagrams)
Darshan sem4 140703_ooad_2014 (diagrams)Gajeshwar Bahekar
 
Interaction Modeling
Interaction ModelingInteraction Modeling
Interaction ModelingHemant Sharma
 
Object oriented design using uml
Object oriented design using umlObject oriented design using uml
Object oriented design using umlKarunaShrivastav
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbolsKumar
 
ITU - MDD – Modeling Techniques
ITU - MDD – Modeling TechniquesITU - MDD – Modeling Techniques
ITU - MDD – Modeling TechniquesTonny Madsen
 
SE_Lec 09_ UML Behaviour Diagrams
SE_Lec 09_ UML Behaviour DiagramsSE_Lec 09_ UML Behaviour Diagrams
SE_Lec 09_ UML Behaviour DiagramsAmr E. Mohamed
 
Ch5- Software Engineering 9
Ch5- Software Engineering 9Ch5- Software Engineering 9
Ch5- Software Engineering 9Ian Sommerville
 
Ch 5 O O Data Modeling
Ch 5  O O  Data ModelingCh 5  O O  Data Modeling
Ch 5 O O Data Modelingguest8fdbdd
 
OOAD with UML (Interaction Diagramming)
OOAD with UML (Interaction Diagramming)OOAD with UML (Interaction Diagramming)
OOAD with UML (Interaction Diagramming)jsm1979
 

What's hot (20)

08 class and sequence diagrams
08   class and sequence diagrams08   class and sequence diagrams
08 class and sequence diagrams
 
0136061257
01360612570136061257
0136061257
 
UML, ER and Dimensional Modelling
UML, ER and Dimensional ModellingUML, ER and Dimensional Modelling
UML, ER and Dimensional Modelling
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
2012.10 - DDI Lifecycle - Moving Forward - 3
2012.10 - DDI Lifecycle - Moving Forward - 32012.10 - DDI Lifecycle - Moving Forward - 3
2012.10 - DDI Lifecycle - Moving Forward - 3
 
OBJECT DIAGRAM.pptx
OBJECT DIAGRAM.pptxOBJECT DIAGRAM.pptx
OBJECT DIAGRAM.pptx
 
Darshan sem4 140703_ooad_2014 (diagrams)
Darshan sem4 140703_ooad_2014 (diagrams)Darshan sem4 140703_ooad_2014 (diagrams)
Darshan sem4 140703_ooad_2014 (diagrams)
 
Interaction Modeling
Interaction ModelingInteraction Modeling
Interaction Modeling
 
Object oriented design using uml
Object oriented design using umlObject oriented design using uml
Object oriented design using uml
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
 
ITU - MDD – Modeling Techniques
ITU - MDD – Modeling TechniquesITU - MDD – Modeling Techniques
ITU - MDD – Modeling Techniques
 
UML Notation
UML NotationUML Notation
UML Notation
 
SE_Lec 09_ UML Behaviour Diagrams
SE_Lec 09_ UML Behaviour DiagramsSE_Lec 09_ UML Behaviour Diagrams
SE_Lec 09_ UML Behaviour Diagrams
 
DBMS - ER Model
DBMS - ER ModelDBMS - ER Model
DBMS - ER Model
 
2 class use case
2 class use case2 class use case
2 class use case
 
Ch5- Software Engineering 9
Ch5- Software Engineering 9Ch5- Software Engineering 9
Ch5- Software Engineering 9
 
uml
umluml
uml
 
Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
Ch 5 O O Data Modeling
Ch 5  O O  Data ModelingCh 5  O O  Data Modeling
Ch 5 O O Data Modeling
 
OOAD with UML (Interaction Diagramming)
OOAD with UML (Interaction Diagramming)OOAD with UML (Interaction Diagramming)
OOAD with UML (Interaction Diagramming)
 

Similar to Unified Modelling Language

Lecture#02, building blocks of uml ASE
Lecture#02, building blocks of uml ASELecture#02, building blocks of uml ASE
Lecture#02, building blocks of uml ASEbabak danyal
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling languageEmmanuel Kumah
 
Uml with detail
Uml with detailUml with detail
Uml with detailHamza Khan
 
R1x g02 enterprise architecture i
R1x g02 enterprise architecture iR1x g02 enterprise architecture i
R1x g02 enterprise architecture icairo university
 
Introduction to Modeling Java and UML
Introduction to Modeling Java and UMLIntroduction to Modeling Java and UML
Introduction to Modeling Java and UMLDang Tuan
 
Intro to UML 2
Intro to UML 2Intro to UML 2
Intro to UML 2rchakra
 
Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling LanguageAMITJain879
 
Selab1 slides
Selab1 slidesSelab1 slides
Selab1 slidesSumedha
 
Introduction to Object orientation , Modeling as a Design Technique Modeling ...
Introduction to Object orientation , Modeling as a Design Technique Modeling ...Introduction to Object orientation , Modeling as a Design Technique Modeling ...
Introduction to Object orientation , Modeling as a Design Technique Modeling ...DhwaniDesai21
 

Similar to Unified Modelling Language (20)

Lecture#02, building blocks of uml ASE
Lecture#02, building blocks of uml ASELecture#02, building blocks of uml ASE
Lecture#02, building blocks of uml ASE
 
Intro Uml
Intro UmlIntro Uml
Intro Uml
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
 
Uml
UmlUml
Uml
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
 
432
432432
432
 
Uml introduciton
Uml introducitonUml introduciton
Uml introduciton
 
ooAD
ooADooAD
ooAD
 
UML
UMLUML
UML
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
 
Uml with detail
Uml with detailUml with detail
Uml with detail
 
R1x g02 enterprise architecture i
R1x g02 enterprise architecture iR1x g02 enterprise architecture i
R1x g02 enterprise architecture i
 
Introduction to Modeling Java and UML
Introduction to Modeling Java and UMLIntroduction to Modeling Java and UML
Introduction to Modeling Java and UML
 
Intro to UML 2
Intro to UML 2Intro to UML 2
Intro to UML 2
 
Uml
UmlUml
Uml
 
Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling Language
 
Learn sqa process
Learn sqa processLearn sqa process
Learn sqa process
 
Selab1 slides
Selab1 slidesSelab1 slides
Selab1 slides
 
Uml report
Uml reportUml report
Uml report
 
Introduction to Object orientation , Modeling as a Design Technique Modeling ...
Introduction to Object orientation , Modeling as a Design Technique Modeling ...Introduction to Object orientation , Modeling as a Design Technique Modeling ...
Introduction to Object orientation , Modeling as a Design Technique Modeling ...
 

Recently uploaded

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
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.pptxheathfieldcps1
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
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
 

Recently uploaded (20)

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
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
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
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
 

Unified Modelling Language

  • 1. UML (Unified Modeling Language) Visualizing  Specifying  Constructing  Documenting 
  • 2. Why do we model?  Model is a simplification of reality.  Provides blueprint of sys.  May be structural or behavioural.  Modeling-For better understanding of sys.that are developing  Achieve 4 aims: 1. Helps to visualize sys. 2. Permits to specify struc or behav of sys. 3. Provide templates to guide in constructn sys. 4. Document decisions made.
  • 3. Applications of UML  Enterprise infmn sys.  Banking and financial services.  Telecommunications  Transportation  Defense/aerospace  Medical electronics  Scientific  Distributed Web-based services
  • 4. Building blocks of UML Things II. Relationships III. Diagrams Things in the UML: Four kinds: 1. Structural things 2. Behavioral things 3. Grouping things 4. Annotational things I.
  • 5. Structural things Seven kinds: 1. Class 2. Interface 3. Collaboration 4. Use case 5. Active class 6. Component 7. Node
  • 6. Structural things.. Construct Description class a description of a set of objects that share the same attributes, operations, methods, relationships and semantics. Collection of operation that specify service of a class or component.Complete behavr.of class/compnt.describes externally visible behavr of an element. Defines interactn and is a society of roles and other elements that work together to provide some cooperative behavr that’s bigger than sum of all elements. Have structural and behavioral dimensns interface collaboration Syntax ispelling
  • 7. Structural things.. Construct Description use case Description of set of sequence of action that a sys performs. Used to structure the behavioral things in a model A class whose objts own one or more processes and therefore intiate cntrl actvty. Physical and replaceable part of a system that conform to and provides realizn of a set of interfaces a run-time physical object that represents a computational resource. active class component node Syntax Place order
  • 8. 2.Behavioral Things Construct 1.Interaction 2.State machine Description A set of msgs exchangd among a set of objts vd in a particular context to accomplish a specific purpose.Involves no.of other elements including msgs,action sequences and links Specifies sequences of state of an objt goes thru during its lifetime response to those events.Involves no.of other elements includn states,transtn,evnts syntax display Waiting
  • 9. 3.Grouping things  Organizational parts of UML models.  Models decomposed in to boxes  Primary kind is Package  Packages are basic grouping things with which UML model can be organized. Business rules
  • 10. 4.Annotational things  Explanatory parts of UML models.  Comments to describe illuminate or remark about any element in a model.  Primary kind of annotation thing called note.  Note is simply a symbol for rendering constraints and comments attached to an element or collection of elements.
  • 11. II. Relationships in the UML Construct Description a relationship between two modeling elements, in which a change to one modeling element (the independent element) will affect the other modeling element (the dependent element). a relationship between two or more association classifiers that involves connections among their instances. Aggregation is a spl kind of assocn represntn structural reltnshp b/w whole and its parts generalization Objts of specialized element(child) are substitutable for objts of the generalized element(parent). a relationship between a specification realization and its implementation. dependency Syntax
  • 12. III. Diagrams in the UML 1.Class diagram 2.Object diagram 3.Use case diagram 4.Sequence diagram 5.Collaboration diagram 6.Statechart diagram 7.Activity diagram 8.Component diagram 9.Deployment diagram
  • 13. 1.CLASS DIAGRAM  It depicts the static view of a model  It is the basic building block of the object oriented system  It illustrate the relation ship between classes in the system  Class diagram consist of:  Class diagram It consist of rectangle with three compartments Class name is added in this this compartment (teacher) Class attribute is added in this department (name ) Class methods are placed in this compartments (teach)
  • 14. 2.OBJECT DIAGRAM • Object diagrams emphasize the relationship between instances of classes at some point in time  Object is shown by a rectangular with classifier name in the center f rectangular and under line.
  • 15. 3.USE CASE DIAGRAM  This diagram consist of:  Actor It is represented by a human, either the actor is a human Or and external system. Actor is role  Use case It is represented by an oval shape with title in it
  • 16. 4.SEQUENCE DIAGRAM  Sequence diagrams provide a graphical representation of object interactions over time  The diagrams show the flow of messages from one object to another, and as such correspond to the methods and events supported by a class/object.
  • 17. 5.COLLABORATION DIAGRAM Type of an interaction diagram emphasizes structural organization of objt that send and receive msgs  Collaborates the static and dynamic relationship  Each message in a collaboration diagram has a sequence number. •
  • 18. 6.STATECHART DIAGRAM A statechart diagram shows the possible states of the object and the transitions that cause a change in state.  States are rounded rectangles.  Transitions are arrows from one state to another.  Events or conditions that trigger transitions are written beside the arrows. 
  • 19. 7.ACTIVITY DIAGRAM  Activity diagram is also dynamic view of the system  Activity diagram is used to describe the individual use case  Use case is used to describe the user goal  Activity diagram’s similar to flow charts  Each activity consist of series of actions  Actions are represented by oval shapes  Actions are connected by arrows  Arrow shows the flow of the activity diagram  Activity diagram also shows decision points called decision node
  • 20. ACTIVITY DIAGRAM.. Portion line Starting point Action Decision node Actions Endpoint
  • 21. 8.COMPONENT DIAGRAM • Shows the organizations and dependencies among software components.  Shows system in terms of modules.
  • 22. 9.DEPLOYMENT DIAGRAM  Shows the configuration of run-time processing elements and the software components, processes and objects that live on them.  Deployment diagrams may be used to show which components may run on which nodes.