Sail E0 Webinar

MCQs

Total Questions : 46 | Page 1 of 5 pages
Question 1. The fact that the same operation may apply to two or more classes is called what?
  1.    Inheritance
  2.    Polymorphism
  3.    Encapsulation
  4.    Multiple classification
 Discuss Question
Answer: Option B. -> Polymorphism
Question 2. 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 the given 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 any order and going through the steps no more than one time.
 Discuss Question
Answer: Option A. -> Analysis, design, and implementation steps in the given order and using multiple iterations.
Question 3. Multiplicity is the same as what concept for an ERD?
  1.    Relationship
  2.    Attribute
  3.    Entity
  4.    Cardinality
 Discuss Question
Answer: Option D. -> Cardinality
Question 4. Composition is a stronger form of which of the following?
  1.    Aggregation
  2.    Encapsulation
  3.    Inheritance
  4.    All of the above
 Discuss Question
Answer: Option A. -> Aggregation
Question 5. An abstract class is which of the following?
  1.    A class that has direct instances, but whose descendants may 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 not have direct instances.
  4.    A class that has no direct instances, but whose descendants may not have direct instances
 Discuss Question
Answer: Option B. -> A class that has no direct instances, but whose descendants may have direct instances.
Question 6. The term Complete for a UML has the same meaning as which of the following for an EER diagram?
  1.    Overlapping rule
  2.    Disjoint rule
  3.    Total specialization rule
  4.    Partial specialization rule
 Discuss Question
Answer: Option C. -> Total specialization rule
Question 7. An object can have which of the following multiplicities?
  1.    Zero
  2.    One
  3.    More than one
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 8. A UML diagram includes which of the following?
  1.    Class name
  2.    List of attributes
  3.    List of operations
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
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 is an instance of an object.
  3.    An object includes encapsulates only data.
  4.    A class includes encapsulates only data.
 Discuss Question
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.    Query
  2.    Update
  3.    Scope
  4.    Constructor
 Discuss Question
Answer: Option C. -> Scope

Latest Videos

Latest Test Papers