SlideShare a Scribd company logo
3
Most read
4
Most read
Object Oriented Programming Concepts Analysis + Design
What’s in store… Real world problems    software solution Functionality – Requirements/Use-cases Object Oriented [OO] Concepts Unified Modeling Language [UML] Simple Design Pattern
Real World Problems    Software Solutions 1. Functionality   - The code should do what it’s supposed to do 2. Analysis and Design  - Application of basic OO concepts 3 .  Frameworks & Design Patterns  – Strive for a maintainable and scalable solution
Functionality – Requirements & Use-cases Requirements  set out the final expectations from the system Use-case  enumerates in detail the steps the system should take Use-case has a  single  goal Every use-case has a  start  and  stop  condition, an  external initiator  and  clear value
Functionality – Requirements & Use-cases A B C … UC 1 UC 2 UC 4 UC2 UC3 UC4 UC1 UC4 UC5 UC6 Requirements
OO Concepts Everything  is  an  Object Everything  consists  of  objects
OO Concepts – I N H E R I T A N C E Build classes  based on other  classes Avoid  duplicating  and  repeating Inherit  behaviour and change [ override ] if required Sub-class should be  substitutable  for parent class
OO Concepts – P O L Y M O R P H I S M Change behaviour  without  changing code Allows a sub-class to  stand-in  for another class
OO Concepts – E N C A P S U L A T I O N Protect information  in your code from being  used incorrectly Object  = state +  behaviour Also known as  Information Hiding  or  Separation of Concerns Duplicate code  is an  indicator
OO Concepts – C O M P O S I T I O N Loose coupling between objects Greater flexibility Code changes don’t lead to cascading code breakage  Better encapsulation
Unified Modeling Language – U M L Purely  representational Programming language  independent A notational set based  language  and NOT a methodology Fits easily into any company’s way of functioning Conveys information through a wide set of diagrams Use-case diagram Class diagram Sequence diagram State-chart diagram  Activity diagram Component diagram
U M L – Use-Case Diagram Illustrates a  unit of functionality Helps visualize functional requirements of a system Include relationships of actors [users] to processes
U M L – Class Diagram Shows the static structures and relationships of a system Can be used to display logical groupings/classifications Also used to depict implementation classes Both the state and behaviour of classes captured Relationships between classes also important
U M L – Sequence Diagram Depicts in detail the flow of control through a use-case Consists of 2 dimensions – Horizontal – shows sequence of calls/messages in time order of occurrence Vertical – the object instances to which messages are sent Sequence of flow starts at the top left corner
A Design Pattern – D E L E G A T I O N An object  outwardly  exhibits a behaviour – which is performed by another object Better encapsulation Impact of code changes minimised Sometimes referred to as  aggregation Example – A stack built on top of a list
So,  WHAT  MAKES  GOOD  CODE?
References UML Basic: An Introduction [IBM] Head First  - Object Oriented Analysis and Design Wikipedia
 

More Related Content

What's hot (20)

PPT
Chapter1
Dang Tuan
 
PPT
Object Oriented Analysis and Design with UML2 part2
Haitham Raik
 
PPTX
Object model
Hoang Nguyen
 
PDF
CS8592 Object Oriented Analysis & Design - UNIT I
pkaviya
 
PDF
Object oriented analysis and design unit- i
Shri Shankaracharya College, Bhilai,Junwani
 
PPSX
DISE - OOAD Using UML
Rasan Samarasinghe
 
PPTX
Object oriented methodologies
naina-rani
 
PPTX
Object oriented methodology & unified modeling language
Ismail El Gayar
 
PPTX
Jeet ooad unit-2
Jitendra s Rathore
 
PPT
Object Oriented Analysis and Design
Dr. C.V. Suresh Babu
 
PPTX
Object Oriented Approach for Software Development
Rishabh Soni
 
PDF
Object oriented analysis and design unit- iv
Shri Shankaracharya College, Bhilai,Junwani
 
PDF
OOAD chapter 1
Parkavi Umadoss
 
PPT
Object Oriented Analysis and Design
university of education,Lahore
 
PPT
Oomd unit1
VivekChaudhary93
 
PPT
OOAD UNIT I UML DIAGRAMS
Mikel Raj
 
PPT
Ooad
gantib
 
PPT
Object Process Methodology
guest77b0cd12
 
PDF
A&D - Object Oriented Design using UML
vinay arora
 
Chapter1
Dang Tuan
 
Object Oriented Analysis and Design with UML2 part2
Haitham Raik
 
Object model
Hoang Nguyen
 
CS8592 Object Oriented Analysis & Design - UNIT I
pkaviya
 
Object oriented analysis and design unit- i
Shri Shankaracharya College, Bhilai,Junwani
 
DISE - OOAD Using UML
Rasan Samarasinghe
 
