SlideShare a Scribd company logo
1 of 21
Download to read offline
ObjectObject--Oriented Software EngineeringOriented Software Engineering
Chapter 1
An Introduction to
Object-Oriented Software
Engineering
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
What is Object-Oriented Software
Engineering ?....
Object-Oriented Software Engineering is the process of
solving customers’ problems by using the Object-Oriented
concepts and the systematic development and evolution of
large, high-quality software systems within cost and time.
3
Two Orthogonal views of software
 The StructuralStructural
 "part of" hierarchy, functions
 concentrate on actual components
 concrete
 The Object OrientedObject Oriented
 "is a" hierarchy
 concentrate on kinds of components
 abstract
4
A View of the Two paradigms
5
A View of the Two paradigms
6
What is a Software development
methodology?
•Practices, procedures, and rules
used to develop software.
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Systems Development
Methodologies
• Systems Development methodology is
a way to develop system.
• A Comprehensive System
Development methodology utilizes sets
of tools as well as the style in which they
are to be used.
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Object Oriented System
Development methodology
• Object-Oriented Systems Development is a
way to develop software by building self-
contained modules that can be more easily:
• Replaced
• Modified
• and Reused.
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Traditional Systems
Development Methodology
• Traditional or Structured approach is
based on the idea that a system can be
thought of as a collection of modules
or subsystems.
• It is much easier to work with a
smaller cohesive (inter-related)
module than a complex system.
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Object-Oriented Systems
Development Methodology
•In an O-O environment, Software
is a collection of discrete objects.
•These objects encapsulate their
data and functionalities to model
real world "objects."
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Object-Oriented Systems
Development Approach
Iteration and Reuse
Build use-case
model
Validate/ Test
O-O Analysis
Build
Use-Cases
Design classes,
define
attributes and
methods
O-O Design
O-O
Implementation
Using TOOLS
CASE and/or
OO programing
languages
User
satisfaction
Usability &
QA Tests
Build object
& dynamic
model
Object
analysis
Build UI
and
prototype
User satisfaction test,
usability test
quality assurance test
Validate/
test
Object-Oriented Environment
In an object-oriented environment,
software is a collection of discrete
objects that encapsulate their data
and the functionality to model
real-world objects
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Object-Oriented Systems
Development Methodology (Con’t)
•An object-oriented life cycle
encourages a view of the world as
a system of cooperative and
collaborating agents.
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
15
What Object Oriented…?
Object Orientation
is about viewing and modelling the real
world / system as a set of interacting
and interrelated objects
Features of OO Approach:
 The universe consists of interacting
objects
 Describes and builds systems
