SlideShare a Scribd company logo
UML Prepared By: MUHAMMAD HAMZA KHAN
What is UML?
 UML stands for Unified Modeling Language
 UML is a diagramming language designed for Object-
Oriented programming
 UML can be describe:
 the organization of a program
 how a program executes
 how a program is used
 how a program is deployed over a network
 …and more
Why we use UML?
 Use graphical notation: more clearly than natural language
(imprecise) and code (too detailed).
 Help acquire an overall view of a system.
 UML is not dependent on any one language or technology.
 UML moves us from breakup to standardization.
Types of UML
 Class diagram
 Component diagram
 Development diagram
 Object diagram
 Package diagram
 Profile diagram
 Composite structure diagram
 Use case diagram
 Activity diagram
 State machine diagram
 Sequence diagram
 Communication diagram
 Interaction overview diagram
 Timing diagram
Class Diagram
 A class diagram shows classes, interfaces, and their
relationships
 It shows the classes in a system, attributes and operations of
each class and the relationship between each class.
ClassName
attributes
operations
Class Name
 The name of the class is the
only required tag in the
graphical representation of a
class.
 It always appears in the top-
most compartment.
ClassName
attributes
operations
Class Attributes
 An attribute is a named property
of a class that describes the object
being modeled. In the class
diagram, attributes appear in the
second compartment just below
the name-compartment.
Person
name :
address :
Birthdate :
Class Attributes (Cont’d)
 Attributes are usually listed in the
form:
 attributeName : Type
Person
name : string
address : string
birthdate : int
Class Attributes (Cont’d)
 Attributes can be:
 + public
 # protected
 - private
Person
+ name : string
-address : string
#birthdate : int
Class Operations
 Operations describe the class
behavior
 and appear in the third
compartment.
Person
name : string
address : string
birthdate : int
+Eat():void
+Sleep():void
+Work():void
+Play():void
THANK YOU

More Related Content

PPTX
Uml introduction
Muhammad Sayam
 
PPTX
What is UML (Unified Modeling Language)?
Eliza Wright
 
PPTX
Uml Presentation
IrfanFaisal786
 
PPTX
UML Modeling in Java
Daffodil International University
 
PPTX
Introduction to the Unified Modeling Language (UML)
Marwa Ali Eissa
 
PDF
UNIFIED MODELING LANGUAGE
Raval Chirag
 
PPTX
Uml Diagrams for Web Developers
Dave Kelleher
 
PPT
Object Oriented Analysis & Design
kpthakershy
 
Uml introduction
Muhammad Sayam
 
What is UML (Unified Modeling Language)?
Eliza Wright
 
Uml Presentation
IrfanFaisal786
 
UML Modeling in Java
Daffodil International University
 
Introduction to the Unified Modeling Language (UML)
Marwa Ali Eissa
 
UNIFIED MODELING LANGUAGE
Raval Chirag
 
Uml Diagrams for Web Developers
Dave Kelleher
 
Object Oriented Analysis & Design
kpthakershy
 

What's hot (19)

PPT
Uml introduciton
Dr. C.V. Suresh Babu
 
PPTX
Uml
eleksdev
 
PDF
Uml types
dkodedara
 
PDF
Unified Modeling Language
Prof. Erwin Globio
 
PPTX
Uml with detail
Hamza Khan
 
PPTX
Use case diagram
laibaNoor60
 
PPT
UML
iQra Rafaqat
 
PPTX
UML and Software Modeling Tools.pptx
Nwabueze Obioma
 
PPT
Class diagram
Praneeth Yadav
 
PPTX
Uml
Vishwa Mohan
 
PPT
4.o o design tools=uml -_lecture 4
Warui Maina
 
PDF
Class diagram- UML diagram
Ramakant Soni
 
PPTX
Class diagram
SESP123
 
DOCX
Ooad lab1
maamir farooq
 
PPT
Object Oriented Analysis and Design
university of education,Lahore
 
Uml introduciton
Dr. C.V. Suresh Babu
 
Uml types
dkodedara
 
Unified Modeling Language
Prof. Erwin Globio
 
Uml with detail
Hamza Khan
 
Use case diagram
laibaNoor60
 
