Degree of interacton between 2 modules is called
Answers
Answered by
0
Create a free accountMaybe laterSortOriginalAlphabeticalModules- Functions and Procedures in Classical Paradigms
- Objects and Methods in Object Oriented ParadigmsBest Design- High Cohesion with Low Coupling
- Reduce the maintenance cost
- Easy to extendCohesion- The degree of interaction within a moduleCoupling- The degree of interaction between each moduleTypes of Cohesion1. Coincidental Cohesion (level 1)
2. Logical Cohesion (level 2)
3. Temporal Cohesion (level 3)
4. Procedural Cohesion (level 4)
5. Communicational Cohesion (level 5)
6. Functional Cohesion (level 6)
7. Informational Cohesion (level 7)Coincidental Cohesion- A module performs multiple, completely unrelated operations
- ex) A module with "print fifth line, add 7 to tenth line, convert the fourth argument to floating point"
- Disadvantages:
1. degrades the maintability of the product
2. modules are un-reusableLogical Cohesion- A module performs a series of related operations
- Intertwined Code
- ex) A module that edits, insertions, deletions, and modifications of master file records
- Disadvantages:
1. Difficult to understand
2. Intertwined Code leads to severe maintenance problems
3. Un-reusableTemporal Cohesion- A module performs a series of operations related to time
- ex) "open_old_master_file, new_master_file, transaction file, and print_file; initialize_sales_region_table"
- Disadvantages:
1. Chance of regression faults (a change in module may results to change in an unrelated part of the product)
2. Maintenance problem
3. Un-reusable
- Objects and Methods in Object Oriented ParadigmsBest Design- High Cohesion with Low Coupling
- Reduce the maintenance cost
- Easy to extendCohesion- The degree of interaction within a moduleCoupling- The degree of interaction between each moduleTypes of Cohesion1. Coincidental Cohesion (level 1)
2. Logical Cohesion (level 2)
3. Temporal Cohesion (level 3)
4. Procedural Cohesion (level 4)
5. Communicational Cohesion (level 5)
6. Functional Cohesion (level 6)
7. Informational Cohesion (level 7)Coincidental Cohesion- A module performs multiple, completely unrelated operations
- ex) A module with "print fifth line, add 7 to tenth line, convert the fourth argument to floating point"
- Disadvantages:
1. degrades the maintability of the product
2. modules are un-reusableLogical Cohesion- A module performs a series of related operations
- Intertwined Code
- ex) A module that edits, insertions, deletions, and modifications of master file records
- Disadvantages:
1. Difficult to understand
2. Intertwined Code leads to severe maintenance problems
3. Un-reusableTemporal Cohesion- A module performs a series of operations related to time
- ex) "open_old_master_file, new_master_file, transaction file, and print_file; initialize_sales_region_table"
- Disadvantages:
1. Chance of regression faults (a change in module may results to change in an unrelated part of the product)
2. Maintenance problem
3. Un-reusable
Similar questions