SlideShare a Scribd company logo
1 of 77
OBJECT ORIENTED
ANALYSIS ANDDESIGN
Text Book: Object Oriented Systems development
Author: Ali Bahrami
Session - 1
INTRODUCTION
 An Overview of Object Oriented Systems Development
 Object Basics
 Object Oriented Systems Development Life Cycle
Object-oriented analysis anddesign
• Object-oriented analysis and design (OOAD) is a popular technical
approach for
• analyzing,
• designing an application, system, or business
• by applying the object oriented paradigm and
• visual modeling throughout the development life cycles for better communication
and product quality.
• Object-oriented programming (OOP) is a method
• based on the concept of “objects",
• which are data structures that contain data,
• in the form of fields,
• often known as attributes;
• and code, in the form of procedures,
• often known as methods.
Continued…
• What is OOAD?- Object-oriented analysis and design (OOAD)
is a software engineering approach that models a system as a
group of interacting objects .
• Analysis — understanding, finding and describing concepts in the
problem domain.
• Design — understanding and defining software solution/objects
that represent the analysis concepts and will eventually be
implemented in code.
• OOAD - A software development approach that emphasizes a
logical solution based on objects.
Continued…
Software development is dynamic and always undergoing major
change.
System development refers to all activities that go into producing
information system solution.
System development activities consist of
 system analysis,
 modelling,
 design,
 implementation,
 testing and maintenance.
A software development methodology  series of processes  can
lead to the development of an application.
Practices, procedures, and rules used to develop software, totally
based on system requirements
ORTHOGONALVIEWSOFTHESOFTWARE
TwoApproaches,
 TraditionalApproach
 Objected-OrientedApproach
TRADITIONALAPPROACH
• Collection of programs or functions.
• A system that is designed for performing certainactions.
• Algorithms + Data Structures = Programs.
• Software Development Models (Waterfall, Spiral, Incremental,etc..)
A Brief History
The object-oriented paradigm took its shape from the initial concept of a new
programming approach, while the interest in design and analysis methods
came much later.
The first object–oriented language was Simula (Simulation of real systems)
that was developed in 1960 by researchers at the Norwegian Computing
Center.
In 1970, Alan Kay and his research group at Xerox PARK created a personal
computer named Dynabook and the first pure object-oriented programming
language (OOPL) - Smalltalk, for programming the Dynabook.
In the 1980s, Grady Booch published a paper titled Object Oriented Design
that mainly presented a design for the programming language, Ada. In the
ensuing editions, he extended his ideas to a complete object–oriented design
method.
In the 1990s, Coad incorporated behavioral ideas to object-oriented methods.
The other significant innovations were Object Modelling Techniques (OMT) by
James Rumbaugh and Object-Oriented Software Engineering (OOSE) by Ivar
Jacobson.
Object-Oriented Analysis
Object–Oriented Analysis (OOA) is the procedure of identifying software
engineering requirements and developing software specifications in terms of a
software system’s object model, which comprises of interacting objects.
The main difference between object-oriented analysis and other forms of
analysis is that in object-oriented approach, requirements are organized
around objects, which integrate both data and functions. They are modelled
after real-world objects that the system interacts with. In traditional analysis
methodologies, the two aspects - functions and data - are considered
separately.
Grady Booch has defined OOA as, “Object-oriented analysis is a method of
analysis that examines requirements from the perspective of the classes and
objects found in the vocabulary of the problem domain”.
The primary tasks in object-oriented analysis (OOA) are −
Identifying objects
Organizing the objects by creating object model diagram
Defining the internals of the objects, or object attributes
Defining the behavior of the objects, i.e., object actions
Describing how the objects interact
Object-Oriented Design
• Object–Oriented Design (OOD) involves implementation of the
conceptual model produced during object-oriented analysis. In OOD,
concepts in the analysis model, which are technology−independent,
are mapped onto implementing classes, constraints are identified
and interfaces are designed, resulting in a model for the solution
domain, i.e., a detailed description of how the system is to be built on
concrete technologies.
• The implementation details generally include −
• Restructuring the class data (if necessary),
• Implementation of methods, i.e., internal data structures and
algorithms,
• Implementation of control, and
• Implementation of associations.
Differencebetween Traditionaland ObjectOriented
Approach
Continued…
OBJECT ORIENTEDAPPROACH
• OO development offers a different model from the traditional software 
based on functions and procedures.
• software is a collection of discrete object that encapsulate their dataas
well as the functionality.
• Each object has attributes (properties) and method (procedures).
• software by building self contained modules or objects that can beeasily
REPLACED, MODIFIED AND REUSED.
• Objects grouped in to classes and object are responsible foritself.
BENEFITS OFOBJECTORIENTATION
Faster development,
Reusability,
Increased quality
modeling the real world and provides us with the stronger
equivalence of the real world‘s entities (objects).
Raising the level of abstraction to the point where application can be
implemented in the same terms as they are described.
WHY OBJECTORIENTATION
OO Methods enables to develop set of objects that work together 
software  similar to traditional techniques.
It adapts to
• Changing requirements
• Easier to maintain
• More robust
• Promote greater design
• Code reuse
Continued…
Others
• Higher level of abstraction
• Seamless transition among different phases of software
development.
• Encouragement of good programming technique.
• Promotion of reusability.
OVERVIEWOFUNIFIEDAPPROACH
The unified approach (UA) is a methodology for software
development.
Booch, Rumbaugh, Jacobson methodologies gives the best
practices, processes and guidelines for OO oriented software
development.
 Combines with the object management groups in unified
modelling language.
 UA utilizes the unified modeling language (UML) which is a set of
