SlideShare a Scribd company logo
T.Y.B.Sc.(Comp. Sci.) Sem. I
Object Oriented Software Engineering
(OOSE)
CS-336
Faculty
Dr. Amit D. Kasliwal
Asst. Professor
Chapter 2
Introduction to UML
 Unified Modeling Language, as the name implies it is a modeling
language used to visualize, specify, construct and document the artifacts
of a software.
 We should clearly understand that UML is not a system design or
development methodology, but can be used to document object oriented
and analysis results obtained using some methodology.
 A model is the graphical, textual, mathematical, or programming code
based representation.
 Models are very useful in documenting the design & analysis results.
 An important reason behind constructing a model is that it helps manage
complexity.
 Once models of a software constructed, it can be used for a variety of
purposes during software development, including Analysis, Specification,
Code generation, Design, Visualize and understand the problem and the
working of a system Testing, etc.
UML
 UML provides a set of notations (e.g. rectangles, lines, ellipses, etc.) to
create a visual model of the system.
 Like any other language, UML has its own syntax (symbols and
sentence formation rules) and semantics (meanings of symbols and
sentences).
 We use UML diagrams to portray the behavior and structure of a
system.
 Thus helping software engineers, businessmen and system architects
with modeling, design and analysis.
 In the late 1980s and early 1990s, there was a large number of object
oriented design techniques and notations.
 Different software development houses were using different notations
to document their object-oriented designs.
 These diverse notations gave rise to a lot of confusion.
 UML was developed to standardize the large number of object oriented
modeling notations that existed and were used extensively in the early
1990s. It uses the principles and has borrowed many concepts from
modeling techniques of :
• Object Management Technology [Rumbaugh 1991]
• Booch’s Methodology [Booch 1991]
• Object-Oriented Software Engineering [Jacobson 1992]
 UML was adopted by Object Management Group (OMG) an
association of industries which tries to facilitate early formation of
standards as a de facto standard in 1997.
 Above all, UML contains an extensive set of notations and suggests
construction by providing many types of diagrams.
 It has successfully been used to model both large and small problems.
 Its adoption by OMG and widespread acceptance, UML is now being
used in a large number of software development projects.
UML
UML Concept
 As UML describes the real time systems, it is very important to make a
conceptual model and then proceed gradually.
 The conceptual model of UML has basic building block having
following three major elements
 Things
 Relationships
 Diagrams
 Things are the most important element of building blocks of UML.
 Things can be
 Structural
 Behavioral
 Grouping
 Annotational
 Structural Things define the static part of the model.
 It represent the physical and conceptual elements.
 Class − Class represents a set of objects having similar responsibilities.
 Interface − Interface defines a set of operations, which specify the
responsibility of a class.
 Actor: It comes under the use case diagrams. It is an object that
interacts with the system from outside. For example, a user.
UML Concept
 Behavioral Things consists of the dynamic parts of proposed model.
 Interaction − It is defined as a behavior that consists of a group of
messages exchanged among elements to accomplish a specific task.
 State machine − State machine is useful when the state of an object in
its life cycle is important.
 It defines the sequence of states an object goes through in response to
events. Events are external factors responsible for state change
UML Concept
 Collaboration: It represents the interaction between things that is done
to meet the goal.
 Use case: Use case is the core concept of object-oriented modeling.
 It portrays a set of actions executed by a system to achieve the goal.
 Component: It represents the physical part of the system.
 Node: Represent physical element that exists at run time.
UML Concept
 Grouping Things can be defined as a mechanism to group elements of
a UML model together.
 Package − Package is the only one grouping thing available for
gathering structural and behavioral things.
 Annotational Things can be defined as a mechanism to capture
remarks, descriptions, and comments of UML model elements.
 Note - It is the only one Annotational thing available used to render
comments, constraints, etc. of an UML element.
UML Concept
UML Concept
 Relationship is another most important building block of UML.
 It shows how the elements are associated with each other and this
