際際滷

際際滷Share a Scribd company logo
Lecture 11

 A complex system that works is invariably found to have
evolved from a simple system that worked. To manage the
complexity of the system we need to apply the principles of
separation of concern, modularity, and abstraction. This leads
to designs that are easy to understand and hence easy to
maintain.
 Separation of concern allows us to deal with different
individual aspects of a problem by considering these aspects in
isolation and independent of each other.
 A complex system may be divided into smaller pieces of lesser
complexity called modules. This is the classic divide-and-
conquer philosophy.
Managing Complexity of a
Software System

Software Design
 Once the requirements of a software system have
been established, we proceed to design that system.
During the design phase, the focus shifts from what
to how. That is, at this stage we try to answer the
question of how to build the system.
 The design activity provides a roadmap to
progressively transform the requirements through a
number on stages into the final product by
describing the structure of the system to be
implemented.

 Software design is not a sequential process. Design of a
software system evolves through a number of iterations. The
design process usually involves developing a number of
different models, looking at the system from different angles
and describing the system at various levels of abstraction.
 A activities performed at this stage include design of the
software architecture by showing the division of system into
sub-systems or modules, the specification of the services
provided by these sub-systems and their interfaces with each
other, division of each sub-system into smaller components and
services and interfaces provided by each one of these
components.
Software Design Process

 Software design process revolves around
decomposing of the system into smaller and simpler
units and then systematically integrates these units
to achieve the desired results. Two fundamental
strategies have been used to that end. These are
 functional or structured design and
 object oriented design.
Software Design Strategies

 Functional or Structured Design
 The structure of the system revolves around functions. The
entire system is abstracted as a function that provides the
desired functionality. The structure of the system revolves
around functions. The entire system is abstracted as a
function that provides the desired functionality.
 Object-oriented Design
 In this case the system is decomposed into a set of objects
that cooperate and coordinate with each other to implement
the desired functionality. In this case the system state is
decentralized and each object is held responsible for
maintaining its own state.
Software Design Strategies

 A software design can be looked at from different angles
and different parameters can be used to measure and
analyze its quality. These parameters include efficiency,
compactness, reusability, and maintainability. A good
design from one angle may not seem to be suitable when
looked from a different perspective.
 For example, if we need to design an embedded system
for the control of a nuclear reactor or a cruise missile, we
would probably require a system that is very efficient and
maintainability would be of secondary concern.
Software Design Qualities

 Maintenance contributes towards a major share of
the overall software cost, the objective of the design
activity, in most cases, is to produce a system that is
easy to maintain. A maintainable design is the one in
which cost of system change is minimal and is
flexible enough so that it can be easily adapted to
modify exiting functionality and add new
functionality.
Maintainable Design

 Coupling is a measure of independence of a module or
component. Loose coupling means that different system
components have loose or less reliance upon each other.
Hence, changes in one component would have a limited
affect on other components.
 Strong cohesion implies that all parts of a component
should have a close logical relationship with each other.
That means, in the case some kind of change is required
in the software, all the related pieces are found at one
place. Hence, once again, the scope is limited to that
component itself.
Coupling and Cohesion
Ad

Recommended

Architectural Design
Architectural Design
Jay Thakkar
1- Modularity - Amir yousefi
1- Modularity - Amir yousefi
Ali Moghadam
Lect15
Lect15
Sulman Ahmed
7 questions to ask your vendor when comparing synchronisation solutions
7 questions to ask your vendor when comparing synchronisation solutions
Exalate
Lecture 6 se
Lecture 6 se
Tribhuvan University
Software engg. pressman_ch-10
Software engg. pressman_ch-10
Dhairya Joshi
PhD defense: David Ameller
PhD defense: David Ameller
David Ameller
Ch6
Ch6
Dom Mike
Lecture 02
Lecture 02
Rana Ali
Lecture 15
Lecture 15
Rana Ali
Lecture 07
Lecture 07
Rana Ali
Lecture 01
Lecture 01
Rana Ali
Lecture 09
Lecture 09
Rana Ali
Lecture 08
Lecture 08
Rana Ali
Lecture 12
Lecture 12
Rana Ali
Lecture 03
Lecture 03
Rana Ali
Lecture 05
Lecture 05
Rana Ali
Nlp
Nlp
Rana Ali
Lecture 06
Lecture 06
Rana Ali
Lecture 04
Lecture 04
Rana Ali
Lecture 13
Lecture 13
Rana Ali
Lecture 10
Lecture 10
Rana Ali
Lecture 14
Lecture 14
Rana Ali
Software Engineering - Lecture 02
Software Engineering - Lecture 02
Asifuzzaman Hridoy
Software engineering lecture notes
Software engineering lecture notes
Ammar Shafiq
CSC426 - Software Engineering Lecture Note
CSC426 - Software Engineering Lecture Note
Bro Shola Ajayi
Software engineering lecture notes
Software engineering lecture notes
Siva Ayyakutti
SWE-401 - 7. Software Design Strategies
SWE-401 - 7. Software Design Strategies
ghayour abbas
Software Design and Modularity
Software Design and Modularity
Danyal Ahmad
chapter-6-Software_Engineering_P1_MohamedElhawy_19135002.pptx
chapter-6-Software_Engineering_P1_MohamedElhawy_19135002.pptx
MahmoudZidan53

