SlideShare a Scribd company logo
Business Analysis
Training
UML And Use Case Study
Page 2Classification: Restricted
Agenda
• UML - Unified Modeling Language
• Modeling
• Why UML for Modeling
• Object Oriented Concepts
• Object Oriented Modeling
• Basic Building blocks -UML
• Overview of UML Diagrams
• UML Diagrams - Basic Notations
• UML Diagrams - Relationships
• UML Diagrams - Structural diagram
• UML Diagrams - Behavioral diagram
• UML Diagrams - Architectural
Page 3Classification: Restricted
UML - Unified Modeling Language
• UML (Unified Modeling Language) is a standard language for
specifying, visualizing, constructing, and documenting the artifacts of
software systems.
• UML is a pictorial language used to make software blueprints.
• The UML uses mostly graphical notations to express the OO analysis
and design of software projects.
• UML can be described as the successor of object-oriented (OO)
analysis and design.
Page 4Classification: Restricted
Modeling
• Describing a system at a high level of abstraction
– A model of the system
– Used for requirements and specifications
• Is it necessary to model software systems?
Page 5Classification: Restricted
Why UML for Modeling
• Use graphical notation to communicate more clearly than natural
language (imprecise) and code(too detailed).
• Help acquire an overall view of a system.
• UML is not dependent on any one language or technology.
• UML moves us from fragmentation to standardization.
Page 6Classification: Restricted
Object Oriented Concepts
Following are some fundamental concepts of the object-oriented world
Objects − Objects represent an entity and the basic building block. An object
contains both data and methods that control the data.
Class − Class is the blue print of an object.
Abstraction − Abstraction represents the behaviour of an real world entity.
Encapsulation − Encapsulation is the mechanism of binding the data together
and hiding them from the outside world.
Inheritance − Inheritance is the mechanism of making new classes from
existing ones.
Polymorphism − It defines the mechanism to exists in different forms.
Page 7Classification: Restricted
Object Oriented Modeling
Page 8Classification: Restricted
Basic Building blocks -UML
The building blocks of UML can be defined as −
• Things
• Relationships
• Diagrams
Page 9Classification: Restricted
Basic Building Blocks – UML ( Things)
• Structural
• Behavioural
• Grouping
• Annotation
Structural : Static parts of UML models
Physical and conceptual models
Page 10Classification: Restricted
Basic Building Blocks – UML ( Things)
Behavioural : dynamic parts of UML models.
Interaction − Interaction is defined as a behaviour that consists of a group of
messages exchanged among elements to accomplish a specific task.
State machine − It defines the sequence of states an object goes through in
response to events. Events are external factors responsible for state change
Page 11Classification: Restricted
Basic Building Blocks–UML (Things)
Grouping : Group elements of a UML model together.
Package is the only one grouping thing available for gathering structural
and behavioral things.
Annotations : Mechanism to capture remarks, descriptions, and
comments of UML model elements.
Page 12Classification: Restricted
Basic Building Blocks–UML (Relationships)
Relationship reflects the association between the elements
• Dependency : Change in one affects other
------------------->
• Association : set of links that connects the elements of a UML model
• Generalizations : Representing inheritance
• Realization : Representing Interface. One element describes some
responsibility, which is not implemented and the other one
implements them
Page 13Classification: Restricted
Basic Building Blocks–UML (Diagrams)
All the elements, relationships are used to make a complete UML
diagram and the diagram represents a system.Dependency : Change in
one affects other
• Use Case Diagram
• Class Diagram
• Sequence Diagram
• Activity Diagram
• Collaboration Diagram
• State Diagram
This is only a subset of diagrams … but are most widely used
Page 14Classification: Restricted
Structural
: element of spec. irrespective of time
o Class
o Component
o Deployment
o Object
o Composite structure
Overview of UML Diagrams
Behavioral
: behavioral features of a system / business
process
o Activity
o Use case
o State
o Interaction
o Sequence
o Collaboration
Architecture
: Overall framework
o Package
Page 15Classification: Restricted
UML Diagrams : Basic Notations
Class Notation
Object Notation
Interface Notation Collaboration Notation
Actor
Page 16Classification: Restricted
UML Diagrams : Basic Notations
Initial state Node Notation
Package Notation Note Notation
Final state
Page 17Classification: Restricted
UML Diagrams - Relationships
• There are two kinds of Relationships
• Generalization (parent-child relationship)
• Association (student enrolls in course)
• Associations can be further classified as
• Aggregation
• Composition
Page 18Classification: Restricted
UML Diagrams - Structural Diagram
Class Diagram
• Used to model the static view of an application.
• Describing responsibilities of a system
• Provide a conceptual model of the system in terms of entities and their
relationships
• Used for requirement capture, end-user interaction
• Base for component and deployment diagrams
Page 19Classification: Restricted
UML Diagrams – Structural Diagram
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, as
unnecessary properties will make the diagram complicated.
• Use notes whenever required to describe some aspect of the diagram. 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 reworked as many times as possible to make it correct.
Class Diagram
Page 20Classification: Restricted
UML Diagrams – Structural Diagram
• Each class is represented by a rectangle subdivided into three
compartments
• Name
• Attributes
• Operations
• Modifiers are used to indicate visibility of attributes and operations.
• ‘+’ is used to denote Public visibility (everyone)
• ‘#’ is used to denote Protected visibility (friends and derived)
• ‘-’ is used to denote Private visibility (no one)
• By default, attributes are hidden and operations are visible.
Class Diagram
Page 21Classification: Restricted
UML Diagrams – Structural Diagrams
Account_Name
- Customer_Name
- Balance
+addFunds( )
+withDraw( )
+transfer( )
Name
Attributes
Operations
Class Diagram
Representation of a Class
Page 22Classification: Restricted
UML Diagrams – Structural Diagram
Class Diagram
Page 23Classification: Restricted
UML Diagrams : Structural
Object Diagram
• Object diagrams represent an instance of a class diagram
• The purpose of the object diagram can be summarized as −
• Object relationships of a system
• Static view of an interaction.
• Understand object behaviour and their relationship from
practical perspective.
• Object diagrams are drawn in following manner:
• First, analyze the system and decide which instances have
important data and association.
• Second, consider only those instances, which will cover the
functionality.
• Third, make some optimization as the number of instances
are unlimited.
Page 24Classification: Restricted
UML Diagrams : Structural
Object Diagram
Page 25Classification: Restricted
UML Diagrams : Structural
Component Diagram
• Component diagrams are used to model the physical aspects of a
system such as files, libraries etc..
• It does not describe the functionality of the system but it describes the
components used to make those functionalities.
• Before drawing a component diagram, the following artifacts are to be
identified clearly −
• Files used in the system.
• Libraries and other artefacts relevant to the application.
• Relationships among the artefacts.
• After identifying the artefacts, the following points need to be kept in
mind.
• Use a meaningful name to identify the component for which the
diagram is to be drawn.
• Prepare a mental layout before producing the using tools.
• Use notes for clarifying important points.
Page 26Classification: Restricted
UML Diagrams : Structural
Component Diagram
Page 27Classification: Restricted
UML Diagrams : Structural
Deployment Diagram
The purpose of deployment diagrams can be described as −
• Visualize the hardware topology of a system.
• Describe the hardware components used to deploy software
components.
• Describe the runtime processing nodes.
Before drawing a deployment diagram, the following artefacts should
be identified −
• Nodes
• Relationships among nodes
Deployment diagrams can be used −
• To model the hardware topology of a system.
• To model the embedded system.
• To model the hardware details for a client/server system.
• To model the hardware details of a distributed application.
Page 28Classification: Restricted
UML Diagrams : Structural
Deployment Diagram
Page 29Classification: Restricted
UML Diagrams : Behavioral
Use Case Diagram
To model a system, the most important aspect is to capture the
dynamic behavior. Dynamic behavior means the behavior of the
system when it is running/operating.
The purposes of use case diagrams can be said to be as follows −
• Used to gather the requirements of a system.
• Used to get an outside view of a system.
• Identify the external and internal factors influencing the
system.
• Show the interaction among the requirements are actors.
When we are planning to draw a use case diagram, we should have
the following items identified.
• Functionalities to be represented as use case
• Actors
• Relationships among the use cases and act
Page 30Classification: Restricted
UML Diagrams : Behavioral
Use Case Diagram
Following guidelines to draw an efficient use case diagram
• The name of a use case is very important. 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, as the main purpose
of the diagram is to identify the requirements.
• Use notes whenever required to clarify some important points.
** Use Case Diagrams are used to showcase the high level design of
the system.
Page 31Classification: Restricted
UML Diagrams : Behavioral
Use Case Diagram
Page 32Classification: Restricted
UML Diagrams : Behavioral
Use Case Diagram
Library System
Borrow
Order Title
Fine Remittance
Client
Employee
Supervisor
Boundary
Actor
Use Case
Page 33Classification: Restricted
UML Diagrams : Behavioral
Activity Diagram
Activity diagram is basically a flowchart to represent the flow from
one activity to another activity.
The purpose of an activity diagram 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
Page 34Classification: Restricted
UML Diagrams : Behavioral
Activity Diagram
Page 35Classification: Restricted
UML Diagrams - Behavioral
State Diagrams show the sequences of states an object goes through during
its life cycle in response to stimuli, together with its responses and actions;
an abstraction of all possible behaviors.
Unpaid
Start End
Paid
Invoice created payin
g
Invoice destroying
State Diagram
Page 36Classification: Restricted
UML Diagrams – Behavioral
State Diagram
Page 37Classification: Restricted
UML Diagrams – Behavioral
Yellow
Red
Green
Traffic Light
State
Transition
Event
Star
t
State Diagram
Page 38Classification: Restricted
UML Diagrams : Behavioral
Interaction Diagram – Sequence Diagram
This interactive behavior is represented in UML by two diagrams known
as Sequence diagram and Collaboration diagram
The purpose of interaction diagram is −
• To capture the dynamic behaviour of a system.
• To describe the message flow in the system.
• To describe the structural organization of the objects.
• To describe the interaction among objects.
Following things are to be 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.
Page 39Classification: Restricted
UML Diagrams : Behavioral
Interaction Diagram – Sequence Diagram
Page 40Classification: Restricted
UML Diagram - Behavioral
Caller Phone Recipient
Picks up
Dial tone
Dial
Ring notification Ring
Picks up
Hello
Interaction Diagram – Sequence Diagram
Page 41Classification: Restricted
UML Diagrams : Behavioral
Interaction Diagram – Collaboration Diagram
Method calls are similar to that of a sequence diagram. However, difference
being the sequence diagram does not describe the object organization,
whereas the collaboration diagram shows the object organization.
Page 42Classification: Restricted
UML Diagrams : Architectural
Package Diagram
Package diagram is UML structure diagram which shows packages and
dependencies between the packages.
Page 43Classification: Restricted
Thank you
Ad

