SlideShare a Scribd company logo
TABLE OF CONTENTS
Introduction to UML Diagram.
A conceptual model of UML
building blocks of UML
Things
Relationships
Diagrams
Class Diagram
INTRODUCTIONTO UML DIAGRAM.
UML stands for Unified Modelling Language.
UML is a standard language for specifying, visualizing, constructing, and documenting a
system in which software represents the most significant part.
UML is different from the other common programming languages like C++, Java, COBOL
etc.
UML is a pictorial language used to make software blue prints.
UML can serve as a central notation for software development process. Using UML helps
project teams communicate, explore potential designs, and validate the architectural designs
of software.
UML diagrams are made using notation of things and relationships.
INTRODUCTIONTO UML DIAGRAM.
UML
Refactoring
Design
Prototyping
Code Generation
AutomatedTests
Analysis
Documentation
A CONCEPTUAL MODEL OF UML
Conceptual model: A conceptual model can be defined as a model which is made of concepts
and their relationships.
As UML describes the real time systems it is very important to make a conceptual model and
then proceed gradually. Conceptual model of UML can be better understood by learning the
following three major elements :
UML building blocks
Rules to connect the building blocks
Common mechanisms of UML
BUILDING BLOCKS OF UML
The building blocks of UML can be defined as:
Things
Relationships
Diagrams
Things: Things are the most important building blocks of UML. Things can be:
Structural
Behavioral
Grouping
Annotational
STRUCTURALTHINGS
The Structural things define the static part of the model. They represent physical and
conceptual elements. Following are the brief descriptions of the structural things.
Class: Class represents set of objects having similar responsibilities.
Interface: Interface defines a set of operations which specify the responsibility of a class.
Collaboration: Collaboration defines interaction between elements.
Use case: Use case represents a set of actions performed by a system for a specific goal.
Component: Component describes physical part of a system.
Node: A node can be defined as a physical element that exists at run time.
BEHAVIORALTHING
A behavioral thing consists of the dynamic parts of UML models. Following are the
behavioral things:
Interaction: Interaction 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.
RELATIONSHIP
Relationship is another most important building block of UML. It shows how elements are
associated with each other and this association describes the functionality of an application.
There are four kinds of relationships available.
Dependency: Dependency is a relationship between two things in which change in one element also
affects the other one.
Association: Association is basically a set of links that connects elements of an UML model. It also
describes how many objects are taking part in that relationship.
Generalization: Generalization can be defined as a relationship which connects a specialized element
with a generalized element. It basically describes inheritance relationship in the world of objects.
Realization: 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 DIAGRAMS
There are 9 diagrams in UML that can be used to model a system at different points of time in
software life cycle of a system.
They are:
1. Class diagram
2. Object diagram
3. Use case diagram
4. Sequence diagram
5. Collaboration diagram
6. Activity diagram
7. State diagram
8. Deployment diagram
9. Component diagram
CLASS DIAGRAM
A Class diagram models the static structure of a system. It shows relationships between classes, objects,
attributes, and operations.
A class has three parts; name at the top, attributes in the middle and operations/methods at the bottom.
The functionality provided by the class are termed “methods” of the class.
Attribute uniquely identify the class.
The class diagram is a static diagram. It represents the static view of an application.
Purpose of the class diagram can be summarized as:
Analysis and design of the static view of an application.
Describe responsibilities of a system.
Base for component and deployment diagrams.
Forward and reverse engineering.
HOW TO DRAW CLASS DIAGRAM?
Class diagrams have lot of properties to consider while drawing but here the diagram will be
considered from a top level view.
The following points should be remembered while drawing a class diagram:
The name of the class diagram should be meaningful to describe the aspect of the system.
Each element and their relationships should be identified in advance.
Responsibility (attributes and methods) of each class should be clearly identified.
For each class minimum number of properties should be specified. Because unnecessary
properties will make the diagram complicated.
Use notes when ever required to describe some aspect of the diagram. Because at the end of
the drawing it should be understandable to the developer/coder.
Finally, before making the final version, the diagram should be drawn on plain paper and
rework as many times as possible to make it correct.
NOTATIONS USED IN CLASS DIAGRAM
SAMPLE CLASS DIAGRAM OF ORDER MANAGEMENT SYSTEM
CLASS DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
OBJECT DIAGRAM
Object diagrams describe the static structure of a system at a particular time. They can be
used to test class diagrams for accuracy.
It is a special kind of class diagram. An object is an instance of a class.
The object diagram captures the sate of different classes in system and their relationships or
associations at a given point of time.
In a brief, object diagrams are used for:
Making the prototype of a system.
Reverse engineering.
Modelling complex data structures.
Understanding the system from practical perspective.
OBJECT DIAGRAM OF ORDER MANAGEMENT SYSTEM
STATE DIAGRAM
As the name suggests, it describes different states of a component in a system. The states are specific to a
component/object of a system.
Objects in the system change status in response to events. Used to model dynamic nature of a system.
State diagram describes the flow of control from one state to another state. States are defined as a condition
in which an object exists and it changes when some event is triggered.
Following are the main purposes of using State diagrams:
To model dynamic aspect of a system.
To model life time of a reactive system.
To describe different states of an object during its life time.
Define a state machine to model states of an object.
Before drawing a State diagram we must have clarified the following points:
Identify important objects to be analyzed.
Identify the states & Identify the events.
STATE DIAGRAM FORTOASTER
STATE DIAGRAM FOR PHONE
ACTIVITY DIAGRAM
Activity diagram is another important diagram in UML to describe dynamic aspects of the system.
Activity diagram is basically a flow chart to represent the flow form one activity to another activity. The
activity can be described as an operation of the system.
So the control flow is drawn from one operation to another. This flow can be sequential, branched or
concurrent. Activity diagrams deals with all type of flow control by using different elements like fork, join
etc.
Purposes can be described as:
Draw the activity flow of a system.
Describe the sequence from one activity to another.
Describe the parallel, branched and concurrent flow of the system.
Before drawing an activity diagram we should identify the following elements:
Activities
Association
Conditions
Constraints
ACTIVITY DIAGRAM FOR ATM
ACTIVITY DIAGRAM FOR (ISSUE BOOK) ONLINE LIBRARY
MANAGEMENT SYSTEM
ACTIVITY DIAGRAM FOR ONLINE ELECTRICITY BILL PAYMENT
SEQUENCE DIAGRAM
Sequence diagram is used to describe some type of interactions among the different
elements/objects in the system. Important aspect of this is that it is time-ordered.
Purposes of sequence diagram can be describes as:
To capture dynamic behaviour of a system.
To describe the message flow in the system.
To describe structural organization of the objects.
To describe interaction among objects.
The following things are to identified clearly before drawing the interaction diagram:
Objects taking part in the interaction.
Message flows among the objects.
The sequence in which the messages are flowing.
Object organization
ACTIVITY DIAGRAM FOR ISSUE BOOK
SEQUENCE DIAGRAM OF E-MAIL MESSAGE SEQUENCE
COMPONENT DIAGRAM
Component diagrams are different in terms of nature and behaviour. Component diagrams are
used to model physical aspects of a system. Physical aspects are the elements like executables,
libraries, files, documents etc. which resides in a node. So component diagrams are used to
visualize the organization and relationships among components in a system.
Purpose of the component diagram can be summarized as:
1.)Visualize the components of a system. 2.)Construct executables by using forward and reverse
engineering.
3.)Describe the organization and relationships of the components.
A single component diagram cannot represent the entire system but a collection of diagrams are
used to represent the whole.
Before drawing a component diagram the following artifacts are to be identified clearly:
1.) Files used in the system. 2.)Libraries and other artifacts relevant to the application.
3.)Relationships among the artifacts.
COMPONENT DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
COMPONENT DIAGRAM FOR ATM
DEPLOYMENT DIAGRAM
Deployment diagrams are used to visualize the topology of the physical components of a system where the
software components are deployed. So deployment diagrams are used to describe the static deployment view of
a system. Deployment diagrams consist of nodes and their relationships.
The purpose of deployment diagrams can be described as:
Visualize hardware topology of a system.
Describe the hardware components used to deploy software components.
Describe runtime processing nodes.
Deployment diagrams are useful for system engineers. An efficient deployment diagram is very important
because it controls the following parameters:
>Performance >Scalability >Maintainability >Portability
So before drawing a deployment diagram the following artifacts should be identified:
>Nodes >Relationships among nodes
DEPLOYMENT DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
USE CASE DIAGRAM
Use case diagrams are consists of actors, use cases and their relationships. The diagram is used to model the
system/subsystem of an application. A single use case diagram captures a particular functionality of a
system.
the purposes of use case diagrams can be as follows:
Used to gather requirements of a system.
Used to get an outside view of a system.
Identify external and internal factors influencing the system.
Show the interacting among the requirements are actors.
When we are planning to draw an use case diagram we should have the following items identified.
Functionalities to be represented as an use case
Actors
Relationships among the use cases and actors.
USE CASE DIAGRAM
follow the following guidelines to draw an efficient use case diagram.
The name of a use case is very important. So the name should be chosen in such a way so that it can
identify the functionalities performed.
Give a suitable name for actors.
Show relationships and dependencies clearly in the diagram.
Do not try to include all types of relationships. Because the main purpose of the diagram is to identify
requirements.
Use note when ever required to clarify some important points.
The following are the places where use case diagrams are used:
Requirement analysis and high level design.
Model the context of a system.
Reverse engineering.
Forward engineering
USE CASE DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
INTRODUCTION TO UML DIAGRAMS