notations and conventions used to describe and model an
application.
TRADITIONALAPPROACH
The traditional approach to software development tends toward
writing a lot of code to do all the things that have to be done.
Algorithmic Centric Methodology – only the algorithm that can
accomplish the task.
Data-Centric Methodology - think about the data to build a
structure based on the algorithm
You are the only active entity and the code is just basically a lot of
building materials.
OBJECT-ORIENTEDAPPROACH
OO approach is more like creating a lot of helpers
take on an active role, a spirit, that form a community whose
interactions become the application.
Reusable
Modified
Replaced
EXAMPLES OFOBJECTORIENTED SYSTEMS
In OO system , “everything is object”.
A spreadsheet cell, bar chart, title in bar chart, report,
numbers, arrays, records, fields, files, forms,
an invoice, etc.
A window object is responsible for things like opening, sizing, and
closing itself.
A chart object is responsible for things like maintaining data and
labels even for drawing itself.
WHATISAN OBJECT?
The term object was first formally utilized in the Simula language to
simulate some aspect of reality.
Attributes or properties describe object‘s state (data) and methods
(properties or functions) define its behavior.
An object is an entity.
• It knows things (has attributes)
• It does things (provides services or has methods
• Examples in next Slide ……….
OBJECT’SATTRIBUTES
Attributes represented by data type.
They describe objects states.
In the Car example the car’s attributes are:
color, manufacturer, cost, owner, model, etc.
OBJECT’SMETHODS
Methods define objects behaviour and specify the way in which
an Object’s data are manipulated.
In the Car example the car’s methods are:
drive it, lock it, tow it, carry passenger in it.
IT KNOWS THINGS (ATTRIBUTES)
I am an Employee.
I know my name,
social security number and
my address.
Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
ATTRIBUTE
S
I am a Car.
I know my color,
manufacturer,
cost, owner and
model.
Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
IT DOES THINGS (METHODS)
I know how to
compute
my payroll.
Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
METHODS
I know how
to stop.
Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
Object is whatever an
applicationwants to talkabout.
For example, Parts and assemblies might be objects of bill of material
application.
Stocks and bonds might be objects of financial investment
applications.
OBJECTSAREGROUPEDIN CLASSES
The role of a class is to define the attributes and methods (the state
and behaviour) of its instances.
Used to distinguish one type of object from the other.
Set of objects, that share common methods, structure, behaviour.
Single object is simply an instance of class.
The class car, for example, defines the property color. Each
individual car (object) will have a value for this property, such as
"maroon," "yellow" or "white."
Employee
Class
John object Jane object Mark object
Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
SESSION - 2
OBJECTS ANDCLASSES
Objects
• The concepts of objects and classes are intrinsically
linked with each other and form the foundation of object–
oriented paradigm.
• Identity that distinguishes it from other objects in the
system.
• State that determines the characteristic properties of an
object as well as the values of the properties that the
object holds.
• Behavior that represents externally visible activities
performed by an object in terms of changes in its state.
Class
• A class represents a collection of objects having same
characteristic properties that exhibit common behavior.
• Creation of an object as a member of a class is called
instantiation.
• Thus, object is an instance of a class.
• Example: Circle – a class
x, to the center
a, to denote the radius of the circle
• Some of its operations can be defined as follows:
findArea(), method to calculate area
findCircumference(), method to calculate
circumference
Object orientedMethodologies
• Many methodologies have been developed for object
oriented development.
• A methodology usually includes
• Notation : Graphical representation of classes and their
relationships with interactions.
• Process : Suggested set of steps to carry out for transforming
requirements into a working system.
• Tool : Software for drawings and documentation
UML – Unified modelinglanguage
• UML focuses on standard modeling language and not a
standard process.
• UML focuses the concept of
Booch,
Rambaugh and
Jacobson.
• The UML is a standard graphical design for object-
oriented graphical design and a medium for presenting
important analysis and design concepts.
UML Diagrams
• Use Case Diagrams
• Class Diagrams
• Package Diagrams
• Interaction Diagrams
• Sequence
• Collaboration
• Activity Diagrams
• State Transition Diagrams
• Deployment Diagrams
USE CASEDIAGRAMS
Use Case Diagrams
• A use case diagram at its simplest is a representation of
a user's interaction with the system that shows the
relationship between the user and the different use cases
in which the user is involved.
Actor
An actor instance is someone or
something outside the system that interacts with the
system.
• An actor is anything that exchanges data with the system.
• An actor can be a user, external hardware, or another
system.
How to FindActors
• Actors:
• Supply/use/remove information
• Use the functionality.
• Will be interested in any requirement.
• Will support/maintain the system.
• The system’s external resources.
• The other systems will need to interact with this one.
Documenting ActorCharacteristics
Brief Description:
• What or who the actor represents?
• Why the actor is needed?
• What interests the actor has in the system?
Actor characteristics might influence how the system is
developed:
• The actor's scope of responsibility.
• The physical environment in which the actor will be using
the system.
• The number of users represented by this actor.
Use case
• A set of scenarios that describes an interaction between a user
and a system, including alternatives.
• Example
How to Find UseCases
• What are the system tasks for each actor you have
identified?
• Does the actor need to be informed about certain
occurrences in the system?
• Will the actor need to inform the system about sudden,
external changes?
• Does the system supply the business with the correct
behavior?
• Can all features be performed by the use cases you have
identified?
• What use cases will support and maintain the system?
• What information must be modified or created in the
system?
Use casestypes:
• System start and stop.
• Maintenance of the system (add user, …).
• Maintenance of data stored in the system.
• Functionality needed to modify behavior in the system.
Terminologies
• System boundary: rectangle diagram representing the
boundary between the actors and the system.
• Use Case Diagram(core relationship)
Association: communication between an actor and a use case;
Represented by a solid line.
• Generalization: relationship between one general use case and a
special use case (used for defining special alternatives)
• Represented by a line with a triangular arrow head toward the
parent use case.
• Include: a dotted line labeled <<include>> beginning at base use
case and ending with an arrows pointing to the include use case.
The include relationship occurs when a chunk of behavior is
similar across more than one use case. Use “include” in stead of
copying the description of that behavior.
<<include>>
• Extend: a dotted line labeled <<extend>> with an
arrow toward the base case. The extending use case may add
behavior to the base use case. The base class declares “extension
points”.
<<extend>>
Example: Library managementSystem
• A generalized description of how a system will be used.
• Provides an overview of the intended functionality of the
system
Use Case Diagrams(cont.)
Continued…
• Pay Bill is a parent use case and Bill Insurance is the child use
case. (generalization)
• Both Make Appointment and Request Medication include
Check Patient Record as a subtask.(include)
• The extension point is written inside the base case
• Pay bill; the extending class Defer payment adds the behavior
of this extension point. (extend)
Class diagram
• Used for describing structure and behavior in the use
cases
• Provides a conceptual model of the system in terms of
entities and their relationships
• Used for requirement capture, end-user interaction
• Detailed class diagrams are used for developers
Class representation
• 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.
An example ofClass
OO Relationships
• There are two kinds of Relationships
• Generalization (parent-child relationship)
• Association (student enrolls in course)
• Associations can be further classified as
• Aggregation
• Composition
OO Relationships: Generalization
OO Relationships:Association
• Represent relationship between instances of classes
• Student enrolls in a course
• Courses have students
• Courses have exams
• Etc.
• Association has two ends
• Role names (e.g. enrolls)
• Multiplicity (e.g. One course can have many students)
• Navigability (unidirectional, bidirectional)
Association: Multiplicity andRoles
University Person
1
0..1
employer
*
*
Multiplicity
Symbol Meaning
1
0..1
M..
N
*
0..*
1..*
One and only one
Zero or one
From M to N (natural language)
From zero to any positive integer
From zero to any positive integer
From one to any positive integer
teacher
Role
Role
“A given university groups many people;
some act as students, others as teachers.
A given student belongs to a single
university; a given teacher may or maynot
be working for the university at aparticular
time.”
student
Association: Model toImplementation
Class Student {
Course enrolls[4];
}
Class Course {
Student have[];
}
Student Course
enrolls
has
* 4
OO Relationships: Composition
Class W
Class P1 Class P2
Composition: expresses a relationship
among instances
of related classes. It is a specific kindof
Whole-Part relationship.
It expresses a relationship where an instance
of the Whole-class has the responsibility to
create and initialize instances of each Part-
class.
It may also be used to express a relationship
where instances of the Part-classes have
privileged access or visibilityto
certain attributes and/or behaviorsdefined
by the Whole-class.
Whole Class
Part Classes
Automobile
Engine Transmission
Example
OO Relationships:Aggregation
Class C
Class E1 Class E2
AGGREGATION
Aggregation: expresses a relationship among
instances of related classes. It is a specific kind of
Container-Containee relationship.
Aggregation should be used to express a more
informal relationship than composition expresses.
That is, it is an appropriate relationship where the
Container and its Containees
It expresses a relationship where an instance of the
Container-class has the responsibility to hold and
maintain instances of each Containee-class that
have been created outside the Container-class.
Containee Classes
Aggregation is appropriate when Container and
Containees have no special access privileges to each
other.
ContainerClass
Bag
Apples Milk
Example
Aggregation vs.Composition
•Composition is really a strong form of aggregation
•components have only one owner
•components cannot exist independent of their owner
•components live or die with their owner
e.g. Each car has an engine that can not be shared with
other cars.
•Aggregations may form "part of" the aggregate, but may not
be essential to it. They may also exist independent of the
aggregate.
e.g. Apples may exist independent of thebag.
Session 3
Interaction Diagram -
Sequence diagram
Collaboration Diagram
Interaction Diagram
• From the name Interaction it is clear that the diagram is
used to describe some type of interactions among the
different elements in the model.
• So this interaction is a part of dynamic behavior of the
system.
• This interactive behavior is represented in UML by two
diagrams known as Sequence diagram and Collaboration
diagram.
• The basic purposes of both the diagrams are similar.
• Sequence diagram emphasizes on time sequence of
messages and collaboration diagram emphasizes on the
structural organization of the objects that send and receive
messages.
• The purposes of interaction diagram can be describes as:
To capture dynamic behavior 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 factors 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.
Example :
Making a phone call.
Sequence Diagram(Telephone call)
Sequence Diagrams – Object Life Spans
• Creation
• Create message
• Object life starts at that point
• Activation
• Symbolized by rectangular
stripes
• Place on the lifeline where object
is activated.
• Rectangle also denotes when
object is deactivated.
• Deletion
• Placing an ‘X’ on lifeline
• Object’s life ends at that point
Activation bar
A
B
Create
X
Deletion
Return
Lifeline
Collaboration Diagram
• A collaboration diagram also shows the passing of
messages between objects, but focuses on the objects
and messages and their order instead of the time
sequence.
• The sequence of interactions and the concurrent threads
are identified using sequence numbers.
• A collaboration diagram shows an interaction the
relationships among the objects playing the different roles.
• The UML Specification suggests that collaboration
diagrams are better for real-time specifications and for
complex scenarios than sequence diagrams.
Collaboration Diagram(Telephonecall)
Use Case diagram –Telephone Call
Activity Diagram
Activity Diagram
• Activity Diagram – a special kind of State chart diagram,
but shows the flow from activity to activity
• Activity state –non-atomic execution, ultimately result in
some action; a composite made up of other activity/action
states; can be represented by other activity diagrams
• Action state –atomic execution, results in a change in
state of the system or the return of a value (i.e., calling
another operation, sending a signal, creating or
destroying an object, or some computation); non-
decomposable
continued…
• 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.
• The basic purposes of activity diagrams are similar to
other four diagrams.
continued…
• It captures the dynamic behavior of the system.
• Other four diagrams are used to show the message flow
from one object to another but activity diagram is used to
show message flow from one activity to another.
• Activity diagrams are not only used for visualizing dynamic
nature of a system but they are also used to construct the
executable system by using forward and reverse
engineering techniques.
• The only missing thing in activity diagram is the message
part.
How to draw Activity Diagram?
• Activity diagrams are mainly used as a flow chart consists
of activities performed by the system.
• So before drawing an activity diagram we should identify
the following elements:
• Activities
• Association
• Conditions
• Constraints
Example : order managementsystem
• Send order by the customer
• Receipt of the order
• Confirm order
• Dispatch order
Uses of ActivityDiagrams
• Modeling work flow by using activities.
• Modeling business requirements.
• High level understanding of the system's functionalities.
• Investigate business requirements at a later stage.
Example : ATMSystem

More Related Content

Similar to ooadunitiintroduction-150730050129-lva1-app6892.pptx

Unit IV Software Engineering
Unit IV Software EngineeringUnit IV Software Engineering
Unit IV Software EngineeringNandhini S
 
Object-Oriented Analysis and Design
Object-Oriented Analysis and DesignObject-Oriented Analysis and Design
Object-Oriented Analysis and DesignRiazAhmad786
 
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
 
Cs 2352 object oriented analysis and design
Cs 2352 object oriented analysis and designCs 2352 object oriented analysis and design
Cs 2352 object oriented analysis and designandrewsasi
 
Ooad (object oriented analysis design)
Ooad (object oriented analysis design)Ooad (object oriented analysis design)
Ooad (object oriented analysis design)Gagandeep Nanda
 
Assignment 1 SYD601 2012 rick_danby completed with audio
Assignment 1 SYD601 2012 rick_danby completed with audioAssignment 1 SYD601 2012 rick_danby completed with audio
Assignment 1 SYD601 2012 rick_danby completed with audioRickNZ
 
Module3 - Object Oriented Analysis & Functional Model.pdf
Module3 - Object Oriented Analysis & Functional Model.pdfModule3 - Object Oriented Analysis & Functional Model.pdf
Module3 - Object Oriented Analysis & Functional Model.pdfGerard Alba
 
Software enginering.group-no-11 (1)
Software enginering.group-no-11 (1)Software enginering.group-no-11 (1)
Software enginering.group-no-11 (1)riarana10
 
CEN6016-Chapter1.ppt
CEN6016-Chapter1.pptCEN6016-Chapter1.ppt
CEN6016-Chapter1.pptNelsonYanes6
 
20CB304 - SE - UNIT V - Digital Notes.pptx
20CB304 - SE - UNIT V - Digital Notes.pptx20CB304 - SE - UNIT V - Digital Notes.pptx
20CB304 - SE - UNIT V - Digital Notes.pptxJayaramB11
 
The-Foundations-of-Object-Oriented-Analysis-What-Every-CS-Student-Should-Know.
The-Foundations-of-Object-Oriented-Analysis-What-Every-CS-Student-Should-Know.The-Foundations-of-Object-Oriented-Analysis-What-Every-CS-Student-Should-Know.
The-Foundations-of-Object-Oriented-Analysis-What-Every-CS-Student-Should-Know.Attitude Tally Academy
 
Object oriented analysis & Design- Overview
Object oriented analysis & Design- OverviewObject oriented analysis & Design- Overview
Object oriented analysis & Design- Overviewrmk_rrj
 
Object Oriented Analysis and Design - Overview
Object Oriented Analysis and Design - OverviewObject Oriented Analysis and Design - Overview
Object Oriented Analysis and Design - Overviewrmk_rrj
 
CS6502 OOAD - Question Bank and Answer
CS6502 OOAD - Question Bank and AnswerCS6502 OOAD - Question Bank and Answer
CS6502 OOAD - Question Bank and AnswerGobinath Subramaniam
 
M01_OO_Intro.ppt
M01_OO_Intro.pptM01_OO_Intro.ppt
M01_OO_Intro.pptRojaPogul1
 

Similar to ooadunitiintroduction-150730050129-lva1-app6892.pptx (20)

1. oose
1. oose1. oose
1. oose
 
01 introduction
01 introduction01 introduction
01 introduction
 
Unit IV Software Engineering
Unit IV Software EngineeringUnit IV Software Engineering
Unit IV Software Engineering
 
Object-Oriented Analysis and Design
Object-Oriented Analysis and DesignObject-Oriented Analysis and Design
Object-Oriented Analysis and Design
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)
 
