Page 144 - DCAP308_OBJECT_ORIENTED_ANALYSIS_AND_DESIGN
P. 144

Object Oriented Analysis and Design




                    Notes              Use multiple inheritance to increase sharing but only if necessary because it increases
                                       both conceptual and implementation complexity. In domain state model, Objects passes
                                       through distinct states during their lifetime.
                                       During domain analysis, the stress is on key concepts and deep structural relationships
                                       and not the user’s view of them. However, the interaction model is a significant aspect of
                                       application modeling. Iterating the analysis requires more than one pass to complete.

                                   11.6 Keywords

                                   Analysis: It specifies the problem without implementation details.
                                   Attributes: Attributes are data properties of individual objects.

                                   Derived class: A derived class is a class that can be derived from other class.
                                   Domain analysis model: It analyzes a problem without introducing bias for implementation.
                                   Irrelevant classes: Irrelevant classes are those which have little or nothing to do with problem.

                                   Name: Name is an attribute when it does not depend on context.
                                   Object: If independent existence of element is important than value, then it is considered as an
                                   object.

                                   Qualifier: If value of attribute depends on particular context, it is considered as a qualifier.
                                   11.7 Review Questions


                                   1.  Describe the concept of domain analysis model.
                                   2.  Analyze the steps taken in order to construct domain class model.
                                   3.  How do you find classes to construct domain class model? Illustrate with example.
                                   4.  Discuss the concept of keeping the right classes. Give example.

                                   5.  Make distinction between ternary Association and derived association.
                                   6.  Illustrate the steps used for finding attributes.
                                   7.  Illustrate the steps for bottom-up generalization and top-down specialization.

                                   8.  What is a domain state model? Explain.
                                   9.  How do you find state for constructing a domain state model? Illustrate.
                                   10.  Analyze the steps included in building interaction model.

                                   Answers: Self Assessment

                                   1.  Attributes                        2.   derived class
                                   3.  Association                       4.   Object

                                   5.  qualifier                         6.   Name
                                   7.  Inheritance                       8.   Bottom-Up Generalization









          138                               LOVELY PROFESSIONAL UNIVERSITY
   139   140   141   142   143   144   145   146   147   148   149