4. Advanced Structure Modelling

Q. 1. Define Recursive Aggregation.
Ans. A recursive aggregate contains, directly or indirectly, an instance of the same kind of aggregate; the number of potential levels is unlimited.

Comments

  1. Q.1 What is classifier?
    Ans. A classifier is a mechanism that has structural features (in the form of attributes) as well as behavioral features ( in the form of operations).
    Q.2 What is a concrete class?
    Ans. A concrete class is a one that may have direct instances.
    Q.3 What is singleton class?
    Ans. A class having single instance is called as a singleton class.
    Q.4 Which stereotypes are used to show relationship among packages?
    Ans. 1) access 2)import
    Q.5 What is link?
    Ans. An instance of association is called as a link.
    Q.6 What is the purpose of Object Diagram?
    Ans. The purpose of object diagram is to capture the static view of a system at a particular moment.
    Q.7 What is an interface?
    Ans. An interface is a collection of operations that are used to specify a service of a class or a component.
    Q.8 What are the two types of owner scope?
    Ans. 1) Instance 2)Classifier
    Q.9 What is composition?
    Ans. Composition is a form of aggregation with strong ownership and coincident lifetime as part of the whole.
    Q.10 What is package?
    Ans. A package is a general purpose mechanism for organizing modeling elements into groups.

    ReplyDelete

Post a Comment