Cs 2352 object oriented analysis and design
Cs 2352 object oriented analysis and designCs 2352 object oriented analysis and design
Cs 2352 object oriented analysis and design
 
Ooad (object oriented analysis design)
Ooad (object oriented analysis design)Ooad (object oriented analysis design)
Ooad (object oriented analysis design)
 
Assignment 1 SYD601 2012 rick_danby completed with audio
Assignment 1 SYD601 2012 rick_danby completed with audioAssignment 1 SYD601 2012 rick_danby completed with audio
Assignment 1 SYD601 2012 rick_danby completed with audio
 
Module3 - Object Oriented Analysis & Functional Model.pdf
Module3 - Object Oriented Analysis & Functional Model.pdfModule3 - Object Oriented Analysis & Functional Model.pdf
Module3 - Object Oriented Analysis & Functional Model.pdf
 
Software enginering.group-no-11 (1)
Software enginering.group-no-11 (1)Software enginering.group-no-11 (1)
Software enginering.group-no-11 (1)
 
CEN6016-Chapter1.ppt
CEN6016-Chapter1.pptCEN6016-Chapter1.ppt
CEN6016-Chapter1.ppt
 
CEN6016-Chapter1.ppt
CEN6016-Chapter1.pptCEN6016-Chapter1.ppt
CEN6016-Chapter1.ppt
 