More Related Content

What's hot

UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
Kartik Raghuvanshi
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
UML
UMLUML
UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussion
CherryBerry2
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction DiagramNiloy Rocker
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
Harsh Jegadeesan
 
Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
VivekChaudhary93
 
Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10koolkampus
 
Presentation on uml
Presentation on umlPresentation on uml
Presentation on uml
Shruti Dalela
 
Class diagram presentation
Class diagram presentationClass diagram presentation
Class diagram presentation
SayedFarhan110
 
State chart diagram
State chart diagramState chart diagram
State chart diagram
Preeti Mishra
 
Object oriented modeling and design
Object oriented modeling and designObject oriented modeling and design
Object oriented modeling and design
jayashri kolekar
 
Design patterns ppt
Design patterns pptDesign patterns ppt
Design patterns pptAman Jain
 
5.state diagrams
5.state diagrams5.state diagrams
5.state diagramsAPU
 
Design Concept software engineering
Design Concept software engineeringDesign Concept software engineering
Design Concept software engineering
Darshit Metaliya
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
Kumar
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
Rahul Pola
 
Unit 5- Architectural Design in software engineering
Unit 5- Architectural Design in software engineering Unit 5- Architectural Design in software engineering
Unit 5- Architectural Design in software engineering
arvind pandey
 