Object oriented methodologies
naina-rani
 
Object oriented methodology & unified modeling language
Ismail El Gayar
 
Jeet ooad unit-2
Jitendra s Rathore
 
Object Oriented Analysis and Design
Dr. C.V. Suresh Babu
 
Object Oriented Approach for Software Development
Rishabh Soni
 
Object oriented analysis and design unit- iv
Shri Shankaracharya College, Bhilai,Junwani
 
OOAD chapter 1
Parkavi Umadoss
 
Object Oriented Analysis and Design
university of education,Lahore
 
Oomd unit1
VivekChaudhary93
 
OOAD UNIT I UML DIAGRAMS
Mikel Raj
 
Ooad
gantib
 
Object Process Methodology
guest77b0cd12
 
A&D - Object Oriented Design using UML
vinay arora
 

Viewers also liked (20)

PPT
Object Oriented Analysis and Design
Haitham El-Ghareeb
 
PPTX
Ooad unit – 1 introduction
Babeetha Muruganantham
 
PPT
02 si(systems analysis and design )
Nurdin Al-Azies
 
PPT
Object oriented analysis
Mahesh Bhalerao
 
PPTX
Introduction to Object Oriented Programming
Moutaz Haddara
 
PPT
Chapter20 object oriented analysis and design
Dhani Ahmad
 
PDF
Object-Oriented Analysis And Design With Applications Grady Booch
Sorina Chirilă
 
PPT
Object Oriented Programming Concepts
thinkphp
 
PDF
Object-oriented design principles
Xiaoyan Chen
 
PPT
Introduction to Object Oriented Design
Computing Cage
 
DOC
Ooad lab manual
Praseela R
 
PPTX
Empathetic genre conversion exam prep
Andy Fisher
 
PDF
Object Oriented Design Principles
Thang Tran Duc
 
PPT
Introduction er & eer
saurabhshertukde
 
PPTX
Brandon Hall/QuickLessons social media for learning
QuickLessons LLC
 
PPT
Give ‘em a playground and they’ll learn: Challenge-based technology training ...
Gillian Byrne
 
PPT
Exploring Science, Technology, Engineering, and Math (STEM) Content and Conce...
Diana Wehrell-Grabowski,Ph.D.
 
PPTX
Software reliability growth model
Himanshu
 
PPT
Want to know the future of Social Media in learning?
Learning Pool Ltd
 
PDF
162605e
dedoyin
 
Object Oriented Analysis and Design
Haitham El-Ghareeb
 
Ooad unit – 1 introduction
Babeetha Muruganantham
 
02 si(systems analysis and design )
Nurdin Al-Azies
 
Object oriented analysis
Mahesh Bhalerao
 
Introduction to Object Oriented Programming
Moutaz Haddara
 
Chapter20 object oriented analysis and design
Dhani Ahmad
 
Object-Oriented Analysis And Design With Applications Grady Booch
Sorina Chirilă
 
Object Oriented Programming Concepts
thinkphp
 
Object-oriented design principles
Xiaoyan Chen
 
Introduction to Object Oriented Design
Computing Cage
 
Ooad lab manual
Praseela R
 
Empathetic genre conversion exam prep
Andy Fisher
 
Object Oriented Design Principles
Thang Tran Duc
 
Introduction er & eer
saurabhshertukde
 
Brandon Hall/QuickLessons social media for learning
QuickLessons LLC
 
Give ‘em a playground and they’ll learn: Challenge-based technology training ...
Gillian Byrne
 
Exploring Science, Technology, Engineering, and Math (STEM) Content and Conce...
Diana Wehrell-Grabowski,Ph.D.
 
Software reliability growth model
Himanshu
 
Want to know the future of Social Media in learning?
Learning Pool Ltd
 
162605e
dedoyin
 
Ad

Similar to Object Oriented Analysis and Design (20)

PDF
OBJECT ORIENTED CONCEPTS,UML DIAGRAMS,DFD
smithaps4
 
DOCX
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.docx
ganeshkarthy
 
PPT
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
VGaneshKarthikeyan
 
PPT
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
VGaneshKarthikeyan
 
PPT
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
VGaneshKarthikeyan
 
PPT
Uml1 concepts
Nolan Neustaeter
 
PPT
Object oriented analysis and design. SE 221
AhammadUllah3
 
PPT
Visual Modelling and the Unified Modeling Language.ppt
girumdethio
 
PDF
Object oriented analysis and design unit- ii
Shri Shankaracharya College, Bhilai,Junwani
 
PDF
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...
Isuru Perera
 
PPTX
Assignment 1 SYD601 2012 rick_danby completed with audio
RickNZ
 
PPT
uml123 copy
Amit Sachan
 
PPT
UML Diagrams, examples, descriptions and tutorials
Mani Deepak Choudhry
 