consisting of objects
Benefits of Object Orientation
• An Object orientation produces
systems that are easier to evolve
(develop), more flexible, more robust,
and more re-usable than other
Traditional approaches
• Faster development,
• Re-Usability,
• Increased quality,
• and easier maintenance.
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Towards Object Orientation
17
Unified Approach
•The unified approach (UA) is a
methodology for software
development.
•The UA, based on methodologies
by Booch, Rumbaugh, Jacobson,
and others, tries to combine the
best practices, processes, and
guidelines.
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Unified Approach (Con’t)
•UA utilizes the Unified Modeling
Language (UML) which is a set of
notations and conventions used to
describe and model an
application.
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Layered Architecture
•UA also uses a layered architecture
to develop applications.
•The layered approach consists of
view (or) user interface, business,
and access layers.
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Layered Architecture (Con’t)
•This approach reduces the inter-
dependence of the user interface,
database access, and business control.
•Therefore, it allows for a more robust
(healthy/ strong) and flexible system.
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
An object oriented philosophy
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
Class and Object
Class and Object
24
Class and Object
Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
27
Identification of Attributes
• Attributes express some important aspects of the
objects in the problem domain
Leg
Leg
Body
Arm
Arm
Head
A model of a B
Body can be
composed of
these objects.
28
JohnJohn
Identification
of Attributes
Identification
of Behaviors
ShafiShafi JohnJohn MaryMary
29
Identification
of Attributes
Identification
of Behaviors
ShafiShafi JohnJohn MaryMary
30
Inheritance
Class of PersonsClass of Persons
31
Inheritance
Class of PersonClass of Person
AttributesAttributes
Name
Address
Age
Profession
BodyBody
Left Leg
Right Leg
Left Hand
Right Hand
Head
BehaviorBehavior
Tell Age
Store Age
Jump
Walk
Dance
…….
Create an InstanceCreate an Instance
Create Left Leg
Create Right Leg
Create Head
Create Left Hand
Create Right Hand
Class PersonClass Person
Instance of
Instance of
Instance of
3 November 2014R. MD. Shafi, Associate Professor in CSE
32
Step-4: Inheritance Contd…
Class BodyClass Body
AttributesAttributes
Left Leg
Right Leg
Left Hand
Right Hand
Head
BehaviorBehavior
Move Right Hand
Move Left Hand
Stretch Right Leg
Bend Left Leg
…………...
Create A BodyCreate A Body
Create Left Leg
Create Right Leg
Create Head
Create Left Hand
Create Right Hand
33
Class of PersonClass of Person
AttributesAttributes
Name
Address
Age
Body
Profession
BehaviorBehavior
Tell Age
Store Age
Jump
Walk
Dance
…….
Create A PersonCreate A Person
Create A Body
Class PersonClass Person
Instance of
Instance of
Instance of
Inheritance
34
Inheritance: Person-Man-Woman
AttributesAttributes
Husband
BehaviorBehavior
Store Age
Jump
Walk
Dance
…….
Create A WomanCreate A Woman
Create A Person
Female ClassFemale Class
Derived fromDerived from
Person ClassPerson Class
AttributesAttributes
Wife
BehaviorBehavior
Tell Age
Store Age
Jump
Walk
Dance
…….
Create A ManCreate A Man
Create A Person
Male ClassMale Class
Derived fromDerived from
Person ClassPerson Class
35
Object Technology Principles
Common Methods of Organization
Abstraction
Encapsulation (Information Hiding)
Inheritance
Polymorphism
Message Communication
Associations
Reuse
36
• Common Methods of Organization
People are accustomed to thinking in terms of...
• color
• price
• weight
• engine
• options...
Objects & Attributes
• number of doors
• number of wheels
• number of windows
• number of lights
• number of bolt type 1
• number of bolt type 2
• etc....
Wholes and PartsGroups & Members
VANS:
• light utility
• utility
• passenger
• etc...
37
Abstraction
A mental ability that permits people to view real-world
problem domains with varying degrees of detail
depending on the current context of the problem.
• Helps people to think about what they are doing
• Functional and Data abstraction
38
Encapsulation (Information Hiding)
A technique in which data are packaged together with
their corresponding procedures.
 In Object-Oriented Technology the “package” is called an OBJECT
 The interface to each object is defined in such a way as to reveal as little as
possible about its inner workings
 Encapsulation allows [software] changes to be reliably made with limited effort
[Gannon, Hamlet, & Mills, 1987]
39
Inheritance
A mechanism for expressing similarity
between things thus simplifying their definition.
• looks
• behavior
•Attitudes etc...
Person
Student Faculty Staff
Inheritance
40
Polymorphism (“many forms”)
The ability to hide different implementations
behind a common interface.
The ability for two or more objects to respond
to the same request, each in its own way.
• H2 O = water, ice, steam (liquid, solid, vapor)
• Carbon compound crystallizes as graphite &
diamond
41
Message Communication
OBJECT
OBJECT
OBJECT
OBJECT
Objects communicate via messages

More Related Content

Viewers also liked (12)

Recognitions_Career
Recognitions_CareerRecognitions_Career
Recognitions_Career
 
6. oose testing
6. oose testing6. oose testing
6. oose testing
 
Ooad
OoadOoad
Ooad
 
3. 2 req elicitation activities
3. 2  req elicitation activities3. 2  req elicitation activities
3. 2 req elicitation activities
 
Ooad 2
Ooad 2Ooad 2
Ooad 2
 
3. 1 req elicitation
3. 1 req elicitation3. 1 req elicitation
3. 1 req elicitation
 
Recognitions_Career
Recognitions_CareerRecognitions_Career
Recognitions_Career
 
5. oose design new copy
5. oose design new   copy5. oose design new   copy
5. oose design new copy
 
Uml examples
Uml examplesUml examples
Uml examples
 
Cv2015 atsushi teshima
Cv2015 atsushi teshimaCv2015 atsushi teshima
Cv2015 atsushi teshima
 