More Related Content

What's hot (20)

1. introduction to uml
1. introduction to uml1. introduction to uml
1. introduction to uml
PRABU M
 
Software process
Software processSoftware process
Software process
Jennifer Polack
 
SE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelSE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context Model
Amr E. Mohamed
 
Presentation on uml
Presentation on umlPresentation on uml
Presentation on uml
Shruti Dalela
 
Dynamic modeling
Dynamic modelingDynamic modeling
Dynamic modeling
Preeti Mishra
 
unit 5 Architectural design
 unit 5 Architectural design unit 5 Architectural design
unit 5 Architectural design
devika g
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)
Manoj Reddy
 
Simulation and modeling introduction.pptx
Simulation and modeling introduction.pptxSimulation and modeling introduction.pptx
Simulation and modeling introduction.pptx
ShamasRehman4
 
Ch2 sw processes
Ch2 sw processesCh2 sw processes
Ch2 sw processes
software-engineering-book
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
Ashita Agrawal
 
Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagrams
Swathy T
 
Unified process,agile process,process assesment ppt
Unified process,agile process,process assesment pptUnified process,agile process,process assesment ppt
Unified process,agile process,process assesment ppt
Shweta Ghate
 
Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
Ashesh R
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
Rahul Pola
 
Waterfall Model
Waterfall ModelWaterfall Model
Waterfall Model
university of education,Lahore
 