State Diagrams
State DiagramsState Diagrams
State Diagrams
Vaidik Trivedi
 

What's hot (20)

UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
UML
UMLUML
UML
 
UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussion
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
 
Domain Modeling
Domain ModelingDomain Modeling
Domain Modeling
 
Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
 
Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10Architectural Design in Software Engineering SE10
Architectural Design in Software Engineering SE10
 
Presentation on uml
Presentation on umlPresentation on uml
Presentation on uml
 
Class diagram presentation
Class diagram presentationClass diagram presentation
Class diagram presentation
 
State chart diagram
State chart diagramState chart diagram
State chart diagram
 
Object oriented modeling and design
Object oriented modeling and designObject oriented modeling and design
Object oriented modeling and design
 
Design patterns ppt
Design patterns pptDesign patterns ppt
Design patterns ppt
 
5.state diagrams
5.state diagrams5.state diagrams
5.state diagrams
 
Use Case Modeling
Use Case ModelingUse Case Modeling
Use Case Modeling
 
Design Concept software engineering
Design Concept software engineeringDesign Concept software engineering
Design Concept software engineering
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
 
Unit 5- Architectural Design in software engineering
Unit 5- Architectural Design in software engineering Unit 5- Architectural Design in software engineering
Unit 5- Architectural Design in software engineering
 
State Diagrams
State DiagramsState Diagrams
State Diagrams
 