2.1 usecase diagram
2.1 usecase diagram2.1 usecase diagram
2.1 usecase diagram
 
Cv2016 TESHIMA ATSUSHI
Cv2016 TESHIMA ATSUSHICv2016 TESHIMA ATSUSHI
Cv2016 TESHIMA ATSUSHI
 

Similar to 1. oose

ooadunitiintroduction-150730050129-lva1-app6892.pptx
ooadunitiintroduction-150730050129-lva1-app6892.pptxooadunitiintroduction-150730050129-lva1-app6892.pptx
ooadunitiintroduction-150730050129-lva1-app6892.pptxubaidullah75790
 
Handout on Object orienetd Analysis and Design
Handout on Object orienetd Analysis and DesignHandout on Object orienetd Analysis and Design
Handout on Object orienetd Analysis and DesignSAFAD ISMAIL
 
Object Modelling Technique " ooad "
Object Modelling Technique  " ooad "Object Modelling Technique  " ooad "
Object Modelling Technique " ooad "AchrafJbr
 
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
 
Week-2_LectureA1_701.pdf
Week-2_LectureA1_701.pdfWeek-2_LectureA1_701.pdf
Week-2_LectureA1_701.pdfssuserc3fe80
 
Bt8901 objective oriented systems1
Bt8901 objective oriented systems1Bt8901 objective oriented systems1
Bt8901 objective oriented systems1Techglyphs
 
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
 
Tropos project toward RE
Tropos project toward RETropos project toward RE
Tropos project toward RESehrish Asif
 
Chapter 1-Object Oriented Software Engineering.pptx
Chapter 1-Object Oriented Software Engineering.pptxChapter 1-Object Oriented Software Engineering.pptx
Chapter 1-Object Oriented Software Engineering.pptxaroraritik30
 
unit2 object oriented Methodologies ppt.pptx
unit2 object oriented  Methodologies ppt.pptxunit2 object oriented  Methodologies ppt.pptx
unit2 object oriented Methodologies ppt.pptxSARANYAM124686
 
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
 
Object Oriented Analysis & Design
Object Oriented Analysis & DesignObject Oriented Analysis & Design
Object Oriented Analysis & DesignMeghaj Mallick
 
System Development Overview Assignment 3
System Development Overview Assignment 3System Development Overview Assignment 3
System Development Overview Assignment 3Ashley Fisher
 
Introduction to SAD.pptx
Introduction to SAD.pptxIntroduction to SAD.pptx
Introduction to SAD.pptxazida3
 
Introduction to SAD.pptx
Introduction to SAD.pptxIntroduction to SAD.pptx
Introduction to SAD.pptxazida3
 
Design Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptxDesign Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptxKarthigaiSelviS3
 

Similar to 1. oose (20)

ppt_ooad.pdf
ppt_ooad.pdfppt_ooad.pdf
ppt_ooad.pdf
 
ooadunitiintroduction-150730050129-lva1-app6892.pptx
ooadunitiintroduction-150730050129-lva1-app6892.pptxooadunitiintroduction-150730050129-lva1-app6892.pptx
ooadunitiintroduction-150730050129-lva1-app6892.pptx
 
Handout on Object orienetd Analysis and Design
Handout on Object orienetd Analysis and DesignHandout on Object orienetd Analysis and Design
Handout on Object orienetd Analysis and Design
 
Ooad unit – 1 introduction
Ooad unit – 1 introductionOoad unit – 1 introduction
Ooad unit – 1 introduction
 
Object Modelling Technique " ooad "
Object Modelling Technique  " ooad "Object Modelling Technique  " ooad "
Object Modelling Technique " ooad "
 
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.
 
Week-2_LectureA1_701.pdf
Week-2_LectureA1_701.pdfWeek-2_LectureA1_701.pdf
Week-2_LectureA1_701.pdf
 
Bt8901 objective oriented systems1
Bt8901 objective oriented systems1Bt8901 objective oriented systems1
Bt8901 objective oriented systems1
 
Unit 1( modelling concepts & class modeling)
Unit  1( modelling concepts & class modeling)Unit  1( modelling concepts & class modeling)
Unit 1( modelling concepts & class modeling)
 
Tropos project toward RE
Tropos project toward RETropos project toward RE
Tropos project toward RE
 
