Sail E0 Webinar

MCQs

Total Questions : 30 | Page 3 of 3 pages
Question 21. Each association has two or more roles.
  1.    False
  2.    True
 Discuss Question
Answer: Option B. -> True
Question 22. Composition does not allow an object to be part of more than one aggregate object.
  1.    False
  2.    True
 Discuss Question
Answer: Option B. -> True
Question 23. In an object diagram, an object is represented as a rectangle with two compartments.
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 24. A derived element is typically shown by placing either a slash (/) or a stereotype of before the name of the element.
  1.    False
  2.    True
 Discuss Question
Answer: Option B. -> True
Question 25. An operation that alters the state of an object is known as a constructor operation.
  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False
Question 26. The UML notation is useful for graphically depicting an object-oriented analysis or design model.
  1.    False
  2.    True
 Discuss Question
Answer: Option B. -> True
Question 27. The reasons for overriding include extension, restriction, and optimization.
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 28. Multiple inheritance allows a class to inherit features from more than one superclass.
  1.    False
  2.    True
 Discuss Question
Answer: Option B. -> True
Question 29. An object's state is determined by its attribute values and links to other objects.
  1.    False
  2.    True
 Discuss Question
Answer: Option B. -> True
Question 30. An aggregation is a stronger form of association relationship and is represented with a solid diamond at the aggregate end.
  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False

Latest Videos

Latest Test Papers