JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
OBJECT ORIENTED ANALYSIS AND
DESIGN
Dr. Vikram Neerugatti
Associate Professor
Department of CSE
2/8/2023 OOAD by Dr. Vikram Neerugatti 1
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
• An overview
• Object basics
• Object state and
properties
• Object Behavior and
Methods
• Messages
• Information Hiding
• Class hierarchy
• Relationships
• Associations
Content
2/8/2023 OOAD by Dr. Vikram Neerugatti 2
• Aggregations
• Identity
• Dynamic binding
• Persistence
• Meta classes
• Object oriented system
development life cycle
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ S/W development – dynamic – changes
✓ System Development consists of
✓ Analysis
✓ Modelling
✓ Design
✓ Implementation
✓ Testing
✓ Maintenance
✓ Two orthogonal views of the software
✓ Traditional - Functions
✓ Object oriented – object – combines data (attributes) and
functions (methods)
An Overview
2/8/2023 OOAD by Dr. Vikram Neerugatti 3
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ OOAD – Every thing – Object
✓ Adapt changes
✓ High level of abstraction
✓ Seamless transitions among different phases of s/w
development
✓ Encouragement of good programming techniques
✓ Promotion of reusability
✓ Unified approach – Unified Modelling language
(UML)
An Overview
2/8/2023 OOAD by Dr. Vikram Neerugatti 4
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
An Overview
2/8/2023 OOAD by Dr. Vikram Neerugatti 5
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ Object – real world entity
✓ Properties: (attributes) describe the state of an object
✓ Methods: (procedures) define is behavior
✓ Combination of data and logic – real world entity
✓ Car - Data – name, price, color. Logic-mileage, stop, go,
etc.
✓ Objects are grouped in class
✓ Each object is an instance of class
✓ Employee class has vikram, Sruthi, nani as instances or
objects
Object basics
2/8/2023 OOAD by Dr. Vikram Neerugatti 6
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ Attributes
✓ Properties represent state of the object
Object state and properties
2/8/2023 OOAD by Dr. Vikram Neerugatti 7
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ Behaviour
✓ Procedures
✓ Collection of methods, what object is capable of doing.
Object Behavior and Methods
2/8/2023 OOAD by Dr. Vikram Neerugatti 8
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ Object performs operations, in respond to messages.
✓ Different objects- responds to same message – in
different way - Polymorphisms
Objects respond to Messages
2/8/2023 OOAD by Dr. Vikram Neerugatti 9
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ Hiding properties and methods
✓ Public, Private and Protected
Encapsulation and Information Hiding
2/8/2023 OOAD by Dr. Vikram Neerugatti 10
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ Super class – Sub Class
✓ Inheritance
Class Hierarchy
2/8/2023 OOAD by Dr. Vikram Neerugatti 11
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ Association – representations – relationship b/w objects
and classes
✓ One – to – One, etc…
✓ Cardinality – how many instances of one class is
related to a single instance of an associated class.
Relationships and Associations
2/8/2023 OOAD by Dr. Vikram Neerugatti 12
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ Car object is aggregation of other objects engine,
wheels, etc.
Aggregations
2/8/2023 OOAD by Dr. Vikram Neerugatti 13
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ In an object system, object identity often is
implemented through some kind of object identifier
(OID) or unique identifier (UID)
Identity
2/8/2023 OOAD by Dr. Vikram Neerugatti 14
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ The process of determining (dynamically) at run time
which functions to invoke is termed dynamic binding.
✓ Making this determination earlier, at compile time, is
called static binding.
Dynamic binding
2/8/2023 OOAD by Dr. Vikram Neerugatti 15
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ Objects – life time
✓ Processing time - duration
Persistence
2/8/2023 OOAD by Dr. Vikram Neerugatti 16
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
✓ A class is an object, a class belongs to a class called a
meta-class, or a class of classes.
Meta classes
2/8/2023 OOAD by Dr. Vikram Neerugatti 17
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
Object oriented system development life cycle
2/8/2023 OOAD by Dr. Vikram Neerugatti 18
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
Object oriented system development life cycle
2/8/2023 OOAD by Dr. Vikram Neerugatti 19
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
• An overview
• Object basics
• Object state and
properties
• Object Behavior and
Methods
• Messages
• Information Hiding
• Class hierarchy
• Relationships
• Associations
Summary
2/8/2023 OOAD by Dr. Vikram Neerugatti 20
• Aggregations
• Identity
• Dynamic binding
• Persistence
• Meta classes
• Object oriented system
development life cycle
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
2/8/2023 OOAD by Dr. Vikram Neerugatti 21
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
2/8/2023 OOAD by Dr. Vikram Neerugatti 22
Any Questions/Clarifications/Doubts
JAIN
–
DEEMED
TO
BE
UNIVERSITY
GLOBAL
CAMPUS:
45th
km
NH
-
209
Jakkasandra
Post,
Kanakapura
Rd,
Bengaluru,
Karnataka
562112
Department of CSE
2/8/2023 OOAD by Dr. Vikram Neerugatti 23
Thank you all

INTRODUCTION to OOAD