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)
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)