association describes the functionality of an application.
 There are four kinds of relationships.
 Association is basically a set of links that connects the elements of a
UML model.
 Dependency is a relationship between two things in which change in
one element also affects the other.
 It also describes how many objects are taking part in that relationship.
 Generalization can be defined as a relationship which connects a
specialized element with a generalized element.
 It basically describes the inheritance relationship in the world of
objects.
 Realization can be defined as a relationship in which two elements are
connected.
 One element describes some responsibility, which is not implemented
and the other one implements them.
 This relationship exists in case of interfaces.
UML Concept
UML Concept
 UML Diagram used to construct, capture and view the software by
using different types of diagrams.
 The different UML diagrams provide different perspectives of the
software system to be developed and facilitate a comprehensive
understanding of the system.
 Such models can be redefined to get the actual implementation of the
system.
 The UML diagrams can capture the following five views of a system:
• User’s view
• Structural view
• Behavioral view
• Implementation view
• Environmental view
 User's view
 This contains the diagrams in which the user's part of interaction with
the software is defined.
 No internal working is defined in this view for model. The diagrams
contained in this view is Use case Diagram.
 Structural view
 In the structural view, only the structure of the model is explained.
 This gives an estimation of what the software consists of.
 However, internal working is still not defined in this model.
 The diagram that this view includes are Class Diagrams, Object
Diagrams.
UML Concept
 Behavioral view
 The behavioral view contains the diagrams which explain the behavior of
the software. It includes Sequence Diagram, Collaboration Diagram, State
chart Diagram and Activity Diagram.
 Environmental view
 This view explains the user interactions & software effects on the system.
 It helps in view how the different components are implemented on
different pieces of hardware. It contain Deployment diagram
 Implementation view
 The view consists of the diagrams that represent the implementation part.
 This view is related to the developer’s views.
 This is the only view in which the internal workflow of the software is
defined. It contains Component Diagram
UML Concept
UML Concept
Advantages of UML
 Robust
 Reusable
 Flexible
 With UML, we know exactly what we are getting.
 We will have lower development costs.
 Software will behave as we expect it to.(With Fewer surprises)
 The right decisions are made before we are given poorly written code.
 We can develop more memory and processor efficient systems.
 System maintenance costs will be lower.
 Less relearning takes place.
 Communication with stakeholders will be more efficient.
Introduction to Unified Modeling Language
Ad

More Related Content

What's hot (20)

Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagrams
Swathy T
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
barney92
 
Tema 1 -T2: La ingeniería de requisitos de software
Tema 1 -T2: La ingeniería de requisitos de softwareTema 1 -T2: La ingeniería de requisitos de software
Tema 1 -T2: La ingeniería de requisitos de software
Universidad Nacional Experimental de Caracas
 
Design Concept software engineering
Design Concept software engineeringDesign Concept software engineering
Design Concept software engineering
Darshit Metaliya
 
UML
UMLUML
UML
iQra Rafaqat
 
Ooad unit – 1 introduction
Ooad unit – 1 introductionOoad unit – 1 introduction
Ooad unit – 1 introduction
Babeetha Muruganantham
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
Kartik Raghuvanshi
 
Del modelo del negocio al modelo de requisitos
Del modelo del negocio al modelo de requisitosDel modelo del negocio al modelo de requisitos
Del modelo del negocio al modelo de requisitos
YAMILA GASCON
 
Architectural modeling chapter 5 of omd
Architectural modeling chapter 5 of omdArchitectural modeling chapter 5 of omd
Architectural modeling chapter 5 of omd
jayashri kolekar
 
Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
Ashesh R
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
artgreen
 
5.state diagrams
5.state diagrams5.state diagrams
5.state diagrams
APU
 
Uml Common Mechanism
Uml Common MechanismUml Common Mechanism
Uml Common Mechanism
Satyamevjayte Haxor
 
Object Oriented Analysis
Object Oriented AnalysisObject Oriented Analysis
Object Oriented Analysis
AMITJain879
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
sabin kafle
 
Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagrams
Alaa Ahmed
 
