CSE2305 - Object-Oriented Software Engineering
Self Assesment Questions
For each question choose the single response which best answers the question, or which completes the statement most accurately.
| Question 129: | When refining a design, the presence of tightly-coupled classes often indicates: |
| an efficient design, which has maximized coupling. |
| an efficient design, which will maximized run-time performance. |
| that the classes might better be represented as single class. |
| that each tightly coupled class might better be represented as two or more separate classes. |
| All of the above. |
| Question 130: | Repeated code in two unrelated classes may indicate the need for: |
| that object-oriented design is not possible in this case. |
| that the code will have to be templated. |
| a new derived class that inherits from both of the unrelated classes. |
| a new base class that abstracts the common code of each of the unrelated classes. |
| that one class should really be an object, specifically an instantiation of the other class. |
| Question 131: | Which of the following is one of Stroustrup's "rules-of-thumb" for object-oriented design? |
| Optimize early. |
| Maximize your interfaces. |
| Design only for the current problem. |
| Don't use public data members. |
| Avoid the language of the problem domain. |
| Question 132: | A high degree of cohesion is desirable in an object-oriented design because: |
| it indicates that classes are closely-coupled. |
| it indicates that objects will make many calls on each other, and that the emergent behaviour of the system will therefore be complex. |
| it indicates that each class is largely self-contained. |
| it indicates that the system model used was coherent and accurate. |
| It's a trick question - cohesion is a bad thing in object-oriented designs. |
| Question 133: | Platonic classification is so-named because: |
| It was invented by Plato. |
| It uses a 2D search space. |
| It is "regular" in the geometric sense. |
| It is an objective (i.e. platonic) in its assessments. |
| It's an acronym for "Partial Left-Associative Type Organization into Non-Isomorphic Classes" |
| Question 134: | Platonic classification is best described as: |
| a "top-down" clustering technique |
| a "bottom-up" clustering technique |
| an "instance-outwards" clustering technique |
| a "random-walk" clustering technique |
| a "concept-backwards" clustering technique |
| Question 135: | "A priori" clustering starts with: |
| a set of objects that define a class. |
| a set of objects that define different classes. |
| a set of properties that define a class. |
| a set of rules that differentiate objects. |
| a set of goals for objects to achieve. |
| Question 136: | Prototype theory clusters objects around "paradigms". What is a paradigm? |
| A language model (e.g. object-oriented, imperative, or functional) |
| An abstraction of all objects in the class |
| An intersection of the common properties of all objects in the class. |
| An typical object (i.e. an example of the class) |
| An atypical object (i.e. an exception to the class) |
Last updated: September 3, 2005