More Related Content

Viewers also liked (19)

Lecture 02
Lecture 02
Rana Ali
Lecture 15
Lecture 15
Rana Ali
Lecture 07
Lecture 07
Rana Ali
Lecture 01
Lecture 01
Rana Ali
Lecture 09
Lecture 09
Rana Ali
Lecture 08
Lecture 08
Rana Ali
Lecture 12
Lecture 12
Rana Ali
Lecture 03
Lecture 03
Rana Ali
Lecture 05
Lecture 05
Rana Ali
Nlp
Nlp
Rana Ali
Lecture 06
Lecture 06
Rana Ali
Lecture 04
Lecture 04
Rana Ali
Lecture 13
Lecture 13
Rana Ali
Lecture 10
Lecture 10
Rana Ali
Lecture 14
Lecture 14
Rana Ali
Software Engineering - Lecture 02
Software Engineering - Lecture 02
Asifuzzaman Hridoy
Software engineering lecture notes
Software engineering lecture notes
Ammar Shafiq
CSC426 - Software Engineering Lecture Note
CSC426 - Software Engineering Lecture Note
Bro Shola Ajayi
Software engineering lecture notes
Software engineering lecture notes
Siva Ayyakutti
Lecture 02
Lecture 02
Rana Ali
Lecture 15
Lecture 15
Rana Ali
Lecture 07
Lecture 07
Rana Ali
Lecture 01
Lecture 01
Rana Ali
Lecture 09
Lecture 09
Rana Ali
Lecture 08
Lecture 08
Rana Ali
Lecture 12
Lecture 12
Rana Ali
Lecture 03
Lecture 03
Rana Ali
Lecture 05
Lecture 05
Rana Ali
Lecture 06
Lecture 06
Rana Ali
Lecture 04
Lecture 04
Rana Ali
Lecture 13
Lecture 13
Rana Ali
Lecture 10
Lecture 10
Rana Ali
Lecture 14
Lecture 14
Rana Ali
Software Engineering - Lecture 02
Software Engineering - Lecture 02
Asifuzzaman Hridoy
Software engineering lecture notes
Software engineering lecture notes
Ammar Shafiq
CSC426 - Software Engineering Lecture Note
CSC426 - Software Engineering Lecture Note
Bro Shola Ajayi
Software engineering lecture notes
Software engineering lecture notes
Siva Ayyakutti

Similar to Lecture 11 (20)