Unit iii(part c - user interface design)
Unit   iii(part c - user interface design)Unit   iii(part c - user interface design)
Unit iii(part c - user interface design)
BALAJI A
 
Uml class-diagram
Uml class-diagramUml class-diagram
Uml class-diagram
ASHOK KUMAR PALAKI
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
Requirements modeling
Requirements modelingRequirements modeling
Requirements modeling
AnanthiP8
 
Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagrams
Swathy T
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
barney92
 
Design Concept software engineering
Design Concept software engineeringDesign Concept software engineering
Design Concept software engineering
Darshit Metaliya
 
Del modelo del negocio al modelo de requisitos
Del modelo del negocio al modelo de requisitosDel modelo del negocio al modelo de requisitos
Del modelo del negocio al modelo de requisitos
YAMILA GASCON
 
Architectural modeling chapter 5 of omd
Architectural modeling chapter 5 of omdArchitectural modeling chapter 5 of omd
Architectural modeling chapter 5 of omd
jayashri kolekar
 
Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
Ashesh R
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
artgreen
 
5.state diagrams
5.state diagrams5.state diagrams
5.state diagrams
APU
 
Object Oriented Analysis
Object Oriented AnalysisObject Oriented Analysis
Object Oriented Analysis
AMITJain879
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
sabin kafle
 
Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagrams
Alaa Ahmed
 
Unit iii(part c - user interface design)
Unit   iii(part c - user interface design)Unit   iii(part c - user interface design)
Unit iii(part c - user interface design)
BALAJI A
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
Requirements modeling
Requirements modelingRequirements modeling
Requirements modeling
AnanthiP8
 

Similar to Introduction to Unified Modeling Language (20)

UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)
Shamsunder Malgikar
 
Uml tutorial
Uml tutorialUml tutorial
Uml tutorial
Minh Pham
 
Uml tutorial
Uml tutorialUml tutorial
Uml tutorial
Saurabh Goel
 
Uml tutorial
Uml tutorialUml tutorial
Uml tutorial
Ashenafi Workie
 
Uml Tutorial
Uml TutorialUml Tutorial
Uml Tutorial
AkramWaseem
 
UML Tutorial
UML TutorialUML Tutorial
UML Tutorial
Sourabh Macmaniac
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
AnjaliParihar13
 
Uml
UmlUml
Uml
Sulman Ahmed
 
Object oriented analysis and design unit- ii
Object oriented analysis and design unit- iiObject oriented analysis and design unit- ii
Object oriented analysis and design unit- ii
Shri Shankaracharya College, Bhilai,Junwani
 
Object-Oriented Analysis and Design report
Object-Oriented Analysis and Design reportObject-Oriented Analysis and Design report
Object-Oriented Analysis and Design report
ritikapoudel2017
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
mahammed rashid
 
Uml overview modified
Uml overview modifiedUml overview modified
Uml overview modified
senthilkumar_ak
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
Dinkar Mishra
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
Emmanuel Kumah
 
Introduction to unified language modeling.pptx
Introduction to unified language modeling.pptxIntroduction to unified language modeling.pptx
Introduction to unified language modeling.pptx
MBIEDANGOMEGNIFRANKG
 
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdfPhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
JAYANTHIKANNAN8
 
Uml
UmlUml
Uml
Vishwa Mohan
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
ganesh12july
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
surana college
 
4_5904551816829340505wewewewewewewew.ppt
4_5904551816829340505wewewewewewewew.ppt4_5904551816829340505wewewewewewewew.ppt
4_5904551816829340505wewewewewewewew.ppt
PankiaMerAmun
 
Ad

More from AMITJain879 (7)

Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
AMITJain879
 
Architectural Modeling
Architectural ModelingArchitectural Modeling
Architectural Modeling
AMITJain879
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
AMITJain879
 
Basic Behavioral Modeling
Basic Behavioral ModelingBasic Behavioral Modeling
Basic Behavioral Modeling
AMITJain879
 
