Share Focus Mode

3460:421 OOP Cohesion

  1. 3. A cohesive class is much easier to ________ because it has a single purpose
  2. 4. Good cohesion allows for _______
  3. 6. ______ Cohesion perform a series of actions that are related by time occurrence, e.g., startup or shutdown, and the addition of subsystems may require additions to multiple modules
  4. 9. In ________ Cohesion the element performs a number of actions on a shared data structure and it truly object oriented
  5. 14. In ______ Cohesion, each works on their own data and the action is based on the ordering of steps. May be the highest cohesion possible/desirable.
  6. 16. _____ Cohesion performs a series of related actions, but is not based on the primary logical association, and often includes both high and low-level actions (in terms of abstraction) in the same class
  7. 17. ______ measure on an individual class/object/module/method
  1. 1. In _____ Cohesion we place actions together because they are performed in order. It requires a crisp abstraction that then becomes the name of the method.
  2. 2. _______ Cohesion is where the each method performs a single action or achieves a single goal, and has high reuse because the element is completely independent
  3. 5. Good cohesion simplifies ______
  4. 7. In applicability, at the same level as a method
  5. 8. Reduce ____ for fixes and enhancements
  6. 10. Cohesion is the degree of _______ among the elements of a single module and in object-oriented design, a single class/object
  7. 11. ______ Cohesion performs multiple, completely unrelated actions, and is often based on factors outside of the design
  8. 12. Goal of cohesion is to _______ internal interaction among subelements
  9. 13. In applicability, at the same level as a class
  10. 15. In ______ Cohesion, the action is based on the ordering of steps, related by usage in ordering, and changes to the ordering of steps or purpose of steps requires changing the element abstraction
  11. 18. Increase _______ since the class is usable in multiple ways in many different projects or the same project