SlideShare uma empresa Scribd logo
1 de 24
-By SAURAV SONY
 Coupling
 Highly Coupled
 Loosely Coupled
 Uncoupled
 Types Of Coupling
 Cohesion
 Types Of Cohesion
Jagnesh
Chawla(jagneshchawla@gmail.com)
 Coupling is measure of the independence of
components.
 Coupling is related to cohesion.
 It is an indication the strength of inter
connections between the components in a
design .
Jagnesh
Chawla(jagneshchawla@gmail.com)
 These types of systems have interconnections ,
with program units dependent on each other.
Jagnesh
Chawla(jagneshchawla@gmail.com)
Highly coupled:
Jagnesh
Chawla(jagneshchawla@gmail.com)
 Loosely coupled systems are made up of
components which are independent or
almost independent.
 In this less dependences are available.
Jagnesh
Chawla(jagneshchawla@gmail.com)
Loosely coupled:
Jagnesh
Chawla(jagneshchawla@gmail.com)
 Uncoupled components have interconnections
at all.
 No Dependencies
Jagnesh
Chawla(jagneshchawla@gmail.com)
Uncoupled:
Jagnesh
Chawla(jagneshchawla@gmail.com)
Jagnesh
Chawla(jagneshchawla@gmail.com)
Content coupling
Common
coupling
Control coupling
Stamp coupling
Data coupling
Uncoupled
Low
Loose
High coupling
 When one component actually modifies
another .
 Then the modified component is completely
dependent on the modifying one.
Jagnesh
Chawla(jagneshchawla@gmail.com)
Jagnesh
Chawla(jagneshchawla@gmail.com)
 We can reduce the amount of coupling
somewhat by organizing our design so that
data are accessible from a common data store.
Jagnesh
Chawla(jagneshchawla@gmail.com)
Component
X
Change V1
To zero
Component
Y
Increment
V1
Component
Z
V =V2+A
Global:
A1
A2
A3
Variables:
V1
V2
T T
 When one component passes parameters to
control the activity of another component.
 We say that there is control coupling between
the two.
Jagnesh
Chawla(jagneshchawla@gmail.com)
 When data structure is used to pass
information from one component to
another.
Jagnesh
Chawla(jagneshchawla@gmail.com)
 If only data are passed, the components
are connected by data coupling.
Jagnesh
Chawla(jagneshchawla@gmail.com)
 The cohesion of a component is a measure
of the closeness of the relationship between
its components.
Jagnesh
Chawla(jagneshchawla@gmail.com)
 The worst degree of cohesion, coincidental is
found in a component whose parts are
unrelated to one another.
Jagnesh
Chawla(jagneshchawla@gmail.com)
 It is the next higher level of cohesion , where
several logically related functions or data
elements are placed in same component.
Jagnesh
Chawla(jagneshchawla@gmail.com)
 Sometime a component is used to initialize
a system or a set variables.
 Such a component performs several
functions in sequence ,but the functions
are related by the timing involved, so its
cohesion is temporal.
Jagnesh
Chawla(jagneshchawla@gmail.com)
 When function are grouped together in a
component just to ensure this order the
component is procedurally cohesive.
Jagnesh
Chawla(jagneshchawla@gmail.com)
 Communicationally cohesion often destroys
the modularity and functional independence
of the design.
Jagnesh
Chawla(jagneshchawla@gmail.com)
 If the output from one part of a component
is input to the next part the component has
sequential cohesion.
Jagnesh
Chawla(jagneshchawla@gmail.com)
Jagnesh
Chawla(jagneshchawla@gmail.com)

Mais conteúdo relacionado

Destaque (9)

couling and types of coupling
couling and types of couplingcouling and types of coupling
couling and types of coupling
 
Coupling by jawad ali
Coupling by jawad aliCoupling by jawad ali
Coupling by jawad ali
 
04 power transmission systems
04    power transmission systems04    power transmission systems
04 power transmission systems
 
Coupling
CouplingCoupling
Coupling
 
Scoop coupling
Scoop couplingScoop coupling
Scoop coupling
 
Coupling
CouplingCoupling
Coupling
 
coupling
couplingcoupling
coupling
 
Design of shafts couplings ppt
Design of shafts couplings  pptDesign of shafts couplings  ppt
Design of shafts couplings ppt
 
Automatic transmission system ppt
Automatic transmission system pptAutomatic transmission system ppt
Automatic transmission system ppt
 

Último

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 

Cohesion and coupling FROM SGVU student..

  • 2.  Coupling  Highly Coupled  Loosely Coupled  Uncoupled  Types Of Coupling  Cohesion  Types Of Cohesion Jagnesh Chawla(jagneshchawla@gmail.com)
  • 3.  Coupling is measure of the independence of components.  Coupling is related to cohesion.  It is an indication the strength of inter connections between the components in a design . Jagnesh Chawla(jagneshchawla@gmail.com)
  • 4.  These types of systems have interconnections , with program units dependent on each other. Jagnesh Chawla(jagneshchawla@gmail.com)
  • 6.  Loosely coupled systems are made up of components which are independent or almost independent.  In this less dependences are available. Jagnesh Chawla(jagneshchawla@gmail.com)
  • 8.  Uncoupled components have interconnections at all.  No Dependencies Jagnesh Chawla(jagneshchawla@gmail.com)
  • 11.  When one component actually modifies another .  Then the modified component is completely dependent on the modifying one. Jagnesh Chawla(jagneshchawla@gmail.com)
  • 13.  We can reduce the amount of coupling somewhat by organizing our design so that data are accessible from a common data store. Jagnesh Chawla(jagneshchawla@gmail.com) Component X Change V1 To zero Component Y Increment V1 Component Z V =V2+A Global: A1 A2 A3 Variables: V1 V2 T T
  • 14.  When one component passes parameters to control the activity of another component.  We say that there is control coupling between the two. Jagnesh Chawla(jagneshchawla@gmail.com)
  • 15.  When data structure is used to pass information from one component to another. Jagnesh Chawla(jagneshchawla@gmail.com)
  • 16.  If only data are passed, the components are connected by data coupling. Jagnesh Chawla(jagneshchawla@gmail.com)
  • 17.  The cohesion of a component is a measure of the closeness of the relationship between its components. Jagnesh Chawla(jagneshchawla@gmail.com)
  • 18.  The worst degree of cohesion, coincidental is found in a component whose parts are unrelated to one another. Jagnesh Chawla(jagneshchawla@gmail.com)
  • 19.  It is the next higher level of cohesion , where several logically related functions or data elements are placed in same component. Jagnesh Chawla(jagneshchawla@gmail.com)
  • 20.  Sometime a component is used to initialize a system or a set variables.  Such a component performs several functions in sequence ,but the functions are related by the timing involved, so its cohesion is temporal. Jagnesh Chawla(jagneshchawla@gmail.com)
  • 21.  When function are grouped together in a component just to ensure this order the component is procedurally cohesive. Jagnesh Chawla(jagneshchawla@gmail.com)
  • 22.  Communicationally cohesion often destroys the modularity and functional independence of the design. Jagnesh Chawla(jagneshchawla@gmail.com)
  • 23.  If the output from one part of a component is input to the next part the component has sequential cohesion. Jagnesh Chawla(jagneshchawla@gmail.com)