SlideShare ist ein Scribd-Unternehmen logo
1 von 56
Presented to Mr. Syed Ali Imran
Presented By
UML
 What is UML
 History of UML
 Importance of software model
 Various diagram of UML
 Use of UML Diagram
What is UML
 Unified modeling language (UML) for visualizing,







specifying, constructing, documenting of artifact of a
software system
The blueprint of a system is written in it
UML is also used for modeling non-software system
It is standard for building object oriented and
component based software system
UML is a notation system though which we can
visualize a model of a system
It describe only design or structure of system
History of UML
 In early stages of model driven development there was

a great need for some universal approach for
modeling a software system
 As deferent people understand the notation in
different way if there is no universal model approach
 At that time brooch, rumba, Jacobson gave there
theories and universally accepted
 All of three decided to build a notation language by
merging all of three language and out product of that
was UML (unified modeling language )
History of UML
 In 1997 OMG (Object management group) a non profit

organization standardized the UML
 Since then they are making improvement in UML
 Released versions of UML
Versions of UML











2.2 February 2009 http://www.omg.org/spec/UML/2.2
2.1.2 November 2007 http://www.omg.org/spec/UML/2.1.2
2.1.1 August 2007
http://www.omg.org/spec/UML/2.1.1
2.0 July 2005
http://www.omg.org/spec/UML/2.0
1.5 March 2003
http://www.omg.org/spec/UML/1.5
1.4.2 July 2004
ISO/IEC 19501
1.4 September 2001 http://www.omg.org/spec/UML/1.4
1.3 March 2000
http://www.omg.org/spec/UML/1.3
1.2 July 1998
1.1 November 1997
UML 1.1
 Use case diagrams (fulfill purposed functionality)
 Class diagrams (depict static view and relationship)
 Object diagrams (depict view of instance of class )
 Sequence diagrams (depict messages over time line)
 Collaboration diagrams (like sequence diagram but define






object roles)
State chart diagrams (depicts states of the object)
Activity diagrams (dynamic view like flow chart )
Component diagrams (depict components )
Deployment diagrams (depict physical layout of system )
New in UML2.0
 Changes in activity diagram
 The first noticeable change is that the nodes in activity

diagrams are no longer called activities. They are
called actions
 These constraints are shown as notes attached to the
action with the appropriate stereotype symbol
 In UML 2.0, an action will not fire until each of the
incoming flows triggers
 new to UML 2.0, is the time signal. A time signal is
received because a certain amount of time has passed
New in UML 2.0
 The final addition to the basic activity diagram is the

connector.
 The connector indicates that a flow moves from one
activity diagram to another.
 UML 2.0 contains three new ways to group and
decompose actions
 UML 2.0 introduces activity partitions to handle
problems
New to UML 2.0
 Changes in Class diagram
 Visibility is a single character representing whether the








attribute is visible to the
public (+),
private (-),
protected (#),
or package (~).
The slash (/)
Indicates whether the attribute is derived
Use Case diagram
 Changes in use case diagram
 The exact extension point that is used between the two

use cases
Importance of Software Model
 If software is complex need of model
 If a system is developed by the hundreds of People






there is also need of model for smooth communication
and understanding the software system
mange complexity in design
build and design architecture
Visualize the implementation
Design secure , scalable, robust and extendable system
UML 2.0 Diagrams
 UML is divided in to two General set of Diagrams
 Structured modeling diagrams

It depicts the static view of the model
 Behavioral modeling diagram
Behavior diagrams depicts the varieties of interaction
within a model as it 'executes' over time
Structural Modeling Diagram
 Class Diagram
 Object Diagram
 Component Diagram

 Package Diagram
 Composite Structure
 Deployment Diagram
Behavioral Modeling Diagram
 Use Case Diagram
 Activity Diagram
 State Machine Diagram

 Communication Diagram
 Sequence Diagram
 Timing Diagram

 Interaction Over view Diagram
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)
Class diagram
 + sign with attributes or methods shows class member are

public
 - sign with attribute or methods shows class members are
private

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)
Class diagram
 Class diagram show relationship between class
 Generalizations

A generalization is used to indicate inheritance.
 Aggregations
Aggregations are used to depict elements which are
made up of smaller components
Example composite-Aggregation
Address book and contact group and contacts
Class diagram
Association Relationship
Composition
Generalization
Object diagram
 An object diagram may be considered a special case of





a class 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
Object diagram shows complex relationship between
classes
It is useful if we feel classes as more abstract abstract
Object diagram
Package diagram
 Package diagram are used to divide the model into logical