Multi Processors And Multi Computers
 Multi Processors And Multi Computers Multi Processors And Multi Computers
Multi Processors And Multi Computers
Nemwos
 
Object Modeling Techniques
Object Modeling TechniquesObject Modeling Techniques
Object Modeling Techniques
Shilpa Wadhwani
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
sabin kafle
 
Domain object model
Domain object modelDomain object model
Domain object model
university of education,Lahore
 
UML Architecture and Views
UML Architecture and ViewsUML Architecture and Views
UML Architecture and Views
Kumar
 
1. introduction to uml
1. introduction to uml1. introduction to uml
1. introduction to uml
PRABU M
 
SE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelSE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context Model
Amr E. Mohamed
 
unit 5 Architectural design
 unit 5 Architectural design unit 5 Architectural design
unit 5 Architectural design
devika g
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)
Manoj Reddy
 
Simulation and modeling introduction.pptx
Simulation and modeling introduction.pptxSimulation and modeling introduction.pptx
Simulation and modeling introduction.pptx
ShamasRehman4
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
Ashita Agrawal
 
Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagrams
Swathy T
 
Unified process,agile process,process assesment ppt
Unified process,agile process,process assesment pptUnified process,agile process,process assesment ppt
Unified process,agile process,process assesment ppt
Shweta Ghate
 
Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
Ashesh R
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
Rahul Pola
 