Advanced Structural Modeling
Advanced Structural ModelingAdvanced Structural Modeling
Advanced Structural Modeling
AMITJain879
 
Basic Structural Modeling
Basic Structural ModelingBasic Structural Modeling
Basic Structural Modeling
AMITJain879
 
What is Object Orientation?
What is Object Orientation?What is Object Orientation?
What is Object Orientation?
AMITJain879
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
AMITJain879
 
Architectural Modeling
Architectural ModelingArchitectural Modeling
Architectural Modeling
AMITJain879
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
AMITJain879
 
Basic Behavioral Modeling
Basic Behavioral ModelingBasic Behavioral Modeling
Basic Behavioral Modeling
AMITJain879
 
Advanced Structural Modeling
Advanced Structural ModelingAdvanced Structural Modeling
Advanced Structural Modeling
AMITJain879
 
Basic Structural Modeling
Basic Structural ModelingBasic Structural Modeling
Basic Structural Modeling
AMITJain879
 
What is Object Orientation?
What is Object Orientation?What is Object Orientation?
What is Object Orientation?
AMITJain879
 
Ad

Recently uploaded (20)

Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Dele Amefo
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and CollaborateMeet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Maxim Salnikov
 
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
Egor Kaleynik
 
Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025
kashifyounis067
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& ConsiderationsDesigning AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Dinusha Kumarasiri
 
Not So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java WebinarNot So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java Webinar
Tier1 app
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Salesforce Data Cloud- Hyperscale data platform, built for Salesforce.
Dele Amefo
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and CollaborateMeet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Maxim Salnikov
 
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
How Valletta helped healthcare SaaS to transform QA and compliance to grow wi...
Egor Kaleynik
 
Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025
kashifyounis067
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& ConsiderationsDesigning AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Dinusha Kumarasiri
 
Not So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java WebinarNot So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java Webinar
Tier1 app
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 

