CMP 102 Introduction To CP Module 4 Software Design
CMP 102 Introduction To CP Module 4 Software Design
Design acti
vities
Architectur
al Abstract Interface Component Data Algorithm
design specifica
tio design design structur
e design
n design
Software Data
System Interface Component Algorithm
specifica
t ion structure
architectur
e specifica
tion specifica
t ion specifica
tion
specificat ion
Design pr
oducts
Sub-system
level
Module A Module B
Module C Module D
Shared data
area
A’s data
Module B Module C
B’s data C’s data
Module D
D’s data
entity or function.
• Cohesion is a desirable design component
attribute as when a change has to be made, it
is localized in a single cohesive component.
• Various levels of cohesion have been identified.
Software Engineering Software Design Slide 35
Cohesion Levels
• Coincidental cohesion (weak)
– Parts of a component are simply bundled together.
• Logical association (weak)
– Components which perform similar functions are
grouped.
• Temporal cohesion (weak)
– Components which are activated at the same time
are grouped.