Viewers also liked

Library 2.0 technologies in academic libraries, a case study of student use a...
Library 2.0 technologies in academic libraries, a case study of student use a...Library 2.0 technologies in academic libraries, a case study of student use a...
Library 2.0 technologies in academic libraries, a case study of student use a...
Anne Morris
 
Library management system
Library management systemLibrary management system
Library management system
Paresh Gosavi
 
Library management system
Library management systemLibrary management system
Library management system
Sara Malik
 
Library management system
Library management systemLibrary management system
Library management systemABhay Panchal
 
Library management system presentation
Library management system presentation Library management system presentation
Library management system presentation
Smit Patel
 
ADVANCED SYSTEM ANALYSIS On Automated Library Management System
ADVANCED SYSTEM ANALYSIS On Automated Library Management SystemADVANCED SYSTEM ANALYSIS On Automated Library Management System
ADVANCED SYSTEM ANALYSIS On Automated Library Management SystemUraz Pokharel
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
ĞĔŃÚĨŃĔ ĞĔŃĨÚŚ
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.docjimmykhan
 
CCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networksCCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networks
Vuz Dở Hơi
 
Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission FundamentalsAisu
 
CCNAv5 - S1: Chapter 1 Exploring The Network
CCNAv5 - S1: Chapter 1 Exploring The NetworkCCNAv5 - S1: Chapter 1 Exploring The Network
CCNAv5 - S1: Chapter 1 Exploring The Network
Vuz Dở Hơi
 
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and ConfigurationCCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
Vuz Dở Hơi
 
Network topologies
Network topologiesNetwork topologies
Network topologies
Norah Saad
 
Library Management System
Library Management SystemLibrary Management System
Library Management SystemAditya Shah
 
Library Management System PPT
Library Management System PPTLibrary Management System PPT
Library Management System PPT
Tamaghna Banerjee
 
Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital Transmission
Wayne Jones Jnr
 
CCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration QuestionsCCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration QuestionsDsunte Wilson
 
CCNA Network Services
CCNA Network ServicesCCNA Network Services
CCNA Network ServicesDsunte Wilson
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing ProtocolsDsunte Wilson
 

Viewers also liked (20)

Library 2.0 technologies in academic libraries, a case study of student use a...
Library 2.0 technologies in academic libraries, a case study of student use a...Library 2.0 technologies in academic libraries, a case study of student use a...
Library 2.0 technologies in academic libraries, a case study of student use a...
 
Library management system
Library management systemLibrary management system
Library management system
 
Library management system
Library management systemLibrary management system
Library management system
 
Library management system
Library management systemLibrary management system
Library management system
 
Library management system presentation
Library management system presentation Library management system presentation
Library management system presentation
 
ADVANCED SYSTEM ANALYSIS On Automated Library Management System
ADVANCED SYSTEM ANALYSIS On Automated Library Management SystemADVANCED SYSTEM ANALYSIS On Automated Library Management System
ADVANCED SYSTEM ANALYSIS On Automated Library Management System
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.doc
 
CCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networksCCNAv5 - S2: Chapter1 Introsuction to switched networks
CCNAv5 - S2: Chapter1 Introsuction to switched networks
 
Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission Fundamentals
 
CCNAv5 - S1: Chapter 1 Exploring The Network
CCNAv5 - S1: Chapter 1 Exploring The NetworkCCNAv5 - S1: Chapter 1 Exploring The Network
CCNAv5 - S1: Chapter 1 Exploring The Network
 
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and ConfigurationCCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
CCNAv5 - S2: Chapter2 Basic Switching Concepts and Configuration
 
Network topologies
Network topologiesNetwork topologies
Network topologies
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Library Management System PPT
Library Management System PPTLibrary Management System PPT
Library Management System PPT
 
Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital Transmission
 
CCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration QuestionsCCNA Basic Switching and Switch Configuration Questions
CCNA Basic Switching and Switch Configuration Questions
 
CCNA Network Services
CCNA Network ServicesCCNA Network Services
CCNA Network Services
 
