Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Presentation         OfSoftware engineering  Topic : Cohesion & Coupling                   Jagnesh                   Chawl...
Contents : Coupling Highly Coupled Loosely Coupled Uncoupled Types Of Coupling Cohesion Types Of Cohesion          ...
Coupling Coupling      is   measure      of    the  independence of components. Coupling is related to cohesion. It is ...
Highly coupled   These types of systems have    interconnections , with program units    dependent on each other.        ...
Highly coupled:                  Jagnesh                  Chawla(jagneshchawla@gmail.com)
Loosely coupled Loosely coupled systems are made up  of components which are independent  or almost independent. In   th...
Loosely coupled:                   Jagnesh                   Chawla(jagneshchawla@gmail.com)
Uncoupled Uncoupled components have  interconnections at all. No Dependencies                       Jagnesh             ...
Uncoupled:             Jagnesh             Chawla(jagneshchawla@gmail.com)
The range of couplingmeasures:          Content coupling      High coupling             Common              coupling      ...
Content coupling: When one component actually  modifies another . Then the modified component is  completely dependent o...
JagneshChawla(jagneshchawla@gmail.com)
Common coupling:   We can reduce the amount of coupling    somewhat by organizing our design so    that data are accessib...
Control coupling: When one component passes  parameters to control the activity of  another component. We say that there...
Stamp coupling:   When data structure is used to pass    information from one component to    another.                   ...
Data coupling:   If only data are passed, the    components are connected by data    coupling.                       Jagn...
Cohesion:   The cohesion of a component is a    measure of the closeness of the    relationship between its components.  ...
Coincidental:   The worst degree of cohesion,    coincidental is found in a component    whose parts are unrelated to one...
Logical cohesion:   It is the next higher level of cohesion ,    where several logically related functions    or data ele...
Temporal cohesion: Sometime a component is used to  initialize a system or a set variables. Such a component performs se...
Procedurally cohesion:   When function are grouped together in a    component just to ensure this order the    component ...
Communicationally:   Communicationally cohesion often    destroys the modularity and functional    independence of the de...
Sequential cohesion:   If the output from one part of a    component is input to the next part the    component has seque...
Thank you ……       Jagnesh       Chawla(jagneshchawla@gmail.com)
Upcoming SlideShare
Loading in …5
×

Cohesion & Coupling

32,628 views

Published on

Published in: Education, Technology
  • Dating direct: ❤❤❤ http://bit.ly/39sFWPG ❤❤❤
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Follow the link, new dating source: ❤❤❤ http://bit.ly/39sFWPG ❤❤❤
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Cohesion & Coupling

  1. 1. Presentation OfSoftware engineering Topic : Cohesion & Coupling Jagnesh Chawla(jagneshchawla@gmail.com)
  2. 2. Contents : Coupling Highly Coupled Loosely Coupled Uncoupled Types Of Coupling Cohesion Types Of Cohesion Jagnesh Chawla(jagneshchawla@gmail.com)
  3. 3. Coupling 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. 4. Highly coupled These types of systems have interconnections , with program units dependent on each other. Jagnesh Chawla(jagneshchawla@gmail.com)
  5. 5. Highly coupled: Jagnesh Chawla(jagneshchawla@gmail.com)
  6. 6. Loosely coupled 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)
  7. 7. Loosely coupled: Jagnesh Chawla(jagneshchawla@gmail.com)
  8. 8. Uncoupled Uncoupled components have interconnections at all. No Dependencies Jagnesh Chawla(jagneshchawla@gmail.com)
  9. 9. Uncoupled: Jagnesh Chawla(jagneshchawla@gmail.com)
  10. 10. The range of couplingmeasures: Content coupling High coupling Common coupling Loose Control coupling Stamp coupling Data coupling Low Uncoupled Jagnesh Chawla(jagneshchawla@gmail.com)
  11. 11. Content coupling: When one component actually modifies another . Then the modified component is completely dependent on the modifying one. Jagnesh Chawla(jagneshchawla@gmail.com)
  12. 12. JagneshChawla(jagneshchawla@gmail.com)
  13. 13. Common coupling: We can reduce the amount of coupling somewhat by organizing our design so that data are accessible from a common data store. Global: A1 A2 A3 Variables: V1 V2 Component Component Component X Y Z Change V1 Increment T T V =V2+A To zero V1 Jagnesh Chawla(jagneshchawla@gmail.com)
  14. 14. Control coupling: 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. 15. Stamp coupling: When data structure is used to pass information from one component to another. Jagnesh Chawla(jagneshchawla@gmail.com)
  16. 16. Data coupling: If only data are passed, the components are connected by data coupling. Jagnesh Chawla(jagneshchawla@gmail.com)
  17. 17. Cohesion: The cohesion of a component is a measure of the closeness of the relationship between its components. Jagnesh Chawla(jagneshchawla@gmail.com)
  18. 18. Coincidental: The worst degree of cohesion, coincidental is found in a component whose parts are unrelated to one another. Jagnesh Chawla(jagneshchawla@gmail.com)
  19. 19. Logical cohesion: 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. 20. Temporal cohesion: 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. 21. Procedurally cohesion: When function are grouped together in a component just to ensure this order the component is procedurally cohesive. Jagnesh Chawla(jagneshchawla@gmail.com)
  22. 22. Communicationally: Communicationally cohesion often destroys the modularity and functional independence of the design. Jagnesh Chawla(jagneshchawla@gmail.com)
  23. 23. Sequential cohesion: 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)
  24. 24. Thank you …… Jagnesh Chawla(jagneshchawla@gmail.com)

×