Introduction to Unified Modeling Language

  • 1. T.Y.B.Sc.(Comp. Sci.) Sem. I Object Oriented Software Engineering (OOSE) CS-336 Faculty Dr. Amit D. Kasliwal Asst. Professor
  • 2. Chapter 2 Introduction to UML  Unified Modeling Language, as the name implies it is a modeling language used to visualize, specify, construct and document the artifacts of a software.  We should clearly understand that UML is not a system design or development methodology, but can be used to document object oriented and analysis results obtained using some methodology.  A model is the graphical, textual, mathematical, or programming code based representation.  Models are very useful in documenting the design & analysis results.  An important reason behind constructing a model is that it helps manage complexity.  Once models of a software constructed, it can be used for a variety of purposes during software development, including Analysis, Specification, Code generation, Design, Visualize and understand the problem and the working of a system Testing, etc.
  • 3. UML  UML provides a set of notations (e.g. rectangles, lines, ellipses, etc.) to create a visual model of the system.  Like any other language, UML has its own syntax (symbols and sentence formation rules) and semantics (meanings of symbols and sentences).  We use UML diagrams to portray the behavior and structure of a system.  Thus helping software engineers, businessmen and system architects with modeling, design and analysis.  In the late 1980s and early 1990s, there was a large number of object oriented design techniques and notations.  Different software development houses were using different notations to document their object-oriented designs.  These diverse notations gave rise to a lot of confusion.
  • 4.  UML was developed to standardize the large number of object oriented modeling notations that existed and were used extensively in the early 1990s. It uses the principles and has borrowed many concepts from modeling techniques of : • Object Management Technology [Rumbaugh 1991] • Booch’s Methodology [Booch 1991] • Object-Oriented Software Engineering [Jacobson 1992]  UML was adopted by Object Management Group (OMG) an association of industries which tries to facilitate early formation of standards as a de facto standard in 1997.  Above all, UML contains an extensive set of notations and suggests construction by providing many types of diagrams.  It has successfully been used to model both large and small problems.  Its adoption by OMG and widespread acceptance, UML is now being used in a large number of software development projects. UML
  • 5. UML Concept  As UML describes the real time systems, it is very important to make a conceptual model and then proceed gradually.  The conceptual model of UML has basic building block having following three major elements  Things  Relationships  Diagrams  Things are the most important element of building blocks of UML.  Things can be  Structural  Behavioral  Grouping  Annotational
  • 6.  Structural Things define the static part of the model.  It represent the physical and conceptual elements.  Class − Class represents a set of objects having similar responsibilities.  Interface − Interface defines a set of operations, which specify the responsibility of a class.  Actor: It comes under the use case diagrams. It is an object that interacts with the system from outside. For example, a user. UML Concept
  • 7.  Behavioral Things consists of the dynamic parts of proposed model.  Interaction − It is defined as a behavior that consists of a group of messages exchanged among elements to accomplish a specific task.  State machine − State machine is useful when the state of an object in its life cycle is important.  It defines the sequence of states an object goes through in response to events. Events are external factors responsible for state change UML Concept
  • 8.  Collaboration: It represents the interaction between things that is done to meet the goal.  Use case: Use case is the core concept of object-oriented modeling.  It portrays a set of actions executed by a system to achieve the goal.  Component: It represents the physical part of the system.  Node: Represent physical element that exists at run time. UML Concept
  • 9.  Grouping Things can be defined as a mechanism to group elements of a UML model together.  Package − Package is the only one grouping thing available for gathering structural and behavioral things.  Annotational Things can be defined as a mechanism to capture remarks, descriptions, and comments of UML model elements.  Note - It is the only one Annotational thing available used to render comments, constraints, etc. of an UML element. UML Concept
  • 10. UML Concept  Relationship is another most important building block of UML.  It shows how the elements are associated with each other and this association describes the functionality of an application.  There are four kinds of relationships.  Association is basically a set of links that connects the elements of a UML model.  Dependency is a relationship between two things in which change in one element also affects the other.  It also describes how many objects are taking part in that relationship.
  • 11.  Generalization can be defined as a relationship which connects a specialized element with a generalized element.  It basically describes the inheritance relationship in the world of objects.  Realization can be defined as a relationship in which two elements are connected.  One element describes some responsibility, which is not implemented and the other one implements them.  This relationship exists in case of interfaces. UML Concept
  • 12. UML Concept  UML Diagram used to construct, capture and view the software by using different types of diagrams.  The different UML diagrams provide different perspectives of the software system to be developed and facilitate a comprehensive understanding of the system.  Such models can be redefined to get the actual implementation of the system.  The UML diagrams can capture the following five views of a system: • User’s view • Structural view • Behavioral view • Implementation view • Environmental view
  • 13.  User's view  This contains the diagrams in which the user's part of interaction with the software is defined.  No internal working is defined in this view for model. The diagrams contained in this view is Use case Diagram.  Structural view  In the structural view, only the structure of the model is explained.  This gives an estimation of what the software consists of.  However, internal working is still not defined in this model.  The diagram that this view includes are Class Diagrams, Object Diagrams. UML Concept
  • 14.  Behavioral view  The behavioral view contains the diagrams which explain the behavior of the software. It includes Sequence Diagram, Collaboration Diagram, State chart Diagram and Activity Diagram.  Environmental view  This view explains the user interactions & software effects on the system.  It helps in view how the different components are implemented on different pieces of hardware. It contain Deployment diagram  Implementation view  The view consists of the diagrams that represent the implementation part.  This view is related to the developer’s views.  This is the only view in which the internal workflow of the software is defined. It contains Component Diagram UML Concept
  • 16. Advantages of UML  Robust  Reusable  Flexible  With UML, we know exactly what we are getting.  We will have lower development costs.  Software will behave as we expect it to.(With Fewer surprises)  The right decisions are made before we are given poorly written code.  We can develop more memory and processor efficient systems.  System maintenance costs will be lower.  Less relearning takes place.  Communication with stakeholders will be more efficient.