20CB304 - SE - UNIT V - Digital Notes.pptx
20CB304 - SE - UNIT V - Digital Notes.pptx20CB304 - SE - UNIT V - Digital Notes.pptx
20CB304 - SE - UNIT V - Digital Notes.pptx
 
The-Foundations-of-Object-Oriented-Analysis-What-Every-CS-Student-Should-Know.
The-Foundations-of-Object-Oriented-Analysis-What-Every-CS-Student-Should-Know.The-Foundations-of-Object-Oriented-Analysis-What-Every-CS-Student-Should-Know.
The-Foundations-of-Object-Oriented-Analysis-What-Every-CS-Student-Should-Know.
 
5-CEN6016-Chapter1.ppt
5-CEN6016-Chapter1.ppt5-CEN6016-Chapter1.ppt
5-CEN6016-Chapter1.ppt
 
Object oriented analysis & Design- Overview
Object oriented analysis & Design- OverviewObject oriented analysis & Design- Overview
Object oriented analysis & Design- Overview
 
Lecture 1 oop
Lecture 1 oopLecture 1 oop
Lecture 1 oop
 
Object Oriented Analysis and Design - Overview
Object Oriented Analysis and Design - OverviewObject Oriented Analysis and Design - Overview
Object Oriented Analysis and Design - Overview
 
CS6502 OOAD - Question Bank and Answer
CS6502 OOAD - Question Bank and AnswerCS6502 OOAD - Question Bank and Answer
CS6502 OOAD - Question Bank and Answer
 
M01_OO_Intro.ppt
M01_OO_Intro.pptM01_OO_Intro.ppt
M01_OO_Intro.ppt
 

More from ubaidullah75790

vu-re-lecture-33 requirement engineering.ppt
vu-re-lecture-33 requirement engineering.pptvu-re-lecture-33 requirement engineering.ppt
vu-re-lecture-33 requirement engineering.pptubaidullah75790
 
Requirement management traceability.ppt
Requirement management  traceability.pptRequirement management  traceability.ppt
Requirement management traceability.pptubaidullah75790
 