Multi Processors And Multi Computers
 Multi Processors And Multi Computers Multi Processors And Multi Computers
Multi Processors And Multi Computers
Nemwos
 
Object Modeling Techniques
Object Modeling TechniquesObject Modeling Techniques
Object Modeling Techniques
Shilpa Wadhwani
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
sabin kafle
 
UML Architecture and Views
UML Architecture and ViewsUML Architecture and Views
UML Architecture and Views
Kumar
 

Similar to UML and Case study (20)

UML.pdf
UML.pdfUML.pdf
UML.pdf
NeelavathyPariDA2032
 
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
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
Dinkar Mishra
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
anasz3z3
 
Chapter 1_UML Introduction.ppt
Chapter 1_UML Introduction.pptChapter 1_UML Introduction.ppt
Chapter 1_UML Introduction.ppt
RushikeshChikane1
 
Chapter 1_UML Introduction.ppt
Chapter 1_UML Introduction.pptChapter 1_UML Introduction.ppt
Chapter 1_UML Introduction.ppt
RushikeshChikane2
 
Slideshow on the notes of software engineering
Slideshow on the notes of software engineeringSlideshow on the notes of software engineering
Slideshow on the notes of software engineering
erickbaldskie
 
Class diagram
Class diagramClass diagram
Class diagram
LakshmanaD2
 
UML diagram is a process that Provide a great Knowledge
UML diagram is a process that Provide a great KnowledgeUML diagram is a process that Provide a great Knowledge
UML diagram is a process that Provide a great Knowledge
AssadLeo1
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
FSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptxFSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptx
ThorOdinson55
 
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdfPhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
JAYANTHIKANNAN8
 
Unit-II(STATIC UML DIAGRAMS).ppt
Unit-II(STATIC UML DIAGRAMS).pptUnit-II(STATIC UML DIAGRAMS).ppt
Unit-II(STATIC UML DIAGRAMS).ppt
ganeshkarthy
 