Chapter 1-Object Oriented Software Engineering.pptx
Chapter 1-Object Oriented Software Engineering.pptxChapter 1-Object Oriented Software Engineering.pptx
Chapter 1-Object Oriented Software Engineering.pptx
 
unit2 object oriented Methodologies ppt.pptx
unit2 object oriented  Methodologies ppt.pptxunit2 object oriented  Methodologies ppt.pptx
unit2 object oriented Methodologies ppt.pptx
 
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
 
ICS3211_lecture 03 2023.pdf
ICS3211_lecture 03 2023.pdfICS3211_lecture 03 2023.pdf
ICS3211_lecture 03 2023.pdf
 
Object Oriented Analysis & Design
Object Oriented Analysis & DesignObject Oriented Analysis & Design
Object Oriented Analysis & Design
 
System Development Overview Assignment 3
System Development Overview Assignment 3System Development Overview Assignment 3
System Development Overview Assignment 3
 
Introduction to SAD.pptx
Introduction to SAD.pptxIntroduction to SAD.pptx
Introduction to SAD.pptx
 
Object oriented analysis and design unit- i
Object oriented analysis and design unit- iObject oriented analysis and design unit- i
Object oriented analysis and design unit- i
 
Introduction to SAD.pptx
Introduction to SAD.pptxIntroduction to SAD.pptx
Introduction to SAD.pptx
 
Design Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptxDesign Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptx
 

Recently uploaded

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 

Recently uploaded (20)

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 

