logo

CuriousTab

CuriousTab

Object-Oriented Data Modeling problems


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

  • Options
  • 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.
  • Discuss
  • 2. An object can have which of the following multiplicities?

  • Options
  • A. Zero
  • B. One
  • C. More than one
  • D. All of the above.
  • Discuss
  • 3. An abstract class is which of the following?

  • Options
  • A. A class that has direct instances, but whose descendants may have direct instances.
  • B. A class that has no direct instances, but whose descendants may have direct instances.
  • C. A class that has direct instances, but whose descendants may not have direct instances.
  • D. A class that has no direct instances, but whose descendants may not have direct instances
  • Discuss
  • 4. Composition is a stronger form of which of the following?

  • Options
  • A. Aggregation
  • B. Encapsulation
  • C. Inheritance
  • D. All of the above.
  • Discuss
  • 5. A constructor operation does which of the following?

  • Options
  • 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.
  • Discuss
  • 6. Multiple inheritance allows a class to inherit features from more than one superclass.

  • Options
  • A. True
  • B. False
  • Discuss
  • 7. Composition does not allow an object to be part of more than one aggregate object.

  • Options
  • A. True
  • B. False
  • Discuss
  • 8. A method defines the form or protocol of the operation, but not its implementation.

  • Options
  • A. True
  • B. False
  • Discuss
  • 9. An object's state is determined by its attribute values and links to other objects.

  • Options
  • A. True
  • B. False
  • Discuss
  • 10. The UML notation is useful for graphically depicting an object-oriented analysis or design model.

  • Options
  • A. True
  • B. False
  • Discuss

First 2