SYSML Modeling language for systems of systems
SYSML Modeling language for systems of systemsSYSML Modeling language for systems of systems
SYSML Modeling language for systems of systems
NouraBaccar1
 
Intro Uml
Intro UmlIntro Uml
Intro Uml
Kris der Rose
 
SE UML.ppt
SE UML.pptSE UML.ppt
SE UML.ppt
AliZaib71
 
UML Intro
UML IntroUML Intro
UML Intro
koppenolski
 
Practical UML : A Hands-On Introduction for Developers
Practical UML : A Hands-On Introduction for DevelopersPractical UML : A Hands-On Introduction for Developers
Practical UML : A Hands-On Introduction for Developers
Wildan Maulana
 
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UMLObject Oriented Analysis Design using UML
Object Oriented Analysis Design using UML
Ajit Nayak
 
UML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
UML Diagrams.pptxUML DiagramsUML DiagramsUML DiagramsUML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
UML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
BDAVUITBDA
 
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
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
anasz3z3
 
Chapter 1_UML Introduction.ppt
Chapter 1_UML Introduction.pptChapter 1_UML Introduction.ppt
Chapter 1_UML Introduction.ppt
RushikeshChikane1
 
Chapter 1_UML Introduction.ppt
Chapter 1_UML Introduction.pptChapter 1_UML Introduction.ppt
Chapter 1_UML Introduction.ppt
RushikeshChikane2
 
Slideshow on the notes of software engineering
Slideshow on the notes of software engineeringSlideshow on the notes of software engineering
Slideshow on the notes of software engineering
erickbaldskie
 
UML diagram is a process that Provide a great Knowledge
UML diagram is a process that Provide a great KnowledgeUML diagram is a process that Provide a great Knowledge
UML diagram is a process that Provide a great Knowledge
AssadLeo1
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
Manish Kumar
 
FSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptxFSD MICRO PROJECT UML PPT.pptx
FSD MICRO PROJECT UML PPT.pptx
ThorOdinson55
 
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdfPhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
JAYANTHIKANNAN8
 
Unit-II(STATIC UML DIAGRAMS).ppt
Unit-II(STATIC UML DIAGRAMS).pptUnit-II(STATIC UML DIAGRAMS).ppt
Unit-II(STATIC UML DIAGRAMS).ppt
ganeshkarthy
 
SYSML Modeling language for systems of systems
SYSML Modeling language for systems of systemsSYSML Modeling language for systems of systems
SYSML Modeling language for systems of systems
NouraBaccar1
 
Practical UML : A Hands-On Introduction for Developers
Practical UML : A Hands-On Introduction for DevelopersPractical UML : A Hands-On Introduction for Developers
Practical UML : A Hands-On Introduction for Developers
Wildan Maulana
 
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UMLObject Oriented Analysis Design using UML
Object Oriented Analysis Design using UML
Ajit Nayak
 
UML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
UML Diagrams.pptxUML DiagramsUML DiagramsUML DiagramsUML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
UML Diagrams.pptxUML DiagramsUML DiagramsUML Diagrams
BDAVUITBDA
 
Ad

More from Mihika-QA (9)

SDLC Method Training Course
SDLC Method Training CourseSDLC Method Training Course
SDLC Method Training Course
Mihika-QA
 
SDLC Methodologies
SDLC MethodologiesSDLC Methodologies
SDLC Methodologies
Mihika-QA
 
Introduction to Business Analysis
Introduction to Business AnalysisIntroduction to Business Analysis
Introduction to Business Analysis
Mihika-QA
 
Enterprise Analysis
Enterprise AnalysisEnterprise Analysis
Enterprise Analysis
Mihika-QA
 
Requirement Management
Requirement ManagementRequirement Management
Requirement Management
Mihika-QA
 
Requirement Engineering
Requirement Engineering Requirement Engineering
Requirement Engineering
Mihika-QA
 
