Home / CSE / Database System 2 - CS :: Object Oriented Data Modeling

CSE :: Database System 2 - CS

  1. The benefits of object-oriented modeling are which of the following?

  2. A.

     The ability to tackle more challenging problems

    B.

     Reusability of analysis, design, and programming results

    C.

     Improved communication between users, analysts, etc.

    D.

     All of the above


  3. The term Incomplete for a UML has the same meaning as which of the following for an EER diagram?

  4. A.

     Overlapping rule

    B.

     Disjoint rule

    C.

     Total specialization rule

    D.

     Partial specialization rule


  5. A constructor operation does which of the following?

  6. A.

     Creates a new instance of a class

    B.

     Updates an existing instance of a class

    C.

     Deletes and existing instance of a class

    D.

     All of the above


  7. Which of the following is a technique for hiding the internal implementation details of an object?

  8. A.

     Encapsulation

    B.

     Polymorphism

    C.

     Inheritance

    D.

     All of the above


  9. Aggregation is which of the following?

  10. A.

     Expresses a part-of relationship and is a stronger form of an association relationship.

    B.

     Expresses a part-of relationship and is a weaker form of an association relationship.

    C.

     Expresses an is-a relationship and is a stronger form of an association relationship.

    D.

     Expresses an is-a relationship and is a weaker form of an association relationship.


  11. A method defines the form or protocol of the operation, but not its implementation.

  12. A.

     True

    B.

     False


  13. A class is a concept, abstraction, or thing that makes sense in an application context.

  14. A.

     True

    B.

     False


  15. In UML, a class is represented by a rectangle with three compartments separated by vertical lines.

  16. A.

     True

    B.

     False


  17. A solid diamond represents a stronger form of aggregation, known as composition.

  18. A.

     True

    B.

     False


  19. When a business rule involves three or more graphical symbols, you can show the constraint as a note and attach the note to each of the symbols by a dashed line.

  20. A.

     True

    B.

     False