Sail E0 Webinar

MCQs

Total Questions : 46 | Page 2 of 5 pages
Question 11. The benefits of object-oriented modeling are which of the following?
  1.    The ability to tackle more challenging problems
  2.    Reusability of analysis, design, and programming results
  3.    Improved communication between users, analysts, etc.
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above
Question 12. The term Incomplete 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 D. -> Partial specialization rule
Question 13. Which of the following is a technique for hiding the internal implementation details of an object?
  1.    Encapsulation
  2.    Polymorphism
  3.    Inheritance
  4.    All of the above
 Discuss Question
Answer: Option A. -> Encapsulation
Question 14. Aggregation is which of the following?
  1.    Expresses a part-of relationship and is a stronger form of an association relationship.
  2.    Expresses a part-of relationship and is a weaker form of an association relationship.
  3.    Expresses an is-a relationship and is a stronger form of an association relationship.
  4.    Expresses an is-a relationship and is a weaker form of an association relationship.
 Discuss Question
Answer: Option A. -> Expresses a part-of relationship and is a stronger form of an association relationship.
Question 15. A constructor operation does which of the following?
  1.    Creates a new instance of a class
  2.    Updates an existing instance of a class
  3.    Deletes and existing instance of a class
  4.    All of the above
 Discuss Question
Answer: Option A. -> Creates a new instance of a class
Question 16. A method defines the form or protocol of the operation, but not its implementation.
  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False
Question 17. A class is a concept, abstraction, or thing that makes sense in an application context.
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 18. In UML, a class is represented by a rectangle with three compartments separated by vertical lines.
  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False
Question 19. A solid diamond represents a stronger form of aggregation, known as composition.
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 20. 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.
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True

Latest Videos

Latest Test Papers