CCNA Access Lists
CCNA Access ListsCCNA Access Lists
CCNA Access Lists
 
CCNA Routing Protocols
CCNA Routing ProtocolsCCNA Routing Protocols
CCNA Routing Protocols
 

Similar to INTRODUCTION TO UML DIAGRAMS

Uml
UmlUml
Uml diagrams
Uml diagramsUml diagrams
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
Nwabueze Obioma
 
Uml with detail
Uml with detailUml with detail
Uml with detail
Hamza Khan
 
UNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxUNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptx
viju001
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
Emmanuel Kumah
 
R1x g02 enterprise architecture i
R1x g02 enterprise architecture iR1x g02 enterprise architecture i
R1x g02 enterprise architecture i
cairo university
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
surana college
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
MeagGhn
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
Dinkar Mishra
 
Uml overview modified
Uml overview modifiedUml overview modified
Uml overview modified
senthilkumar_ak
 
Uml
UmlUml
Introduction to Rational Rose
Introduction to Rational RoseIntroduction to Rational Rose
Introduction to Rational Rose
Munaam Munawar
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
Nguyen Tuan
 
Introduction.pptx
Introduction.pptxIntroduction.pptx
Introduction.pptx
SENTHILR44
 
UML-Advanced Software Engineering
UML-Advanced Software EngineeringUML-Advanced Software Engineering
UML-Advanced Software Engineering
Amit Singh
 

Similar to INTRODUCTION TO UML DIAGRAMS (20)

Uml
UmlUml
Uml
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 
Experiment no
Experiment noExperiment no
Experiment no
 
Uml with detail
Uml with detailUml with detail
Uml with detail
 
UNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxUNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptx
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
 
R1x g02 enterprise architecture i
R1x g02 enterprise architecture iR1x g02 enterprise architecture i
R1x g02 enterprise architecture i
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
 
Uml overview modified
Uml overview modifiedUml overview modified
Uml overview modified
 
432
432432
432
 
Uml
UmlUml
Uml
 
Introduction to Rational Rose
Introduction to Rational RoseIntroduction to Rational Rose
Introduction to Rational Rose
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
 
Introduction.pptx
Introduction.pptxIntroduction.pptx
Introduction.pptx
 
UML-Advanced Software Engineering
UML-Advanced Software EngineeringUML-Advanced Software Engineering
UML-Advanced Software Engineering
 

More from Ashita Agrawal

Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - Overview
Ashita Agrawal
 
Introductio to Abstract Window Toolkit (AWT)
Introductio to Abstract Window Toolkit (AWT)Introductio to Abstract Window Toolkit (AWT)
Introductio to Abstract Window Toolkit (AWT)
Ashita Agrawal
 
Inheritance in Object Oriented Programming
Inheritance in Object Oriented ProgrammingInheritance in Object Oriented Programming
Inheritance in Object Oriented Programming
Ashita Agrawal
 
Introduction to Sets
Introduction to SetsIntroduction to Sets
Introduction to Sets
Ashita Agrawal
 
Business Overview
Business OverviewBusiness Overview
Business Overview
Ashita Agrawal
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
Ashita Agrawal
 
Biography of Mahatma Gandhi : 1869-1948
Biography of Mahatma Gandhi : 1869-1948Biography of Mahatma Gandhi : 1869-1948
Biography of Mahatma Gandhi : 1869-1948
Ashita Agrawal
 
Cloud computing - new class of network based computing
Cloud computing - new class of network based computingCloud computing - new class of network based computing
Cloud computing - new class of network based computing
Ashita Agrawal
 
constructor and destructor-object oriented programming
constructor and destructor-object oriented programmingconstructor and destructor-object oriented programming
constructor and destructor-object oriented programming
Ashita Agrawal
 
Introduction to computer network
Introduction to computer networkIntroduction to computer network
Introduction to computer network
Ashita Agrawal
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 Microprocessor
Ashita Agrawal
 
Testing Machine- universal tester
Testing Machine- universal testerTesting Machine- universal tester
Testing Machine- universal tester
Ashita Agrawal
 