containers and their interaction
Package diagram is used to show the high level view of the
system
As software system have a lot of class (building block in
object oriented system) to organize those in a package to
show higher level view of the system
Package is used to structure your classes
Package diagram is used divide the complex system in to
modules
And In large system to show the large elements and their
communication
It is used in large and complex systems
Package diagram (merge)
Package diagram
 A «merge» connector between two packages defines

an implicit generalization between elements in the
source package
Component diagram
 Component diagram shows the system in term





modules
Components can be represented as encapsulated,
reusable, replaceable
Component can be used as building block of the
system
Component communicate with each other through
interfaces
Component can do the same thing as class
Component diagram
Component diagram
 Component diagram are shown same as class instead

of sign in the component diagram
component

required interface

port

provided interface
Component diagram
 Ball represented provided interfaces
 Provided interfaces that’s a component implements
 Required interfaces that a component required to

provide its functionality
 Port is door way through communication pass
 Component is useful to show the system in term of
module
Deployment diagram
 Deployment diagram model the physical layout of the

system mapping software artifact to hardware in
which they execute and their communication
 Deployment diagram is used to show the physical
deployment of the system
 Deployment diagram has node which may be a hard
ware or any device that host the software and my be a
software that host another software (example
operating system)
 Artifacts shows the software that is implemented on
the hardware
Deployment diagram
All Behavioral Diagrams
Behavioral Modeling Diagram
 Use Case Diagram
 Activity Diagram
 State Machine Diagram

 Communication Diagram
 Sequence Diagram
 Timing Diagram

 Interaction Over view Diagram
Use Case Diagram
 A USE CASE is an interaction between a system and external










stimulate, that could a human and may be an external system
A USE CASE diagram is an purposed functionality of the system
USE CASE diagram is used to show a discrete unit of work
It is used at early stages of model
It is the simplest diagram
Example of USE CASE for a Stock trading system
Open an account
Close an account
Deposit funds
Draw funds
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
Use Case diagram
 USE CASE diagram have relationship
 Include

It is relationship between a use case to another use case
In which a include use case in necessary to perform
other use case, for example in place order use case
every time the check funds use case is included to
complete the place order use case
place order(use case)

<include >

(check funds) use case
Use Case diagram
 USE CASE diagram have relationship
 Extends

It is relationship between a use case to another use case
In which a extends use case in exceptionally called for
example, if before modifying a particular type of customer
order, a user must get approval from some higher authority
then the <Get Approval> use case may optionally extend
the regular <Modify Order> use case.

Modify order(use case)

<extends>

(Get Approved) use case
State diagram
 It shows the dynamic view of the system
 It is also called state chart or state machine diagram
 It shows the behavior of the system in response to

some external stimulate
 State diagram is consist of:
States
super states
pseudo state
Transition
State diagram
 State and super states are represented as a rounded

box and sub states are in super state




Pseudo
State



Super State

Psedu state
Trantion

Sub State 1

Transient

sub state 2
State diagram
Activity diagram
 Activity diagram is also dynamic view of the system
 Activity diagram 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
portions line
starting point

Actions

Decision node
action

actions

End point
Activity diagram
 Activity diagram is used to describe the individual use

case
 Use case is used to describe the user goal
 Activity diagram can be used where we can use flow
charts
Timing diagram
 Timing diagrams are used to display the change in state or value of one

or more elements over time.
 A state lifeline shows the change of state of an item over time
 The X-axis displays elapsed time in whatever units are chosen
 The Y-axis is label with a given list of states
Communication diagrams
 A communication diagram, formerly called a







collaboration diagram
It shows similar information to sequence diagrams
Communication diagram shows the objects
relationship
Objects are shown with association connectors
between them
Messages are added to the associations and show as
short arrows pointing in the direction of the message
flow
Communication diagram
Interaction Overview diagram
 Interaction diagram is the combination of activity and sequence







diagrams
It allow interaction fragments to be easily combined with
decision points and flows
An interaction overview diagram is a form of activity diagram in
which the nodes represent interaction diagrams.
Interaction diagrams can include sequence, communication,
interaction overview and timing diagrams.
Most of the notation for interaction overview diagrams is the
same for activity diagrams. For example, initial, final, decision,
and join nodes are all the same.
Interaction overview diagrams introduce two new elements:
interaction occurrences and interaction elements.
Interaction Overview diagram
 Interaction occurrences are references to existing

interaction diagrams.
 An interaction occurrence is shown as a reference
frame; that is, a frame with "ref" in the top-left corner
 Interaction elements are similar to interaction