SRS for banking system requirement engineer.ppt
SRS for banking system requirement engineer.pptSRS for banking system requirement engineer.ppt
SRS for banking system requirement engineer.pptubaidullah75790
 
Agile Method requirement engineering.ppt
Agile Method requirement engineering.pptAgile Method requirement engineering.ppt
Agile Method requirement engineering.pptubaidullah75790
 
traceabilty transport layer is liye .ppt
traceabilty transport layer is liye .ppttraceabilty transport layer is liye .ppt
traceabilty transport layer is liye .pptubaidullah75790
 
vu-re-lecture-45 requirement engineering.ppt
vu-re-lecture-45 requirement engineering.pptvu-re-lecture-45 requirement engineering.ppt
vu-re-lecture-45 requirement engineering.pptubaidullah75790
 
SRS for banking system requirement s.ppt
SRS for banking system requirement s.pptSRS for banking system requirement s.ppt
SRS for banking system requirement s.pptubaidullah75790
 
SRS 2 requiremenr engineering in computer.ppt
SRS 2 requiremenr engineering in computer.pptSRS 2 requiremenr engineering in computer.ppt
SRS 2 requiremenr engineering in computer.pptubaidullah75790
 
Requirments management traceability.ppt
Requirments  management traceability.pptRequirments  management traceability.ppt
Requirments management traceability.pptubaidullah75790
 
SRS 1 software requirement specificatio.ppt
SRS 1 software requirement specificatio.pptSRS 1 software requirement specificatio.ppt
SRS 1 software requirement specificatio.pptubaidullah75790
 
vu-re-lecture-10 requirement engineering.ppt
vu-re-lecture-10 requirement engineering.pptvu-re-lecture-10 requirement engineering.ppt
vu-re-lecture-10 requirement engineering.pptubaidullah75790
 
vu-re-lecture-09 engineering requiremen.ppt
vu-re-lecture-09 engineering requiremen.pptvu-re-lecture-09 engineering requiremen.ppt
vu-re-lecture-09 engineering requiremen.pptubaidullah75790
 
vu-re-lecture-08 requirement engineer.ppt
vu-re-lecture-08 requirement engineer.pptvu-re-lecture-08 requirement engineer.ppt
vu-re-lecture-08 requirement engineer.pptubaidullah75790
 
vu-re-lecture-06 requirement engineer.ppt
vu-re-lecture-06 requirement engineer.pptvu-re-lecture-06 requirement engineer.ppt
vu-re-lecture-06 requirement engineer.pptubaidullah75790
 
vu-re-lecture-05 requirement engineering.ppt
vu-re-lecture-05 requirement engineering.pptvu-re-lecture-05 requirement engineering.ppt
vu-re-lecture-05 requirement engineering.pptubaidullah75790
 
vu-re-lecture-04 software engineering.ppt
vu-re-lecture-04 software engineering.pptvu-re-lecture-04 software engineering.ppt
vu-re-lecture-04 software engineering.pptubaidullah75790
 
vu-re-lecture-03 requirement engineering.ppt
vu-re-lecture-03 requirement engineering.pptvu-re-lecture-03 requirement engineering.ppt
vu-re-lecture-03 requirement engineering.pptubaidullah75790
 
vu-re-lecture-02 requirements engineering.ppt
vu-re-lecture-02 requirements engineering.pptvu-re-lecture-02 requirements engineering.ppt
vu-re-lecture-02 requirements engineering.pptubaidullah75790
 
vu-re-lecture-01 software engineering.ppt
vu-re-lecture-01 software engineering.pptvu-re-lecture-01 software engineering.ppt
vu-re-lecture-01 software engineering.pptubaidullah75790
 
vu-re-lecture software requirement-25.ppt
vu-re-lecture software requirement-25.pptvu-re-lecture software requirement-25.ppt
vu-re-lecture software requirement-25.pptubaidullah75790
 

More from ubaidullah75790 (20)

vu-re-lecture-33 requirement engineering.ppt
vu-re-lecture-33 requirement engineering.pptvu-re-lecture-33 requirement engineering.ppt
vu-re-lecture-33 requirement engineering.ppt
 
Requirement management traceability.ppt
Requirement management  traceability.pptRequirement management  traceability.ppt
Requirement management traceability.ppt
 
SRS for banking system requirement engineer.ppt
SRS for banking system requirement engineer.pptSRS for banking system requirement engineer.ppt
SRS for banking system requirement engineer.ppt
 
Agile Method requirement engineering.ppt
Agile Method requirement engineering.pptAgile Method requirement engineering.ppt
Agile Method requirement engineering.ppt
 
traceabilty transport layer is liye .ppt
traceabilty transport layer is liye .ppttraceabilty transport layer is liye .ppt
traceabilty transport layer is liye .ppt
 
vu-re-lecture-45 requirement engineering.ppt
vu-re-lecture-45 requirement engineering.pptvu-re-lecture-45 requirement engineering.ppt
vu-re-lecture-45 requirement engineering.ppt
 
SRS for banking system requirement s.ppt
SRS for banking system requirement s.pptSRS for banking system requirement s.ppt
SRS for banking system requirement s.ppt
 
SRS 2 requiremenr engineering in computer.ppt
SRS 2 requiremenr engineering in computer.pptSRS 2 requiremenr engineering in computer.ppt
SRS 2 requiremenr engineering in computer.ppt
 
Requirments management traceability.ppt
Requirments  management traceability.pptRequirments  management traceability.ppt
Requirments management traceability.ppt
 
SRS 1 software requirement specificatio.ppt
SRS 1 software requirement specificatio.pptSRS 1 software requirement specificatio.ppt
SRS 1 software requirement specificatio.ppt
 
vu-re-lecture-10 requirement engineering.ppt
vu-re-lecture-10 requirement engineering.pptvu-re-lecture-10 requirement engineering.ppt
vu-re-lecture-10 requirement engineering.ppt
 
vu-re-lecture-09 engineering requiremen.ppt
vu-re-lecture-09 engineering requiremen.pptvu-re-lecture-09 engineering requiremen.ppt
vu-re-lecture-09 engineering requiremen.ppt
 
vu-re-lecture-08 requirement engineer.ppt
vu-re-lecture-08 requirement engineer.pptvu-re-lecture-08 requirement engineer.ppt
vu-re-lecture-08 requirement engineer.ppt
 