Adolf Hitler - German politician(world war I)
Adolf Hitler - German politician(world war I)Adolf Hitler - German politician(world war I)
Adolf Hitler - German politician(world war I)
Ashita Agrawal
 
Charles babbage - Father of Computing.
Charles babbage - Father of Computing. Charles babbage - Father of Computing.
Charles babbage - Father of Computing.
Ashita Agrawal
 
Ada Lovelace-The First Programmer
Ada Lovelace-The First ProgrammerAda Lovelace-The First Programmer
Ada Lovelace-The First Programmer
Ashita Agrawal
 
Slums In India
Slums In IndiaSlums In India
Slums In India
Ashita Agrawal
 
Augmented Reality
Augmented RealityAugmented Reality
Augmented Reality
Ashita Agrawal
 

More from Ashita Agrawal (17)

Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - Overview
 
Introductio to Abstract Window Toolkit (AWT)
Introductio to Abstract Window Toolkit (AWT)Introductio to Abstract Window Toolkit (AWT)
Introductio to Abstract Window Toolkit (AWT)
 
Inheritance in Object Oriented Programming
Inheritance in Object Oriented ProgrammingInheritance in Object Oriented Programming
Inheritance in Object Oriented Programming
 
Introduction to Sets
Introduction to SetsIntroduction to Sets
Introduction to Sets
 
Business Overview
Business OverviewBusiness Overview
Business Overview
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
Biography of Mahatma Gandhi : 1869-1948
Biography of Mahatma Gandhi : 1869-1948Biography of Mahatma Gandhi : 1869-1948
Biography of Mahatma Gandhi : 1869-1948
 
Cloud computing - new class of network based computing
Cloud computing - new class of network based computingCloud computing - new class of network based computing
Cloud computing - new class of network based computing
 
constructor and destructor-object oriented programming
constructor and destructor-object oriented programmingconstructor and destructor-object oriented programming
constructor and destructor-object oriented programming
 
Introduction to computer network
Introduction to computer networkIntroduction to computer network
Introduction to computer network
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 Microprocessor
 
Testing Machine- universal tester
Testing Machine- universal testerTesting Machine- universal tester
Testing Machine- universal tester
 
Adolf Hitler - German politician(world war I)
Adolf Hitler - German politician(world war I)Adolf Hitler - German politician(world war I)
Adolf Hitler - German politician(world war I)
 
Charles babbage - Father of Computing.
Charles babbage - Father of Computing. Charles babbage - Father of Computing.
Charles babbage - Father of Computing.
 
Ada Lovelace-The First Programmer
Ada Lovelace-The First ProgrammerAda Lovelace-The First Programmer
Ada Lovelace-The First Programmer
 
Slums In India
Slums In IndiaSlums In India
Slums In India
 
Augmented Reality
Augmented RealityAugmented Reality
Augmented Reality
 

Recently uploaded

The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 

Recently uploaded (20)

The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 