occurrences, in that they display a representation of
existing interaction diagrams within a rectangular
frame
Interaction Overview Diagram
Interaction Overview
 All the same controls from activity diagrams (fork,

join, merge, etc.)
 Controls can be used on interaction overview diagrams
to put the control logic around the lower level
diagrams.
 The above example depicts a sample sale process
Sequence diagram
 Sequence diagrams provide a graphical representation

of object interactions over time
 One sequence diagram typically represents a single
Use Case 'scenario' or flow of events.
 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.
UML

Weitere ähnliche Inhalte

Was ist angesagt?

Unit 2(advanced class modeling & state diagram)
Unit  2(advanced class modeling & state diagram)Unit  2(advanced class modeling & state diagram)
Unit 2(advanced class modeling & state diagram)Manoj Reddy
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbolsKumar
 
Activity Diagram
Activity DiagramActivity Diagram
Activity DiagramAshesh R
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentationanasz3z3
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramAshesh R
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSAshita Agrawal
 
Uml deployment diagram
Uml deployment diagramUml deployment diagram
Uml deployment diagramAsraa Batool
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxNwabueze Obioma
 
Low level design template (1)
Low level design template (1)Low level design template (1)
Low level design template (1)anosha jamshed
 
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
 
Advanced Structural Modeling
Advanced Structural ModelingAdvanced Structural Modeling
Advanced Structural ModelingAMITJain879
 
Class diagram presentation
Class diagram presentationClass diagram presentation
Class diagram presentationSayedFarhan110
 
Unified modelling language (UML)
Unified modelling language (UML)Unified modelling language (UML)
Unified modelling language (UML)Hirra Sultan
 

Was ist angesagt? (20)

Unit 2(advanced class modeling & state diagram)
Unit  2(advanced class modeling & state diagram)Unit  2(advanced class modeling & state diagram)
Unit 2(advanced class modeling & state diagram)
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
 
Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Component Diagram
Component DiagramComponent Diagram
Component Diagram
 
Uml class-diagram
Uml class-diagramUml class-diagram
Uml class-diagram
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Uml
UmlUml
Uml
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
CS8592-OOAD Lecture Notes Unit-3
CS8592-OOAD Lecture Notes Unit-3CS8592-OOAD Lecture Notes Unit-3
CS8592-OOAD Lecture Notes Unit-3
 
Uml deployment diagram
Uml deployment diagramUml deployment diagram
Uml deployment diagram
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 
Uml
UmlUml
Uml
 
Low level design template (1)
Low level design template (1)Low level design template (1)
Low level design template (1)
 
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
 
Advanced Structural Modeling
Advanced Structural ModelingAdvanced Structural Modeling
Advanced Structural Modeling
 
Class diagram presentation
Class diagram presentationClass diagram presentation
Class diagram presentation
 
Unified modelling language (UML)
Unified modelling language (UML)Unified modelling language (UML)
Unified modelling language (UML)
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 

Ähnlich wie UML (20)

UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
 
432
432432
432
 
Uml introduction
Uml introductionUml introduction
Uml introduction
 
Uml
UmlUml
Uml
 
UML- Unified Modeling Language
UML- Unified Modeling LanguageUML- Unified Modeling Language
UML- Unified Modeling Language
 
Uml introduciton
Uml introducitonUml introduciton
Uml introduciton
 
ooAD
ooADooAD
ooAD
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
 
Module 2 17CS45
Module 2 17CS45Module 2 17CS45
Module 2 17CS45
 
Unit III Dynamic and Implementation UML Diagrams.pptx
Unit III Dynamic and Implementation UML Diagrams.pptxUnit III Dynamic and Implementation UML Diagrams.pptx
Unit III Dynamic and Implementation UML Diagrams.pptx
 
Uml
UmlUml
Uml
 
Course NumberCourse SectionCourse Name.docx
Course NumberCourse SectionCourse Name.docxCourse NumberCourse SectionCourse Name.docx
Course NumberCourse SectionCourse Name.docx
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework Help
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
 
Uml
UmlUml
Uml
 
Experiment no
Experiment noExperiment no
Experiment no
 
Uml
UmlUml
Uml
 
Introduction.pptx
Introduction.pptxIntroduction.pptx
Introduction.pptx
 
Modeling software architecture with uml
Modeling software architecture with umlModeling software architecture with uml
Modeling software architecture with uml
 

Kürzlich hochgeladen

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 