PPTX
Understanding unified modelling language
Emmanuel Kumah
 
PPT
ASP.NET System design 2
Sisir Ghosh
 
PPTX
UNIT 01 SMD.pptx
Kalpna Saharan
 
PPTX
Uml
Vishwa Mohan
 
PPT
UML (Hemant rajak)
hrajak5
 
DOCX
Ooad unit 1
raj kumar
 
PDF
Object oriented analysis and design unit- iii
Shri Shankaracharya College, Bhilai,Junwani
 
OBJECT ORIENTED CONCEPTS,UML DIAGRAMS,DFD
smithaps4
 
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.docx
ganeshkarthy
 
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
VGaneshKarthikeyan
 
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
VGaneshKarthikeyan
 
UNIT-I(Unified_Process_and_Use Case_Diagrams)_OOAD.ppt
VGaneshKarthikeyan
 
Uml1 concepts
Nolan Neustaeter
 
Object oriented analysis and design. SE 221
AhammadUllah3
 
Visual Modelling and the Unified Modeling Language.ppt
girumdethio
 
Object oriented analysis and design unit- ii
Shri Shankaracharya College, Bhilai,Junwani
 
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...
Isuru Perera
 
Assignment 1 SYD601 2012 rick_danby completed with audio
RickNZ
 
uml123 copy
Amit Sachan
 
UML Diagrams, examples, descriptions and tutorials
Mani Deepak Choudhry
 
Understanding unified modelling language
Emmanuel Kumah
 
ASP.NET System design 2
Sisir Ghosh
 
UNIT 01 SMD.pptx
Kalpna Saharan
 
UML (Hemant rajak)
hrajak5
 
Ooad unit 1
raj kumar
 
Object oriented analysis and design unit- iii
Shri Shankaracharya College, Bhilai,Junwani
 
Ad

Recently uploaded (20)

PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 

Object Oriented Analysis and Design

  • 1. Object Oriented Programming Concepts Analysis + Design
  • 2. What’s in store… Real world problems  software solution Functionality – Requirements/Use-cases Object Oriented [OO] Concepts Unified Modeling Language [UML] Simple Design Pattern
  • 3. Real World Problems  Software Solutions 1. Functionality - The code should do what it’s supposed to do 2. Analysis and Design - Application of basic OO concepts 3 . Frameworks & Design Patterns – Strive for a maintainable and scalable solution
  • 4. Functionality – Requirements & Use-cases Requirements set out the final expectations from the system Use-case enumerates in detail the steps the system should take Use-case has a single goal Every use-case has a start and stop condition, an external initiator and clear value
  • 5. Functionality – Requirements & Use-cases A B C … UC 1 UC 2 UC 4 UC2 UC3 UC4 UC1 UC4 UC5 UC6 Requirements
  • 6. OO Concepts Everything is an Object Everything consists of objects
  • 7. OO Concepts – I N H E R I T A N C E Build classes based on other classes Avoid duplicating and repeating Inherit behaviour and change [ override ] if required Sub-class should be substitutable for parent class
  • 8. OO Concepts – P O L Y M O R P H I S M Change behaviour without changing code Allows a sub-class to stand-in for another class
  • 9. OO Concepts – E N C A P S U L A T I O N Protect information in your code from being used incorrectly Object = state + behaviour Also known as Information Hiding or Separation of Concerns Duplicate code is an indicator
  • 10. OO Concepts – C O M P O S I T I O N Loose coupling between objects Greater flexibility Code changes don’t lead to cascading code breakage Better encapsulation
  • 11. Unified Modeling Language – U M L Purely representational Programming language independent A notational set based language and NOT a methodology Fits easily into any company’s way of functioning Conveys information through a wide set of diagrams Use-case diagram Class diagram Sequence diagram State-chart diagram Activity diagram Component diagram
  • 12. U M L – Use-Case Diagram Illustrates a unit of functionality Helps visualize functional requirements of a system Include relationships of actors [users] to processes
  • 13. U M L – Class Diagram Shows the static structures and relationships of a system Can be used to display logical groupings/classifications Also used to depict implementation classes Both the state and behaviour of classes captured Relationships between classes also important
  • 14. U M L – Sequence Diagram Depicts in detail the flow of control through a use-case Consists of 2 dimensions – Horizontal – shows sequence of calls/messages in time order of occurrence Vertical – the object instances to which messages are sent Sequence of flow starts at the top left corner
  • 15. A Design Pattern – D E L E G A T I O N An object outwardly exhibits a behaviour – which is performed by another object Better encapsulation Impact of code changes minimised Sometimes referred to as aggregation Example – A stack built on top of a list
  • 16. So, WHAT MAKES GOOD CODE?
  • 17. References UML Basic: An Introduction [IBM] Head First - Object Oriented Analysis and Design Wikipedia
  • 18.