vu-re-lecture-06 requirement engineer.ppt
vu-re-lecture-06 requirement engineer.pptvu-re-lecture-06 requirement engineer.ppt
vu-re-lecture-06 requirement engineer.ppt
 
vu-re-lecture-05 requirement engineering.ppt
vu-re-lecture-05 requirement engineering.pptvu-re-lecture-05 requirement engineering.ppt
vu-re-lecture-05 requirement engineering.ppt
 
vu-re-lecture-04 software engineering.ppt
vu-re-lecture-04 software engineering.pptvu-re-lecture-04 software engineering.ppt
vu-re-lecture-04 software engineering.ppt
 
vu-re-lecture-03 requirement engineering.ppt
vu-re-lecture-03 requirement engineering.pptvu-re-lecture-03 requirement engineering.ppt
vu-re-lecture-03 requirement engineering.ppt
 
vu-re-lecture-02 requirements engineering.ppt
vu-re-lecture-02 requirements engineering.pptvu-re-lecture-02 requirements engineering.ppt
vu-re-lecture-02 requirements engineering.ppt
 
vu-re-lecture-01 software engineering.ppt
vu-re-lecture-01 software engineering.pptvu-re-lecture-01 software engineering.ppt
vu-re-lecture-01 software engineering.ppt
 
vu-re-lecture software requirement-25.ppt
vu-re-lecture software requirement-25.pptvu-re-lecture software requirement-25.ppt
vu-re-lecture software requirement-25.ppt
 

Recently uploaded

ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 

Recently uploaded (20)

ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 