UML and Software Modeling Tools.pptx
Nwabueze Obioma
 
Class diagram
Praneeth Yadav
 
4.o o design tools=uml -_lecture 4
Warui Maina
 
Class diagram- UML diagram
Ramakant Soni
 
Class diagram
SESP123
 
Ooad lab1
maamir farooq
 
Object Oriented Analysis and Design
university of education,Lahore
 
Ad

Similar to Uml BSE (20)

PDF
Software Architecture and Design-Ch-2-v6.pdf
Salahaddin University-Erbil, University of Kurdistan Hewler
 
PPTX
ITSE_10(UML,OO).pptx
mubashirahmed0296
 
PPTX
What is UML - basic concepts about - OOP
mmoralesm3
 
PPTX
Uml Presentation
anasz3z3
 
PPTX
UNIFIED MODELLING LANGUAGE (UML)
Shamsunder Malgikar
 
PDF
Unit 2 - Unified Modeling Language (UML).pdf
sixokak391
 
PPT
Uml
Sulman Ahmed
 
PPTX
UML overview
OlegKucherenko3
 
DOC
Project of Airline booking system
muthahar.sk
 
PPT
Chapter 2-Unified Modeling Languagee.ppt
SisayNegash4
 
PPT
Chapter 2-Unified Modeling Languagee.ppt
SisayNegash4
 
PPTX
Chapter 2.pptx
RobaDechasa
 
PPTX
Unified modelling language (UML)
Hirra Sultan
 
PPTX
3.UML Diagrams.pptx
MuhammadIrfan713783
 
PPTX
UML Design.pptx
Md. Nazmus Saqib Khan
 
PPTX
UML Notation
Inocentshuja Ahmad
 
PPTX
Unified Modeling Language (UML)basic con.pptx
xiberi2562
 
PPTX
Introduction to UML
Mamun Ahmed
 
Software Architecture and Design-Ch-2-v6.pdf
Salahaddin University-Erbil, University of Kurdistan Hewler
 
ITSE_10(UML,OO).pptx
mubashirahmed0296
 
What is UML - basic concepts about - OOP
mmoralesm3
 
Uml Presentation
anasz3z3
 
UNIFIED MODELLING LANGUAGE (UML)
Shamsunder Malgikar
 
Unit 2 - Unified Modeling Language (UML).pdf
sixokak391
 
UML overview
OlegKucherenko3
 
Project of Airline booking system
muthahar.sk
 
Chapter 2-Unified Modeling Languagee.ppt
SisayNegash4
 
Chapter 2-Unified Modeling Languagee.ppt
SisayNegash4
 
Chapter 2.pptx
RobaDechasa
 
Unified modelling language (UML)
Hirra Sultan
 
3.UML Diagrams.pptx
MuhammadIrfan713783
 
UML Design.pptx
Md. Nazmus Saqib Khan
 
UML Notation
Inocentshuja Ahmad
 
Unified Modeling Language (UML)basic con.pptx
xiberi2562
 
Introduction to UML
Mamun Ahmed
 
Ad

Recently uploaded (20)

PDF
protein structure and function for basics .pdf
RakeshKumar508211
 
PPTX
Postmodernism notes for literature students
POORNIMAN26
 
PPTX
Presentation of Project of Enterprenuership topic- "Green Gaurdian"
vinay patel
 
PPT
strucure of protein geomics for new .ppt
RakeshKumar508211
 
PPTX
Caption Text about Social Media Post in Internet
DidinDaengLiong
 
PPTX
business communication final draftt.pptx
jiyasharma1701
 
DOCX
Ss Peter & Paul Choir Formation Training
kiambutownshipsecond
 
PPTX
Bob Stewart Journey to Rome 07 30 2025.pptx
FamilyWorshipCenterD
 
PDF
Enhancing Bambara Groundnut Production Through Improved Agronomic Practices
Francois Stepman
 
PPTX
Cohort Study_PPT.group presentation_pdf.pptx
fatemakhan242
 
PPTX
garment-industry in bangladesh. how bangladeshi industry is doing
tanvirhossain1570
 
DOCX
Policies & Procedures of Internal Audit Department of Shelter Holding LLC.docx
AlamGir100
 
