Object-Oriented Data Modeling – General Questions

1. The fact that the same operation may apply to two or more classes is called what?

A. Inheritance
B. Polymorphism
C. Encapsulation
D. Multiple classifications

Correct Answer: B. Polymorphism

2. The object-oriented development life cycle is which of the following?

A. Analysis, design, and implementation steps in the given order and using multiple iterations.
B. Analysis, design, and implementation steps in the given order and going through the steps no more than one
C. Analysis, design, and implementation steps in any order and using multiple iterations.
D. Analysis, design, and implementation steps in any order and going through the steps no more than one time.

Correct Answer: A. Analysis, design, and implementation steps in the given order and using multiple iterations.

3. Multiplicity is the same as what concept for an ERD?

A. Relationship
B. Attribute
C. Entity
D. Cardinality

Correct Answer: D. Cardinality

4. Composition is a stronger form of which of the following?

A. Aggregation
B. Encapsulation
C. Inheritance
D. All of the above

Correct Answer: A. Aggregation

5. An abstract class is which of the following?

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

Correct Answer: B. A class that has no direct instances, but whose descendants may have direct instances.

Leave A Comment?

2 + eighteen =