ooadunitiintroduction-150730050129-lva1-app6892.pptx

  • 1. OBJECT ORIENTED ANALYSIS ANDDESIGN Text Book: Object Oriented Systems development Author: Ali Bahrami
  • 3. INTRODUCTION  An Overview of Object Oriented Systems Development  Object Basics  Object Oriented Systems Development Life Cycle
  • 4. Object-oriented analysis anddesign • Object-oriented analysis and design (OOAD) is a popular technical approach for • analyzing, • designing an application, system, or business • by applying the object oriented paradigm and • visual modeling throughout the development life cycles for better communication and product quality. • Object-oriented programming (OOP) is a method • based on the concept of “objects", • which are data structures that contain data, • in the form of fields, • often known as attributes; • and code, in the form of procedures, • often known as methods.
  • 5. Continued… • What is OOAD?- Object-oriented analysis and design (OOAD) is a software engineering approach that models a system as a group of interacting objects . • Analysis — understanding, finding and describing concepts in the problem domain. • Design — understanding and defining software solution/objects that represent the analysis concepts and will eventually be implemented in code. • OOAD - A software development approach that emphasizes a logical solution based on objects.
  • 6. Continued… Software development is dynamic and always undergoing major change. System development refers to all activities that go into producing information system solution. System development activities consist of  system analysis,  modelling,  design,  implementation,  testing and maintenance. A software development methodology  series of processes  can lead to the development of an application. Practices, procedures, and rules used to develop software, totally based on system requirements
  • 7. ORTHOGONALVIEWSOFTHESOFTWARE TwoApproaches,  TraditionalApproach  Objected-OrientedApproach TRADITIONALAPPROACH • Collection of programs or functions. • A system that is designed for performing certainactions. • Algorithms + Data Structures = Programs. • Software Development Models (Waterfall, Spiral, Incremental,etc..)
  • 8. A Brief History The object-oriented paradigm took its shape from the initial concept of a new programming approach, while the interest in design and analysis methods came much later. The first object–oriented language was Simula (Simulation of real systems) that was developed in 1960 by researchers at the Norwegian Computing Center. In 1970, Alan Kay and his research group at Xerox PARK created a personal computer named Dynabook and the first pure object-oriented programming language (OOPL) - Smalltalk, for programming the Dynabook. In the 1980s, Grady Booch published a paper titled Object Oriented Design that mainly presented a design for the programming language, Ada. In the ensuing editions, he extended his ideas to a complete object–oriented design method. In the 1990s, Coad incorporated behavioral ideas to object-oriented methods. The other significant innovations were Object Modelling Techniques (OMT) by James Rumbaugh and Object-Oriented Software Engineering (OOSE) by Ivar Jacobson.
  • 9. Object-Oriented Analysis Object–Oriented Analysis (OOA) is the procedure of identifying software engineering requirements and developing software specifications in terms of a software system’s object model, which comprises of interacting objects. The main difference between object-oriented analysis and other forms of analysis is that in object-oriented approach, requirements are organized around objects, which integrate both data and functions. They are modelled after real-world objects that the system interacts with. In traditional analysis methodologies, the two aspects - functions and data - are considered separately. Grady Booch has defined OOA as, “Object-oriented analysis is a method of analysis that examines requirements from the perspective of the classes and objects found in the vocabulary of the problem domain”. The primary tasks in object-oriented analysis (OOA) are − Identifying objects Organizing the objects by creating object model diagram Defining the internals of the objects, or object attributes Defining the behavior of the objects, i.e., object actions Describing how the objects interact
  • 10. Object-Oriented Design • Object–Oriented Design (OOD) involves implementation of the conceptual model produced during object-oriented analysis. In OOD, concepts in the analysis model, which are technology−independent, are mapped onto implementing classes, constraints are identified and interfaces are designed, resulting in a model for the solution domain, i.e., a detailed description of how the system is to be built on concrete technologies. • The implementation details generally include − • Restructuring the class data (if necessary), • Implementation of methods, i.e., internal data structures and algorithms, • Implementation of control, and • Implementation of associations.
  • 12. Continued… OBJECT ORIENTEDAPPROACH • OO development offers a different model from the traditional software  based on functions and procedures. • software is a collection of discrete object that encapsulate their dataas well as the functionality. • Each object has attributes (properties) and method (procedures). • software by building self contained modules or objects that can beeasily REPLACED, MODIFIED AND REUSED. • Objects grouped in to classes and object are responsible foritself.
  • 13. BENEFITS OFOBJECTORIENTATION Faster development, Reusability, Increased quality modeling the real world and provides us with the stronger equivalence of the real world‘s entities (objects). Raising the level of abstraction to the point where application can be implemented in the same terms as they are described.
  • 14. WHY OBJECTORIENTATION OO Methods enables to develop set of objects that work together  software  similar to traditional techniques. It adapts to • Changing requirements • Easier to maintain • More robust • Promote greater design • Code reuse
  • 15. Continued… Others • Higher level of abstraction • Seamless transition among different phases of software development. • Encouragement of good programming technique. • Promotion of reusability.
  • 16. OVERVIEWOFUNIFIEDAPPROACH The unified approach (UA) is a methodology for software development. Booch, Rumbaugh, Jacobson methodologies gives the best practices, processes and guidelines for OO oriented software development.  Combines with the object management groups in unified modelling language.  UA utilizes the unified modeling language (UML) which is a set of notations and conventions used to describe and model an application.
  • 17. TRADITIONALAPPROACH The traditional approach to software development tends toward writing a lot of code to do all the things that have to be done. Algorithmic Centric Methodology – only the algorithm that can accomplish the task. Data-Centric Methodology - think about the data to build a structure based on the algorithm You are the only active entity and the code is just basically a lot of building materials.
  • 18. OBJECT-ORIENTEDAPPROACH OO approach is more like creating a lot of helpers take on an active role, a spirit, that form a community whose interactions become the application. Reusable Modified Replaced
  • 19. EXAMPLES OFOBJECTORIENTED SYSTEMS In OO system , “everything is object”. A spreadsheet cell, bar chart, title in bar chart, report, numbers, arrays, records, fields, files, forms, an invoice, etc. A window object is responsible for things like opening, sizing, and closing itself. A chart object is responsible for things like maintaining data and labels even for drawing itself.
  • 20. WHATISAN OBJECT? The term object was first formally utilized in the Simula language to simulate some aspect of reality. Attributes or properties describe object‘s state (data) and methods (properties or functions) define its behavior. An object is an entity. • It knows things (has attributes) • It does things (provides services or has methods • Examples in next Slide ……….
  • 21. OBJECT’SATTRIBUTES Attributes represented by data type. They describe objects states. In the Car example the car’s attributes are: color, manufacturer, cost, owner, model, etc.
  • 22. OBJECT’SMETHODS Methods define objects behaviour and specify the way in which an Object’s data are manipulated. In the Car example the car’s methods are: drive it, lock it, tow it, carry passenger in it.
  • 23. IT KNOWS THINGS (ATTRIBUTES) I am an Employee. I know my name, social security number and my address. Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
  • 24. ATTRIBUTE S I am a Car. I know my color, manufacturer, cost, owner and model. Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
  • 25. IT DOES THINGS (METHODS) I know how to compute my payroll. Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
  • 26. METHODS I know how to stop. Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
  • 27. Object is whatever an applicationwants to talkabout. For example, Parts and assemblies might be objects of bill of material application. Stocks and bonds might be objects of financial investment applications.
  • 28. OBJECTSAREGROUPEDIN CLASSES The role of a class is to define the attributes and methods (the state and behaviour) of its instances. Used to distinguish one type of object from the other. Set of objects, that share common methods, structure, behaviour. Single object is simply an instance of class. The class car, for example, defines the property color. Each individual car (object) will have a value for this property, such as "maroon," "yellow" or "white."
  • 29. Employee Class John object Jane object Mark object Object-Oriented Systems Development Bahrami ? Irwin/ McGraw-Hill
  • 30. SESSION - 2 OBJECTS ANDCLASSES
  • 31. Objects • The concepts of objects and classes are intrinsically linked with each other and form the foundation of object– oriented paradigm. • Identity that distinguishes it from other objects in the system. • State that determines the characteristic properties of an object as well as the values of the properties that the object holds. • Behavior that represents externally visible activities performed by an object in terms of changes in its state.
  • 32. Class • A class represents a collection of objects having same characteristic properties that exhibit common behavior. • Creation of an object as a member of a class is called instantiation. • Thus, object is an instance of a class. • Example: Circle – a class x, to the center a, to denote the radius of the circle • Some of its operations can be defined as follows: findArea(), method to calculate area findCircumference(), method to calculate circumference
  • 33. Object orientedMethodologies • Many methodologies have been developed for object oriented development. • A methodology usually includes • Notation : Graphical representation of classes and their relationships with interactions. • Process : Suggested set of steps to carry out for transforming requirements into a working system. • Tool : Software for drawings and documentation
  • 34. UML – Unified modelinglanguage • UML focuses on standard modeling language and not a standard process. • UML focuses the concept of Booch, Rambaugh and Jacobson. • The UML is a standard graphical design for object- oriented graphical design and a medium for presenting important analysis and design concepts.
  • 35. UML Diagrams • Use Case Diagrams • Class Diagrams • Package Diagrams • Interaction Diagrams • Sequence • Collaboration • Activity Diagrams • State Transition Diagrams • Deployment Diagrams
  • 37. Use Case Diagrams • A use case diagram at its simplest is a representation of a user's interaction with the system that shows the relationship between the user and the different use cases in which the user is involved.
  • 38. Actor An actor instance is someone or something outside the system that interacts with the system. • An actor is anything that exchanges data with the system. • An actor can be a user, external hardware, or another system.
  • 39. How to FindActors • Actors: • Supply/use/remove information • Use the functionality. • Will be interested in any requirement. • Will support/maintain the system. • The system’s external resources. • The other systems will need to interact with this one.
  • 40. Documenting ActorCharacteristics Brief Description: • What or who the actor represents? • Why the actor is needed? • What interests the actor has in the system? Actor characteristics might influence how the system is developed: • The actor's scope of responsibility. • The physical environment in which the actor will be using the system. • The number of users represented by this actor.
  • 41. Use case • A set of scenarios that describes an interaction between a user and a system, including alternatives. • Example
  • 42. How to Find UseCases • What are the system tasks for each actor you have identified? • Does the actor need to be informed about certain occurrences in the system? • Will the actor need to inform the system about sudden, external changes? • Does the system supply the business with the correct behavior? • Can all features be performed by the use cases you have identified? • What use cases will support and maintain the system? • What information must be modified or created in the system?
  • 43. Use casestypes: • System start and stop. • Maintenance of the system (add user, …). • Maintenance of data stored in the system. • Functionality needed to modify behavior in the system.
  • 44. Terminologies • System boundary: rectangle diagram representing the boundary between the actors and the system. • Use Case Diagram(core relationship) Association: communication between an actor and a use case; Represented by a solid line. • Generalization: relationship between one general use case and a special use case (used for defining special alternatives) • Represented by a line with a triangular arrow head toward the parent use case.
  • 45. • Include: a dotted line labeled <<include>> beginning at base use case and ending with an arrows pointing to the include use case. The include relationship occurs when a chunk of behavior is similar across more than one use case. Use “include” in stead of copying the description of that behavior. <<include>> • Extend: a dotted line labeled <<extend>> with an arrow toward the base case. The extending use case may add behavior to the base use case. The base class declares “extension points”. <<extend>>
  • 46. Example: Library managementSystem • A generalized description of how a system will be used. • Provides an overview of the intended functionality of the system
  • 48. Continued… • Pay Bill is a parent use case and Bill Insurance is the child use case. (generalization) • Both Make Appointment and Request Medication include Check Patient Record as a subtask.(include) • The extension point is written inside the base case • Pay bill; the extending class Defer payment adds the behavior of this extension point. (extend)
  • 49. Class diagram • Used for describing structure and behavior in the use cases • Provides a conceptual model of the system in terms of entities and their relationships • Used for requirement capture, end-user interaction • Detailed class diagrams are used for developers
  • 50. Class representation • 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.
  • 52. OO Relationships • There are two kinds of Relationships • Generalization (parent-child relationship) • Association (student enrolls in course) • Associations can be further classified as • Aggregation • Composition
  • 54. OO Relationships:Association • Represent relationship between instances of classes • Student enrolls in a course • Courses have students • Courses have exams • Etc. • Association has two ends • Role names (e.g. enrolls) • Multiplicity (e.g. One course can have many students) • Navigability (unidirectional, bidirectional)
  • 55. Association: Multiplicity andRoles University Person 1 0..1 employer * * Multiplicity Symbol Meaning 1 0..1 M.. N * 0..* 1..* One and only one Zero or one From M to N (natural language) From zero to any positive integer From zero to any positive integer From one to any positive integer teacher Role Role “A given university groups many people; some act as students, others as teachers. A given student belongs to a single university; a given teacher may or maynot be working for the university at aparticular time.” student
  • 56. Association: Model toImplementation Class Student { Course enrolls[4]; } Class Course { Student have[]; } Student Course enrolls has * 4
  • 57. OO Relationships: Composition Class W Class P1 Class P2 Composition: expresses a relationship among instances of related classes. It is a specific kindof Whole-Part relationship. It expresses a relationship where an instance of the Whole-class has the responsibility to create and initialize instances of each Part- class. It may also be used to express a relationship where instances of the Part-classes have privileged access or visibilityto certain attributes and/or behaviorsdefined by the Whole-class. Whole Class Part Classes Automobile Engine Transmission Example
  • 58. OO Relationships:Aggregation Class C Class E1 Class E2 AGGREGATION Aggregation: expresses a relationship among instances of related classes. It is a specific kind of Container-Containee relationship. Aggregation should be used to express a more informal relationship than composition expresses. That is, it is an appropriate relationship where the Container and its Containees It expresses a relationship where an instance of the Container-class has the responsibility to hold and maintain instances of each Containee-class that have been created outside the Container-class. Containee Classes Aggregation is appropriate when Container and Containees have no special access privileges to each other. ContainerClass Bag Apples Milk Example
  • 59. Aggregation vs.Composition •Composition is really a strong form of aggregation •components have only one owner •components cannot exist independent of their owner •components live or die with their owner e.g. Each car has an engine that can not be shared with other cars. •Aggregations may form "part of" the aggregate, but may not be essential to it. They may also exist independent of the aggregate. e.g. Apples may exist independent of thebag.
  • 61. Interaction Diagram - Sequence diagram Collaboration Diagram
  • 62. Interaction Diagram • From the name Interaction it is clear that the diagram is used to describe some type of interactions among the different elements in the model. • So this interaction is a part of dynamic behavior of the system. • This interactive behavior is represented in UML by two diagrams known as Sequence diagram and Collaboration diagram. • The basic purposes of both the diagrams are similar.
  • 63. • Sequence diagram emphasizes on time sequence of messages and collaboration diagram emphasizes on the structural organization of the objects that send and receive messages. • The purposes of interaction diagram can be describes as: To capture dynamic behavior of a system. To describe the message flow in the system. To describe structural organization of the objects. To describe interaction among objects.
  • 64. The following factors 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. Example : Making a phone call.
  • 66. Sequence Diagrams – Object Life Spans • Creation • Create message • Object life starts at that point • Activation • Symbolized by rectangular stripes • Place on the lifeline where object is activated. • Rectangle also denotes when object is deactivated. • Deletion • Placing an ‘X’ on lifeline • Object’s life ends at that point Activation bar A B Create X Deletion Return Lifeline
  • 67. Collaboration Diagram • A collaboration diagram also shows the passing of messages between objects, but focuses on the objects and messages and their order instead of the time sequence. • The sequence of interactions and the concurrent threads are identified using sequence numbers. • A collaboration diagram shows an interaction the relationships among the objects playing the different roles. • The UML Specification suggests that collaboration diagrams are better for real-time specifications and for complex scenarios than sequence diagrams.
  • 69. Use Case diagram –Telephone Call
  • 71. Activity Diagram • Activity Diagram – a special kind of State chart diagram, but shows the flow from activity to activity • Activity state –non-atomic execution, ultimately result in some action; a composite made up of other activity/action states; can be represented by other activity diagrams • Action state –atomic execution, results in a change in state of the system or the return of a value (i.e., calling another operation, sending a signal, creating or destroying an object, or some computation); non- decomposable
  • 72. continued… • 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. • The basic purposes of activity diagrams are similar to other four diagrams.
  • 73. continued… • It captures the dynamic behavior of the system. • Other four diagrams are used to show the message flow from one object to another but activity diagram is used to show message flow from one activity to another. • Activity diagrams are not only used for visualizing dynamic nature of a system but they are also used to construct the executable system by using forward and reverse engineering techniques. • The only missing thing in activity diagram is the message part.
  • 74. How to draw Activity Diagram? • Activity diagrams are mainly used as a flow chart consists of activities performed by the system. • So before drawing an activity diagram we should identify the following elements: • Activities • Association • Conditions • Constraints
  • 75. Example : order managementsystem • Send order by the customer • Receipt of the order • Confirm order • Dispatch order
  • 76. Uses of ActivityDiagrams • Modeling work flow by using activities. • Modeling business requirements. • High level understanding of the system's functionalities. • Investigate business requirements at a later stage.