Q.1
The reasons for overriding include extension, restriction, and optimization.
Q.2
An object's state is determined by its attribute values and links to other objects.
Q.3
Composition does not allow an object to be part of more than one aggregate object.
Q.4
In an object diagram, an object is represented as a rectangle with two compartments.
Q.5
An operation that alters the state of an object is known as a constructor operation.
Q.6
A solid diamond represents a stronger form of aggregation, known as composition.
Q.7
Each association has two or more roles.
Q.8
An aggregation is a stronger form of association relationship and is represented with a solid diamond at the aggregate end.
Q.9
The UML notation is useful for graphically depicting an object-oriented analysis or design model.
Q.10
A derived element is typically shown by placing either a slash (/) or a stereotype of <> before the name of the element.
Q.11
Multiple inheritance allows a class to inherit features from more than one superclass.
Q.12
A method defines the form or protocol of the operation, but not its implementation.
Q.13
A class is a concept, abstraction, or thing that makes sense in an application context.
Q.14
In UML, a class is represented by a rectangle with three compartments separated by vertical lines.
Q.15
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.
Q.16
The benefits of object-oriented modeling are which of the following?
Q.17
The term Incomplete for a UML has the same meaning as which of the following for an EER diagram?
Q.18
A constructor operation does which of the following?
Q.19
Which of the following is a technique for hiding the internal implementation details of an object?
Q.20
Aggregation is which of the following?
0 h : 0 m : 1 s