Object Oriented Data Modeling(Engineering > Computer Science And Engineering > Database System ) Questions and Answers

Question 1. Multiplicity is the same as what concept for an ERD?
  1.    Relationship
  2.    Entity
  3.    Cardinality
  4.    Attribute
Explanation:-
Answer: Option C. -> Cardinality

Question 2. The fact that the same operation may apply to two or more classes is called what?
  1.    Multiple classification
  2.    Polymorphism
  3.    Encapsulation
  4.    Inheritance
Explanation:-
Answer: Option B. -> Polymorphism

Question 3. Composition is a stronger form of which of the following?
  1.    Aggregation
  2.    All of these
  3.    Inheritance
  4.    Encapsulation
Explanation:-
Answer: Option A. -> Aggregation

Question 4. The object-oriented development life cycle is which of the following?
  1.    Analysis, design, and implementation steps in the given order and using multiple iterations.
  2.    Analysis, design, and implementation steps in any order and going through the steps no more than one time.
  3.    Analysis, design, and implementation steps in any order and using multiple iterations.
  4.    Analysis, design, and implementation steps in the given order and going through the steps no more than one time.
Explanation:-
Answer: Option A. -> Analysis, design, and implementation steps in the given order and using multiple iterations.

Question 5. An abstract class is which of the following?
  1.    A class that has direct instances, but whose descendants may not have direct instances.
  2.    A class that has no direct instances, but whose descendants may have direct instances.
  3.    A class that has direct instances, but whose descendants may have direct instances.
  4.    A class that has no direct instances, but whose descendants may not have direct instances
Explanation:-
Answer: Option B. -> A class that has no direct instances, but whose descendants may have direct instances.

Question 6. An object can have which of the following multiplicities?
  1.    Zero
  2.    More than one
  3.    All of these
  4.    One
Explanation:-
Answer: Option C. -> All of these

Question 7. The term Complete for a UML has the same meaning as which of the following for an EER diagram?
  1.    Overlapping rule
  2.    Partial specialization rule
  3.    Disjoint rule
  4.    Total specialization rule
Explanation:-
Answer: Option D. -> Total specialization rule

Question 8. A UML diagram includes which of the following?
  1.    List of operations
  2.    Class name
  3.    All of these
  4.    List of attributes
Explanation:-
Answer: Option C. -> All of these

Question 9. Which of the following statement is true concerning objects and/or classes?
  1.    An object is an instance of a class.
  2.    A class includes encapsulates only data.
  3.    An object includes encapsulates only data.
  4.    A class is an instance of an object.
Explanation:-
Answer: Option A. -> An object is an instance of a class.

Question 10. Which of the following applies to a class rather than an object?
  1.    Constructor
  2.    Query
  3.    Update
  4.    Scope
Explanation:-
Answer: Option D. -> Scope