PPTX
Understanding-Communication-Berlos-S-M-C-R-Model.pptx
JommelVienne
 
PPTX
CASE PRESENTATION prev 1 lscs[1].pptxgyjgg
PriyalSharma25
 
PPTX
Iconic Destinations in India: Explore Heritage and Beauty
dhorashankar
 
PPTX
Information Security and Risk Management.pptx
prembasnet12
 
PPTX
PHILIPPINE LITERATURE DURING SPANISH ERA
AllizaJoyMendigoria
 
PPTX
What is Clause, definition and structure
DidinDaengLiong
 
PPTX
IBA DISTRICT PIR PRESENTATION.POWERPOINT
ROGELIOLADIERO1
 
PPTX
DARKWEB Deepweb what to do or not ?.pptx
prembasnet12
 
protein structure and function for basics .pdf
RakeshKumar508211
 
Postmodernism notes for literature students
POORNIMAN26
 
Presentation of Project of Enterprenuership topic- "Green Gaurdian"
vinay patel
 
strucure of protein geomics for new .ppt
RakeshKumar508211
 
Caption Text about Social Media Post in Internet
DidinDaengLiong
 
business communication final draftt.pptx
jiyasharma1701
 
Ss Peter & Paul Choir Formation Training
kiambutownshipsecond
 
Bob Stewart Journey to Rome 07 30 2025.pptx
FamilyWorshipCenterD
 
Enhancing Bambara Groundnut Production Through Improved Agronomic Practices
Francois Stepman
 
Cohort Study_PPT.group presentation_pdf.pptx
fatemakhan242
 
garment-industry in bangladesh. how bangladeshi industry is doing
tanvirhossain1570
 
Policies & Procedures of Internal Audit Department of Shelter Holding LLC.docx
AlamGir100
 
Understanding-Communication-Berlos-S-M-C-R-Model.pptx
JommelVienne
 
CASE PRESENTATION prev 1 lscs[1].pptxgyjgg
PriyalSharma25
 
Iconic Destinations in India: Explore Heritage and Beauty
dhorashankar
 
Information Security and Risk Management.pptx
prembasnet12
 
PHILIPPINE LITERATURE DURING SPANISH ERA
AllizaJoyMendigoria
 
What is Clause, definition and structure
DidinDaengLiong
 
IBA DISTRICT PIR PRESENTATION.POWERPOINT
ROGELIOLADIERO1
 
DARKWEB Deepweb what to do or not ?.pptx
prembasnet12
 

Uml BSE

  • 1. UML Prepared By: MUHAMMAD HAMZA KHAN
  • 2. What is UML?  UML stands for Unified Modeling Language  UML is a diagramming language designed for Object- Oriented programming  UML can be describe:  the organization of a program  how a program executes  how a program is used  how a program is deployed over a network  …and more
  • 3. Why we use UML?  Use graphical notation: more clearly than natural language (imprecise) and code (too detailed).  Help acquire an overall view of a system.  UML is not dependent on any one language or technology.  UML moves us from breakup to standardization.
  • 4. Types of UML  Class diagram  Component diagram  Development diagram  Object diagram  Package diagram  Profile diagram  Composite structure diagram  Use case diagram  Activity diagram  State machine diagram  Sequence diagram  Communication diagram  Interaction overview diagram  Timing diagram
  • 5. Class Diagram  A class diagram shows classes, interfaces, and their relationships  It shows the classes in a system, attributes and operations of each class and the relationship between each class. ClassName attributes operations
  • 6. Class Name  The name of the class is the only required tag in the graphical representation of a class.  It always appears in the top- most compartment. ClassName attributes operations
  • 7. Class Attributes  An attribute is a named property of a class that describes the object being modeled. In the class diagram, attributes appear in the second compartment just below the name-compartment. Person name : address : Birthdate :
  • 8. Class Attributes (Cont’d)  Attributes are usually listed in the form:  attributeName : Type Person name : string address : string birthdate : int
  • 9. Class Attributes (Cont’d)  Attributes can be:  + public  # protected  - private Person + name : string -address : string #birthdate : int
  • 10. Class Operations  Operations describe the class behavior  and appear in the third compartment. Person name : string address : string birthdate : int +Eat():void +Sleep():void +Work():void +Play():void