INTRODUCTION TO UML DIAGRAMS

  • 1.
  • 2. TABLE OF CONTENTS Introduction to UML Diagram. A conceptual model of UML building blocks of UML Things Relationships Diagrams Class Diagram
  • 3. INTRODUCTIONTO UML DIAGRAM. UML stands for Unified Modelling Language. UML is a standard language for specifying, visualizing, constructing, and documenting a system in which software represents the most significant part. UML is different from the other common programming languages like C++, Java, COBOL etc. UML is a pictorial language used to make software blue prints. UML can serve as a central notation for software development process. Using UML helps project teams communicate, explore potential designs, and validate the architectural designs of software. UML diagrams are made using notation of things and relationships.
  • 4. INTRODUCTIONTO UML DIAGRAM. UML Refactoring Design Prototyping Code Generation AutomatedTests Analysis Documentation
  • 5. A CONCEPTUAL MODEL OF UML Conceptual model: A conceptual model can be defined as a model which is made of concepts and their relationships. As UML describes the real time systems it is very important to make a conceptual model and then proceed gradually. Conceptual model of UML can be better understood by learning the following three major elements : UML building blocks Rules to connect the building blocks Common mechanisms of UML
  • 6. BUILDING BLOCKS OF UML The building blocks of UML can be defined as: Things Relationships Diagrams Things: Things are the most important building blocks of UML. Things can be: Structural Behavioral Grouping Annotational
  • 7. STRUCTURALTHINGS The Structural things define the static part of the model. They represent physical and conceptual elements. Following are the brief descriptions of the structural things. Class: Class represents set of objects having similar responsibilities. Interface: Interface defines a set of operations which specify the responsibility of a class. Collaboration: Collaboration defines interaction between elements. Use case: Use case represents a set of actions performed by a system for a specific goal. Component: Component describes physical part of a system. Node: A node can be defined as a physical element that exists at run time.
  • 8. BEHAVIORALTHING A behavioral thing consists of the dynamic parts of UML models. Following are the behavioral things: Interaction: Interaction 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.
  • 9. RELATIONSHIP Relationship is another most important building block of UML. It shows how elements are associated with each other and this association describes the functionality of an application. There are four kinds of relationships available. Dependency: Dependency is a relationship between two things in which change in one element also affects the other one. Association: Association is basically a set of links that connects elements of an UML model. It also describes how many objects are taking part in that relationship. Generalization: Generalization can be defined as a relationship which connects a specialized element with a generalized element. It basically describes inheritance relationship in the world of objects. Realization: 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.
  • 10. UML DIAGRAMS There are 9 diagrams in UML that can be used to model a system at different points of time in software life cycle of a system. They are: 1. Class diagram 2. Object diagram 3. Use case diagram 4. Sequence diagram 5. Collaboration diagram 6. Activity diagram 7. State diagram 8. Deployment diagram 9. Component diagram
  • 11.
  • 12. CLASS DIAGRAM A Class diagram models the static structure of a system. It shows relationships between classes, objects, attributes, and operations. A class has three parts; name at the top, attributes in the middle and operations/methods at the bottom. The functionality provided by the class are termed “methods” of the class. Attribute uniquely identify the class. The class diagram is a static diagram. It represents the static view of an application. Purpose of the class diagram can be summarized as: Analysis and design of the static view of an application. Describe responsibilities of a system. Base for component and deployment diagrams. Forward and reverse engineering.
  • 13. HOW TO DRAW CLASS DIAGRAM? Class diagrams have lot of properties to consider while drawing but here the diagram will be considered from a top level view. The following points should be remembered while drawing a class diagram: The name of the class diagram should be meaningful to describe the aspect of the system. Each element and their relationships should be identified in advance. Responsibility (attributes and methods) of each class should be clearly identified. For each class minimum number of properties should be specified. Because unnecessary properties will make the diagram complicated. Use notes when ever required to describe some aspect of the diagram. Because at the end of the drawing it should be understandable to the developer/coder. Finally, before making the final version, the diagram should be drawn on plain paper and rework as many times as possible to make it correct.
  • 14. NOTATIONS USED IN CLASS DIAGRAM
  • 15. SAMPLE CLASS DIAGRAM OF ORDER MANAGEMENT SYSTEM
  • 16. CLASS DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
  • 17. OBJECT DIAGRAM Object diagrams describe the static structure of a system at a particular time. They can be used to test class diagrams for accuracy. It is a special kind of class diagram. An object is an instance of a class. The object diagram captures the sate of different classes in system and their relationships or associations at a given point of time. In a brief, object diagrams are used for: Making the prototype of a system. Reverse engineering. Modelling complex data structures. Understanding the system from practical perspective.
  • 18. OBJECT DIAGRAM OF ORDER MANAGEMENT SYSTEM
  • 19. STATE DIAGRAM As the name suggests, it describes different states of a component in a system. The states are specific to a component/object of a system. Objects in the system change status in response to events. Used to model dynamic nature of a system. State diagram describes the flow of control from one state to another state. States are defined as a condition in which an object exists and it changes when some event is triggered. Following are the main purposes of using State diagrams: To model dynamic aspect of a system. To model life time of a reactive system. To describe different states of an object during its life time. Define a state machine to model states of an object. Before drawing a State diagram we must have clarified the following points: Identify important objects to be analyzed. Identify the states & Identify the events.
  • 22. ACTIVITY DIAGRAM Activity diagram is another important diagram in UML to describe dynamic aspects of the system. Activity diagram is basically a flow chart to represent the flow form one activity to another activity. The activity can be described as an operation of the system. So the control flow is drawn from one operation to another. This flow can be sequential, branched or concurrent. Activity diagrams deals with all type of flow control by using different elements like fork, join etc. Purposes can be described as: Draw the activity flow of a system. Describe the sequence from one activity to another. Describe the parallel, branched and concurrent flow of the system. Before drawing an activity diagram we should identify the following elements: Activities Association Conditions Constraints
  • 24. ACTIVITY DIAGRAM FOR (ISSUE BOOK) ONLINE LIBRARY MANAGEMENT SYSTEM
  • 25. ACTIVITY DIAGRAM FOR ONLINE ELECTRICITY BILL PAYMENT
  • 26. SEQUENCE DIAGRAM Sequence diagram is used to describe some type of interactions among the different elements/objects in the system. Important aspect of this is that it is time-ordered. Purposes of sequence diagram can be describes as: To capture dynamic behaviour of a system. To describe the message flow in the system. To describe structural organization of the objects. To describe interaction among objects. The following things are to identified clearly before drawing the interaction diagram: Objects taking part in the interaction. Message flows among the objects. The sequence in which the messages are flowing. Object organization
  • 27.
  • 28.
  • 29. ACTIVITY DIAGRAM FOR ISSUE BOOK
  • 30. SEQUENCE DIAGRAM OF E-MAIL MESSAGE SEQUENCE
  • 31. COMPONENT DIAGRAM Component diagrams are different in terms of nature and behaviour. Component diagrams are used to model physical aspects of a system. Physical aspects are the elements like executables, libraries, files, documents etc. which resides in a node. So component diagrams are used to visualize the organization and relationships among components in a system. Purpose of the component diagram can be summarized as: 1.)Visualize the components of a system. 2.)Construct executables by using forward and reverse engineering. 3.)Describe the organization and relationships of the components. A single component diagram cannot represent the entire system but a collection of diagrams are used to represent the whole. Before drawing a component diagram the following artifacts are to be identified clearly: 1.) Files used in the system. 2.)Libraries and other artifacts relevant to the application. 3.)Relationships among the artifacts.
  • 32. COMPONENT DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
  • 34. DEPLOYMENT DIAGRAM Deployment diagrams are used to visualize the topology of the physical components of a system where the software components are deployed. So deployment diagrams are used to describe the static deployment view of a system. Deployment diagrams consist of nodes and their relationships. The purpose of deployment diagrams can be described as: Visualize hardware topology of a system. Describe the hardware components used to deploy software components. Describe runtime processing nodes. Deployment diagrams are useful for system engineers. An efficient deployment diagram is very important because it controls the following parameters: >Performance >Scalability >Maintainability >Portability So before drawing a deployment diagram the following artifacts should be identified: >Nodes >Relationships among nodes
  • 35. DEPLOYMENT DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM
  • 36.
  • 37. USE CASE DIAGRAM Use case diagrams are consists of actors, use cases and their relationships. The diagram is used to model the system/subsystem of an application. A single use case diagram captures a particular functionality of a system. the purposes of use case diagrams can be as follows: Used to gather requirements of a system. Used to get an outside view of a system. Identify external and internal factors influencing the system. Show the interacting among the requirements are actors. When we are planning to draw an use case diagram we should have the following items identified. Functionalities to be represented as an use case Actors Relationships among the use cases and actors.
  • 38. USE CASE DIAGRAM follow the following guidelines to draw an efficient use case diagram. The name of a use case is very important. So the name should be chosen in such a way so that it can identify the functionalities performed. Give a suitable name for actors. Show relationships and dependencies clearly in the diagram. Do not try to include all types of relationships. Because the main purpose of the diagram is to identify requirements. Use note when ever required to clarify some important points. The following are the places where use case diagrams are used: Requirement analysis and high level design. Model the context of a system. Reverse engineering. Forward engineering
  • 39. USE CASE DIAGRAM FOR LIBRARY MANAGEMENT SYSTEM