SWE-401 - 7. Software Design Strategies
SWE-401 - 7. Software Design Strategies
ghayour abbas
Software Design and Modularity
Software Design and Modularity
Danyal Ahmad
chapter-6-Software_Engineering_P1_MohamedElhawy_19135002.pptx
chapter-6-Software_Engineering_P1_MohamedElhawy_19135002.pptx
MahmoudZidan53
Software Design ppt.pptx
Software Design ppt.pptx
SeemaSarvath1
dynamic and implementation uml diagram.pdf
dynamic and implementation uml diagram.pdf
tbit2
UNIT3 PART2.pptx dhfdifhdsfvgudf dhfbdhbffdvf
UNIT3 PART2.pptx dhfdifhdsfvgudf dhfbdhbffdvf
puttipavan23022023
Unit 1
Unit 1
KRAMANJANEYULU1
Unit 3
Unit 3
Jignesh Kariya
Software Design abtic.pptx
Software Design abtic.pptx
ssuser8c0d24
Function oriented design
Function oriented design
Vidhun T
SWE-401 - 5. Software Design Basics
SWE-401 - 5. Software Design Basics
ghayour abbas
Sda 2
Sda 2
AmberMughal5
Full Paper
Full Paper
Arash Heidarian
07 software design
07 software design
kebsterz
07 software design
07 software design
kebsterz
Design concept -Software Engineering
Design concept -Software Engineering
Varsha Ajith
Function Oriented and Object Oriented Design,Modularization techniques
Function Oriented and Object Oriented Design,Modularization techniques
nimmik4u
The Role of the Architect in ERP and PDM System Deployment
The Role of the Architect in ERP and PDM System Deployment
Glen Alleman
Design patterns for self adaptive systems
Design patterns for self adaptive systems
ijseajournal
software Design in software engineering1
software Design in software engineering1
nazimsattar
SWE-401 - 7. Software Design Strategies
SWE-401 - 7. Software Design Strategies
ghayour abbas
Software Design and Modularity
Software Design and Modularity
Danyal Ahmad
chapter-6-Software_Engineering_P1_MohamedElhawy_19135002.pptx
chapter-6-Software_Engineering_P1_MohamedElhawy_19135002.pptx
MahmoudZidan53
Software Design ppt.pptx
Software Design ppt.pptx
SeemaSarvath1
dynamic and implementation uml diagram.pdf
dynamic and implementation uml diagram.pdf
tbit2
UNIT3 PART2.pptx dhfdifhdsfvgudf dhfbdhbffdvf
UNIT3 PART2.pptx dhfdifhdsfvgudf dhfbdhbffdvf
puttipavan23022023
Software Design abtic.pptx
Software Design abtic.pptx
ssuser8c0d24
Function oriented design
Function oriented design
Vidhun T
SWE-401 - 5. Software Design Basics
SWE-401 - 5. Software Design Basics
ghayour abbas
07 software design
07 software design
kebsterz
07 software design
07 software design
kebsterz
Design concept -Software Engineering
Design concept -Software Engineering
Varsha Ajith
Function Oriented and Object Oriented Design,Modularization techniques
Function Oriented and Object Oriented Design,Modularization techniques
nimmik4u
The Role of the Architect in ERP and PDM System Deployment
The Role of the Architect in ERP and PDM System Deployment
Glen Alleman
Design patterns for self adaptive systems
Design patterns for self adaptive systems
ijseajournal
software Design in software engineering1
software Design in software engineering1
nazimsattar
Ad

Lecture 11

  • 2. A complex system that works is invariably found to have evolved from a simple system that worked. To manage the complexity of the system we need to apply the principles of separation of concern, modularity, and abstraction. This leads to designs that are easy to understand and hence easy to maintain. Separation of concern allows us to deal with different individual aspects of a problem by considering these aspects in isolation and independent of each other. A complex system may be divided into smaller pieces of lesser complexity called modules. This is the classic divide-and- conquer philosophy. Managing Complexity of a Software System
  • 3. Software Design Once the requirements of a software system have been established, we proceed to design that system. During the design phase, the focus shifts from what to how. That is, at this stage we try to answer the question of how to build the system. The design activity provides a roadmap to progressively transform the requirements through a number on stages into the final product by describing the structure of the system to be implemented.
  • 4. Software design is not a sequential process. Design of a software system evolves through a number of iterations. The design process usually involves developing a number of different models, looking at the system from different angles and describing the system at various levels of abstraction. A activities performed at this stage include design of the software architecture by showing the division of system into sub-systems or modules, the specification of the services provided by these sub-systems and their interfaces with each other, division of each sub-system into smaller components and services and interfaces provided by each one of these components. Software Design Process
  • 5. Software design process revolves around decomposing of the system into smaller and simpler units and then systematically integrates these units to achieve the desired results. Two fundamental strategies have been used to that end. These are functional or structured design and object oriented design. Software Design Strategies
  • 6. Functional or Structured Design The structure of the system revolves around functions. The entire system is abstracted as a function that provides the desired functionality. The structure of the system revolves around functions. The entire system is abstracted as a function that provides the desired functionality. Object-oriented Design In this case the system is decomposed into a set of objects that cooperate and coordinate with each other to implement the desired functionality. In this case the system state is decentralized and each object is held responsible for maintaining its own state. Software Design Strategies
  • 7. A software design can be looked at from different angles and different parameters can be used to measure and analyze its quality. These parameters include efficiency, compactness, reusability, and maintainability. A good design from one angle may not seem to be suitable when looked from a different perspective. For example, if we need to design an embedded system for the control of a nuclear reactor or a cruise missile, we would probably require a system that is very efficient and maintainability would be of secondary concern. Software Design Qualities
  • 8. Maintenance contributes towards a major share of the overall software cost, the objective of the design activity, in most cases, is to produce a system that is easy to maintain. A maintainable design is the one in which cost of system change is minimal and is flexible enough so that it can be easily adapted to modify exiting functionality and add new functionality. Maintainable Design
  • 9. Coupling is a measure of independence of a module or component. Loose coupling means that different system components have loose or less reliance upon each other. Hence, changes in one component would have a limited affect on other components. Strong cohesion implies that all parts of a component should have a close logical relationship with each other. That means, in the case some kind of change is required in the software, all the related pieces are found at one place. Hence, once again, the scope is limited to that component itself. Coupling and Cohesion