Sail E0 Webinar

MCQs

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

Latest Videos

Latest Test Papers