Software Engineering Lecture #7 Fakhar Lodhi
Types Of Models Business Process Model State Transition Model Data Flow Model
Coupling Example Float dotProdcut(vector a, vector b) { float temp1 = a.getX() * b.getX(); float temp2 = a.getY() * b.getY(); return temp1 + temp2; }
Coupling Example Float dotProduct(vector a, vector b)] { float temp1 = a.x * b.x; float temp2 = a.y * b.y; return temp1 + temp2; }
Cohesion Example
Cohesion EXample
Cohesion
Cohesion Example
Cohesion Example
Cohesion Example
Cohesion Example
Cohesion Example
Recap