ER Diagrams
ER DiagramsER Diagrams
ER Diagrams
Mihika-QA
 
Basic Formats
Basic FormatsBasic Formats
Basic Formats
Mihika-QA
 
Agile
Agile Agile
Agile
Mihika-QA
 
SDLC Method Training Course
SDLC Method Training CourseSDLC Method Training Course
SDLC Method Training Course
Mihika-QA
 
SDLC Methodologies
SDLC MethodologiesSDLC Methodologies
SDLC Methodologies
Mihika-QA
 
Introduction to Business Analysis
Introduction to Business AnalysisIntroduction to Business Analysis
Introduction to Business Analysis
Mihika-QA
 
Enterprise Analysis
Enterprise AnalysisEnterprise Analysis
Enterprise Analysis
Mihika-QA
 
Requirement Management
Requirement ManagementRequirement Management
Requirement Management
Mihika-QA
 
Requirement Engineering
Requirement Engineering Requirement Engineering
Requirement Engineering
Mihika-QA
 
Basic Formats
Basic FormatsBasic Formats
Basic Formats
Mihika-QA
 
Ad

Recently uploaded (20)

tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 

UML and Case study

  • 2. Page 2Classification: Restricted Agenda • UML - Unified Modeling Language • Modeling • Why UML for Modeling • Object Oriented Concepts • Object Oriented Modeling • Basic Building blocks -UML • Overview of UML Diagrams • UML Diagrams - Basic Notations • UML Diagrams - Relationships • UML Diagrams - Structural diagram • UML Diagrams - Behavioral diagram • UML Diagrams - Architectural
  • 3. Page 3Classification: Restricted UML - Unified Modeling Language • UML (Unified Modeling Language) is a standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems. • UML is a pictorial language used to make software blueprints. • The UML uses mostly graphical notations to express the OO analysis and design of software projects. • UML can be described as the successor of object-oriented (OO) analysis and design.
  • 4. Page 4Classification: Restricted Modeling • Describing a system at a high level of abstraction – A model of the system – Used for requirements and specifications • Is it necessary to model software systems?
  • 5. Page 5Classification: Restricted Why UML for Modeling • Use graphical notation to communicate more clearly than natural language (imprecise) and code(too detailed). • Help acquire an overall view of a system. • UML is not dependent on any one language or technology. • UML moves us from fragmentation to standardization.
  • 6. Page 6Classification: Restricted Object Oriented Concepts Following are some fundamental concepts of the object-oriented world Objects − Objects represent an entity and the basic building block. An object contains both data and methods that control the data. Class − Class is the blue print of an object. Abstraction − Abstraction represents the behaviour of an real world entity. Encapsulation − Encapsulation is the mechanism of binding the data together and hiding them from the outside world. Inheritance − Inheritance is the mechanism of making new classes from existing ones. Polymorphism − It defines the mechanism to exists in different forms.
  • 8. Page 8Classification: Restricted Basic Building blocks -UML The building blocks of UML can be defined as − • Things • Relationships • Diagrams
  • 9. Page 9Classification: Restricted Basic Building Blocks – UML ( Things) • Structural • Behavioural • Grouping • Annotation Structural : Static parts of UML models Physical and conceptual models
  • 10. Page 10Classification: Restricted Basic Building Blocks – UML ( Things) Behavioural : dynamic parts of UML models. Interaction − Interaction is defined as a behaviour that consists of a group of messages exchanged among elements to accomplish a specific task. State machine − It defines the sequence of states an object goes through in response to events. Events are external factors responsible for state change
  • 11. Page 11Classification: Restricted Basic Building Blocks–UML (Things) Grouping : Group elements of a UML model together. Package is the only one grouping thing available for gathering structural and behavioral things. Annotations : Mechanism to capture remarks, descriptions, and comments of UML model elements.
  • 12. Page 12Classification: Restricted Basic Building Blocks–UML (Relationships) Relationship reflects the association between the elements • Dependency : Change in one affects other -------------------> • Association : set of links that connects the elements of a UML model • Generalizations : Representing inheritance • Realization : Representing Interface. One element describes some responsibility, which is not implemented and the other one implements them
  • 13. Page 13Classification: Restricted Basic Building Blocks–UML (Diagrams) All the elements, relationships are used to make a complete UML diagram and the diagram represents a system.Dependency : Change in one affects other • Use Case Diagram • Class Diagram • Sequence Diagram • Activity Diagram • Collaboration Diagram • State Diagram This is only a subset of diagrams … but are most widely used
  • 14. Page 14Classification: Restricted Structural : element of spec. irrespective of time o Class o Component o Deployment o Object o Composite structure Overview of UML Diagrams Behavioral : behavioral features of a system / business process o Activity o Use case o State o Interaction o Sequence o Collaboration Architecture : Overall framework o Package
  • 15. Page 15Classification: Restricted UML Diagrams : Basic Notations Class Notation Object Notation Interface Notation Collaboration Notation Actor
  • 16. Page 16Classification: Restricted UML Diagrams : Basic Notations Initial state Node Notation Package Notation Note Notation Final state
  • 17. Page 17Classification: Restricted UML Diagrams - Relationships • There are two kinds of Relationships • Generalization (parent-child relationship) • Association (student enrolls in course) • Associations can be further classified as • Aggregation • Composition
  • 18. Page 18Classification: Restricted UML Diagrams - Structural Diagram Class Diagram • Used to model the static view of an application. • Describing responsibilities of a system • Provide a conceptual model of the system in terms of entities and their relationships • Used for requirement capture, end-user interaction • Base for component and deployment diagrams
  • 19. Page 19Classification: Restricted UML Diagrams – Structural Diagram 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, as unnecessary properties will make the diagram complicated. • Use notes whenever required to describe some aspect of the diagram. 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 reworked as many times as possible to make it correct. Class Diagram
  • 20. Page 20Classification: Restricted UML Diagrams – Structural Diagram • Each class is represented by a rectangle subdivided into three compartments • Name • Attributes • Operations • Modifiers are used to indicate visibility of attributes and operations. • ‘+’ is used to denote Public visibility (everyone) • ‘#’ is used to denote Protected visibility (friends and derived) • ‘-’ is used to denote Private visibility (no one) • By default, attributes are hidden and operations are visible. Class Diagram
  • 21. Page 21Classification: Restricted UML Diagrams – Structural Diagrams Account_Name - Customer_Name - Balance +addFunds( ) +withDraw( ) +transfer( ) Name Attributes Operations Class Diagram Representation of a Class
  • 22. Page 22Classification: Restricted UML Diagrams – Structural Diagram Class Diagram
  • 23. Page 23Classification: Restricted UML Diagrams : Structural Object Diagram • Object diagrams represent an instance of a class diagram • The purpose of the object diagram can be summarized as − • Object relationships of a system • Static view of an interaction. • Understand object behaviour and their relationship from practical perspective. • Object diagrams are drawn in following manner: • First, analyze the system and decide which instances have important data and association. • Second, consider only those instances, which will cover the functionality. • Third, make some optimization as the number of instances are unlimited.
  • 24. Page 24Classification: Restricted UML Diagrams : Structural Object Diagram
  • 25. Page 25Classification: Restricted UML Diagrams : Structural Component Diagram • Component diagrams are used to model the physical aspects of a system such as files, libraries etc.. • It does not describe the functionality of the system but it describes the components used to make those functionalities. • Before drawing a component diagram, the following artifacts are to be identified clearly − • Files used in the system. • Libraries and other artefacts relevant to the application. • Relationships among the artefacts. • After identifying the artefacts, the following points need to be kept in mind. • Use a meaningful name to identify the component for which the diagram is to be drawn. • Prepare a mental layout before producing the using tools. • Use notes for clarifying important points.
  • 26. Page 26Classification: Restricted UML Diagrams : Structural Component Diagram
  • 27. Page 27Classification: Restricted UML Diagrams : Structural Deployment Diagram The purpose of deployment diagrams can be described as − • Visualize the hardware topology of a system. • Describe the hardware components used to deploy software components. • Describe the runtime processing nodes. Before drawing a deployment diagram, the following artefacts should be identified − • Nodes • Relationships among nodes Deployment diagrams can be used − • To model the hardware topology of a system. • To model the embedded system. • To model the hardware details for a client/server system. • To model the hardware details of a distributed application.
  • 28. Page 28Classification: Restricted UML Diagrams : Structural Deployment Diagram
  • 29. Page 29Classification: Restricted UML Diagrams : Behavioral Use Case Diagram To model a system, the most important aspect is to capture the dynamic behavior. Dynamic behavior means the behavior of the system when it is running/operating. The purposes of use case diagrams can be said to be as follows − • Used to gather the requirements of a system. • Used to get an outside view of a system. • Identify the external and internal factors influencing the system. • Show the interaction among the requirements are actors. When we are planning to draw a use case diagram, we should have the following items identified. • Functionalities to be represented as use case • Actors • Relationships among the use cases and act
  • 30. Page 30Classification: Restricted UML Diagrams : Behavioral Use Case Diagram Following guidelines to draw an efficient use case diagram • The name of a use case is very important. 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, as the main purpose of the diagram is to identify the requirements. • Use notes whenever required to clarify some important points. ** Use Case Diagrams are used to showcase the high level design of the system.
  • 31. Page 31Classification: Restricted UML Diagrams : Behavioral Use Case Diagram
  • 32. Page 32Classification: Restricted UML Diagrams : Behavioral Use Case Diagram Library System Borrow Order Title Fine Remittance Client Employee Supervisor Boundary Actor Use Case
  • 33. Page 33Classification: Restricted UML Diagrams : Behavioral Activity Diagram Activity diagram is basically a flowchart to represent the flow from one activity to another activity. The purpose of an activity diagram 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
  • 34. Page 34Classification: Restricted UML Diagrams : Behavioral Activity Diagram
  • 35. Page 35Classification: Restricted UML Diagrams - Behavioral State Diagrams show the sequences of states an object goes through during its life cycle in response to stimuli, together with its responses and actions; an abstraction of all possible behaviors. Unpaid Start End Paid Invoice created payin g Invoice destroying State Diagram
  • 36. Page 36Classification: Restricted UML Diagrams – Behavioral State Diagram
  • 37. Page 37Classification: Restricted UML Diagrams – Behavioral Yellow Red Green Traffic Light State Transition Event Star t State Diagram
  • 38. Page 38Classification: Restricted UML Diagrams : Behavioral Interaction Diagram – Sequence Diagram This interactive behavior is represented in UML by two diagrams known as Sequence diagram and Collaboration diagram The purpose of interaction diagram is − • To capture the dynamic behaviour of a system. • To describe the message flow in the system. • To describe the structural organization of the objects. • To describe the interaction among objects. Following things are to be 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.
  • 39. Page 39Classification: Restricted UML Diagrams : Behavioral Interaction Diagram – Sequence Diagram
  • 40. Page 40Classification: Restricted UML Diagram - Behavioral Caller Phone Recipient Picks up Dial tone Dial Ring notification Ring Picks up Hello Interaction Diagram – Sequence Diagram
  • 41. Page 41Classification: Restricted UML Diagrams : Behavioral Interaction Diagram – Collaboration Diagram Method calls are similar to that of a sequence diagram. However, difference being the sequence diagram does not describe the object organization, whereas the collaboration diagram shows the object organization.
  • 42. Page 42Classification: Restricted UML Diagrams : Architectural Package Diagram Package diagram is UML structure diagram which shows packages and dependencies between the packages.