Kürzlich hochgeladen (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

UML

  • 1. Presented to Mr. Syed Ali Imran
  • 3. UML  What is UML  History of UML  Importance of software model  Various diagram of UML  Use of UML Diagram
  • 4. What is UML  Unified modeling language (UML) for visualizing,      specifying, constructing, documenting of artifact of a software system The blueprint of a system is written in it UML is also used for modeling non-software system It is standard for building object oriented and component based software system UML is a notation system though which we can visualize a model of a system It describe only design or structure of system
  • 5. History of UML  In early stages of model driven development there was a great need for some universal approach for modeling a software system  As deferent people understand the notation in different way if there is no universal model approach  At that time brooch, rumba, Jacobson gave there theories and universally accepted  All of three decided to build a notation language by merging all of three language and out product of that was UML (unified modeling language )
  • 6. History of UML  In 1997 OMG (Object management group) a non profit organization standardized the UML  Since then they are making improvement in UML  Released versions of UML
  • 7. Versions of UML           2.2 February 2009 http://www.omg.org/spec/UML/2.2 2.1.2 November 2007 http://www.omg.org/spec/UML/2.1.2 2.1.1 August 2007 http://www.omg.org/spec/UML/2.1.1 2.0 July 2005 http://www.omg.org/spec/UML/2.0 1.5 March 2003 http://www.omg.org/spec/UML/1.5 1.4.2 July 2004 ISO/IEC 19501 1.4 September 2001 http://www.omg.org/spec/UML/1.4 1.3 March 2000 http://www.omg.org/spec/UML/1.3 1.2 July 1998 1.1 November 1997
  • 8. UML 1.1  Use case diagrams (fulfill purposed functionality)  Class diagrams (depict static view and relationship)  Object diagrams (depict view of instance of class )  Sequence diagrams (depict messages over time line)  Collaboration diagrams (like sequence diagram but define     object roles) State chart diagrams (depicts states of the object) Activity diagrams (dynamic view like flow chart ) Component diagrams (depict components ) Deployment diagrams (depict physical layout of system )
  • 9. New in UML2.0  Changes in activity diagram  The first noticeable change is that the nodes in activity diagrams are no longer called activities. They are called actions  These constraints are shown as notes attached to the action with the appropriate stereotype symbol  In UML 2.0, an action will not fire until each of the incoming flows triggers  new to UML 2.0, is the time signal. A time signal is received because a certain amount of time has passed
  • 10. New in UML 2.0  The final addition to the basic activity diagram is the connector.  The connector indicates that a flow moves from one activity diagram to another.  UML 2.0 contains three new ways to group and decompose actions  UML 2.0 introduces activity partitions to handle problems
  • 11. New to UML 2.0  Changes in Class diagram  Visibility is a single character representing whether the       attribute is visible to the public (+), private (-), protected (#), or package (~). The slash (/) Indicates whether the attribute is derived
  • 12. Use Case diagram  Changes in use case diagram  The exact extension point that is used between the two use cases
  • 13. Importance of Software Model  If software is complex need of model  If a system is developed by the hundreds of People     there is also need of model for smooth communication and understanding the software system mange complexity in design build and design architecture Visualize the implementation Design secure , scalable, robust and extendable system
  • 14. UML 2.0 Diagrams  UML is divided in to two General set of Diagrams  Structured modeling diagrams It depicts the static view of the model  Behavioral modeling diagram Behavior diagrams depicts the varieties of interaction within a model as it 'executes' over time
  • 15. Structural Modeling Diagram  Class Diagram  Object Diagram  Component Diagram  Package Diagram  Composite Structure  Deployment Diagram
  • 16. Behavioral Modeling Diagram  Use Case Diagram  Activity Diagram  State Machine Diagram  Communication Diagram  Sequence Diagram  Timing Diagram  Interaction Over view Diagram
  • 17. 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)
  • 18. Class diagram  + sign with attributes or methods shows class member are public  - sign with attribute or methods shows class members are private 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)
  • 19. Class diagram  Class diagram show relationship between class  Generalizations A generalization is used to indicate inheritance.  Aggregations Aggregations are used to depict elements which are made up of smaller components Example composite-Aggregation Address book and contact group and contacts
  • 24. Object diagram  An object diagram may be considered a special case of     a class 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 Object diagram shows complex relationship between classes It is useful if we feel classes as more abstract abstract
  • 26. Package diagram  Package diagram are used to divide the model into logical       containers and their interaction Package diagram is used to show the high level view of the system As software system have a lot of class (building block in object oriented system) to organize those in a package to show higher level view of the system Package is used to structure your classes Package diagram is used divide the complex system in to modules And In large system to show the large elements and their communication It is used in large and complex systems
  • 28. Package diagram  A «merge» connector between two packages defines an implicit generalization between elements in the source package
  • 29. Component diagram  Component diagram shows the system in term     modules Components can be represented as encapsulated, reusable, replaceable Component can be used as building block of the system Component communicate with each other through interfaces Component can do the same thing as class
  • 31. Component diagram  Component diagram are shown same as class instead of sign in the component diagram component required interface port provided interface
  • 32. Component diagram  Ball represented provided interfaces  Provided interfaces that’s a component implements  Required interfaces that a component required to provide its functionality  Port is door way through communication pass  Component is useful to show the system in term of module
  • 33. Deployment diagram  Deployment diagram model the physical layout of the system mapping software artifact to hardware in which they execute and their communication  Deployment diagram is used to show the physical deployment of the system  Deployment diagram has node which may be a hard ware or any device that host the software and my be a software that host another software (example operating system)  Artifacts shows the software that is implemented on the hardware
  • 36. Behavioral Modeling Diagram  Use Case Diagram  Activity Diagram  State Machine Diagram  Communication Diagram  Sequence Diagram  Timing Diagram  Interaction Over view Diagram
  • 37. Use Case Diagram  A USE CASE is an interaction between a system and external          stimulate, that could a human and may be an external system A USE CASE diagram is an purposed functionality of the system USE CASE diagram is used to show a discrete unit of work It is used at early stages of model It is the simplest diagram Example of USE CASE for a Stock trading system Open an account Close an account Deposit funds Draw funds
  • 38. 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
  • 39. Use Case diagram  USE CASE diagram have relationship  Include It is relationship between a use case to another use case In which a include use case in necessary to perform other use case, for example in place order use case every time the check funds use case is included to complete the place order use case place order(use case) <include > (check funds) use case
  • 40. Use Case diagram  USE CASE diagram have relationship  Extends It is relationship between a use case to another use case In which a extends use case in exceptionally called for example, if before modifying a particular type of customer order, a user must get approval from some higher authority then the <Get Approval> use case may optionally extend the regular <Modify Order> use case. Modify order(use case) <extends> (Get Approved) use case
  • 41. State diagram  It shows the dynamic view of the system  It is also called state chart or state machine diagram  It shows the behavior of the system in response to some external stimulate  State diagram is consist of: States super states pseudo state Transition
  • 42. State diagram  State and super states are represented as a rounded box and sub states are in super state   Pseudo State  Super State Psedu state Trantion Sub State 1 Transient sub state 2
  • 44. Activity diagram  Activity diagram is also dynamic view of the system  Activity diagram 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
  • 45. Activity diagram portions line starting point Actions Decision node action actions End point
  • 46. Activity diagram  Activity diagram is used to describe the individual use case  Use case is used to describe the user goal  Activity diagram can be used where we can use flow charts
  • 47. Timing diagram  Timing diagrams are used to display the change in state or value of one or more elements over time.  A state lifeline shows the change of state of an item over time  The X-axis displays elapsed time in whatever units are chosen  The Y-axis is label with a given list of states
  • 48. Communication diagrams  A communication diagram, formerly called a     collaboration diagram It shows similar information to sequence diagrams Communication diagram shows the objects relationship Objects are shown with association connectors between them Messages are added to the associations and show as short arrows pointing in the direction of the message flow
  • 50. Interaction Overview diagram  Interaction diagram is the combination of activity and sequence      diagrams It allow interaction fragments to be easily combined with decision points and flows An interaction overview diagram is a form of activity diagram in which the nodes represent interaction diagrams. Interaction diagrams can include sequence, communication, interaction overview and timing diagrams. Most of the notation for interaction overview diagrams is the same for activity diagrams. For example, initial, final, decision, and join nodes are all the same. Interaction overview diagrams introduce two new elements: interaction occurrences and interaction elements.
  • 51. Interaction Overview diagram  Interaction occurrences are references to existing interaction diagrams.  An interaction occurrence is shown as a reference frame; that is, a frame with "ref" in the top-left corner  Interaction elements are similar to interaction occurrences, in that they display a representation of existing interaction diagrams within a rectangular frame
  • 52.
  • 54. Interaction Overview  All the same controls from activity diagrams (fork, join, merge, etc.)  Controls can be used on interaction overview diagrams to put the control logic around the lower level diagrams.  The above example depicts a sample sale process
  • 55. Sequence diagram  Sequence diagrams provide a graphical representation of object interactions over time  One sequence diagram typically represents a single Use Case 'scenario' or flow of events.  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.