Object Oriented Analysis (Coad-Yourdon)

SubashKhatiwada8 3,698 views 23 slides Feb 24, 2021
Slide 1
Slide 1 of 23
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23

About This Presentation

Object Oriented Software Engineering
Object-Oriented Analysis
(Coad-Yourdon)


Slide Content

Object-Oriented Analysis ( Coad-Yourdon) Subash Khatiwada 1 st semester MSc.CSIT, CDCSIT, Kritipur

OOA- Introduction Object Oriented Analysis is an analysis model developed to describe the functionality of the system. Peter Coad and Edward Yourdon described step by step method for developing object oriented system models in 1991.

Why do we need Object Oriented Analysis? Tackle more challenging problem domains. Improve analyst and problem domain expert interaction. Increase the internal consistency of analysis results. Explicitly represent commonality. Build specifications resilient to change. Reuse analysis results. Provide a consistent underlying representation for analysis.

Five major activities of OOA Finding Class & Objects Identifying Structures Identifying Subjects Defining Attributes Defining Services

[1] Finding Class & Objects Class & objects within a problem domain and within the context of a system’s responsibilities are identified. Where to look? Observe first-hand Actively listen to problem domain experts Check previous OOA results Check other systems Prototype Read, Read, Read 

Graphical Notation Representing Aircraft in class notation

[2] Identifying Structures Overall structures of system is identified by two terms: Generalization and Specialization (Gen-Spec) Structure It captures the inheritance hierarchy among identified classes. Whole-Part Structure Whole-part structure is used to model how an object is part of another object and how an objects are grouped into larger categories.

Example: Gen-Spec Structure

Example: Whole-Part Structure an aircraft is an assembly of possibly no engine (a glider!) at most four engines and an engine is part of possibly no aircraft at most one aircraft

[3] Identifying Subjects Identifying subjects is done by partitioning the Class & Objects model into larger units. Subjects are groups of Class & Objects. Subjects are defined after identifying system’s structures.

[4] Defining Attributes Defining attributes is done by identifying information and associations that should be associated with each and every instance.

Example: Instance Connection A particular fight plan must be assigned for exactly one aircraft, any particular aircraft may have zero or many flight plans.

[5] Defining Services Defining services means defining the operation of the classes, this is done by identifying the object states and defining services such as create, access, connect, display and so on. How the objects communicate with messages is identified using message connections.

Strategy – Defining Services Identifying Object States Identify the required Services Identify the Message Connections Specify the Services  eg. Radar.SerachAirSpace () Put the OOA documentation set together

Example Real Time Airlift System (RTAS)

[1] Finding Class & Objects

[2] Identifying Structures

[3] Identifying Subjects

[4] Defining Attributes

[5] Defining Services

OOA Multilayer Model Object Oriented Analysis can be presented in five layers: Subject Layer Class & Object Layer Structure Layer Attribute Layer Service Layer

Thank you!