1. oose

  • 1. ObjectObject--Oriented Software EngineeringOriented Software Engineering Chapter 1 An Introduction to Object-Oriented Software Engineering Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill What is Object-Oriented Software Engineering ?.... Object-Oriented Software Engineering is the process of solving customers’ problems by using the Object-Oriented concepts and the systematic development and evolution of large, high-quality software systems within cost and time.
  • 2. 3 Two Orthogonal views of software  The StructuralStructural  "part of" hierarchy, functions  concentrate on actual components  concrete  The Object OrientedObject Oriented  "is a" hierarchy  concentrate on kinds of components  abstract 4 A View of the Two paradigms
  • 3. 5 A View of the Two paradigms 6
  • 4. What is a Software development methodology? •Practices, procedures, and rules used to develop software. Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill Systems Development Methodologies • Systems Development methodology is a way to develop system. • A Comprehensive System Development methodology utilizes sets of tools as well as the style in which they are to be used. Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
  • 5. Object Oriented System Development methodology • Object-Oriented Systems Development is a way to develop software by building self- contained modules that can be more easily: • Replaced • Modified • and Reused. Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill Traditional Systems Development Methodology • Traditional or Structured approach is based on the idea that a system can be thought of as a collection of modules or subsystems. • It is much easier to work with a smaller cohesive (inter-related) module than a complex system. Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
  • 6. Object-Oriented Systems Development Methodology •In an O-O environment, Software is a collection of discrete objects. •These objects encapsulate their data and functionalities to model real world "objects." Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill Object-Oriented Systems Development Approach Iteration and Reuse Build use-case model Validate/ Test O-O Analysis Build Use-Cases Design classes, define attributes and methods O-O Design O-O Implementation Using TOOLS CASE and/or OO programing languages User satisfaction Usability & QA Tests Build object & dynamic model Object analysis Build UI and prototype User satisfaction test, usability test quality assurance test Validate/ test
  • 7. Object-Oriented Environment In an object-oriented environment, software is a collection of discrete objects that encapsulate their data and the functionality to model real-world objects Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill Object-Oriented Systems Development Methodology (Con’t) •An object-oriented life cycle encourages a view of the world as a system of cooperative and collaborating agents. Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
  • 8. 15 What Object Oriented…? Object Orientation is about viewing and modelling the real world / system as a set of interacting and interrelated objects Features of OO Approach:  The universe consists of interacting objects  Describes and builds systems consisting of objects Benefits of Object Orientation • An Object orientation produces systems that are easier to evolve (develop), more flexible, more robust, and more re-usable than other Traditional approaches • Faster development, • Re-Usability, • Increased quality, • and easier maintenance. Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
  • 9. Towards Object Orientation 17 Unified Approach •The unified approach (UA) is a methodology for software development. •The UA, based on methodologies by Booch, Rumbaugh, Jacobson, and others, tries to combine the best practices, processes, and guidelines. Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
  • 10. Unified Approach (Con’t) •UA utilizes the Unified Modeling Language (UML) which is a set of notations and conventions used to describe and model an application. Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill Layered Architecture •UA also uses a layered architecture to develop applications. •The layered approach consists of view (or) user interface, business, and access layers. Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
  • 11. Layered Architecture (Con’t) •This approach reduces the inter- dependence of the user interface, database access, and business control. •Therefore, it allows for a more robust (healthy/ strong) and flexible system. Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill An object oriented philosophy Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
  • 12. Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill Class and Object Class and Object 24
  • 13. Class and Object Object-Oriented Systems Development Bahrami © Irwin/ McGraw-Hill
  • 14. 27 Identification of Attributes • Attributes express some important aspects of the objects in the problem domain Leg Leg Body Arm Arm Head A model of a B Body can be composed of these objects. 28 JohnJohn Identification of Attributes Identification of Behaviors ShafiShafi JohnJohn MaryMary
  • 15. 29 Identification of Attributes Identification of Behaviors ShafiShafi JohnJohn MaryMary 30 Inheritance Class of PersonsClass of Persons
  • 16. 31 Inheritance Class of PersonClass of Person AttributesAttributes Name Address Age Profession BodyBody Left Leg Right Leg Left Hand Right Hand Head BehaviorBehavior Tell Age Store Age Jump Walk Dance ……. Create an InstanceCreate an Instance Create Left Leg Create Right Leg Create Head Create Left Hand Create Right Hand Class PersonClass Person Instance of Instance of Instance of 3 November 2014R. MD. Shafi, Associate Professor in CSE 32 Step-4: Inheritance Contd… Class BodyClass Body AttributesAttributes Left Leg Right Leg Left Hand Right Hand Head BehaviorBehavior Move Right Hand Move Left Hand Stretch Right Leg Bend Left Leg …………... Create A BodyCreate A Body Create Left Leg Create Right Leg Create Head Create Left Hand Create Right Hand
  • 17. 33 Class of PersonClass of Person AttributesAttributes Name Address Age Body Profession BehaviorBehavior Tell Age Store Age Jump Walk Dance ……. Create A PersonCreate A Person Create A Body Class PersonClass Person Instance of Instance of Instance of Inheritance 34 Inheritance: Person-Man-Woman AttributesAttributes Husband BehaviorBehavior Store Age Jump Walk Dance ……. Create A WomanCreate A Woman Create A Person Female ClassFemale Class Derived fromDerived from Person ClassPerson Class AttributesAttributes Wife BehaviorBehavior Tell Age Store Age Jump Walk Dance ……. Create A ManCreate A Man Create A Person Male ClassMale Class Derived fromDerived from Person ClassPerson Class
  • 18. 35 Object Technology Principles Common Methods of Organization Abstraction Encapsulation (Information Hiding) Inheritance Polymorphism Message Communication Associations Reuse 36 • Common Methods of Organization People are accustomed to thinking in terms of... • color • price • weight • engine • options... Objects & Attributes • number of doors • number of wheels • number of windows • number of lights • number of bolt type 1 • number of bolt type 2 • etc.... Wholes and PartsGroups & Members VANS: • light utility • utility • passenger • etc...
  • 19. 37 Abstraction A mental ability that permits people to view real-world problem domains with varying degrees of detail depending on the current context of the problem. • Helps people to think about what they are doing • Functional and Data abstraction 38 Encapsulation (Information Hiding) A technique in which data are packaged together with their corresponding procedures.  In Object-Oriented Technology the “package” is called an OBJECT  The interface to each object is defined in such a way as to reveal as little as possible about its inner workings  Encapsulation allows [software] changes to be reliably made with limited effort [Gannon, Hamlet, & Mills, 1987]
  • 20. 39 Inheritance A mechanism for expressing similarity between things thus simplifying their definition. • looks • behavior •Attitudes etc... Person Student Faculty Staff Inheritance 40 Polymorphism (“many forms”) The ability to hide different implementations behind a common interface. The ability for two or more objects to respond to the same request, each in its own way. • H2 O = water, ice, steam (liquid, solid, vapor) • Carbon compound crystallizes as graphite & diamond