Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Object-Oriented Data Modeling Questions
UML notation for derived elements: Is a derived attribute or association typically shown with a leading slash “/”, or alternatively by using a stereotype «derived» before the element name?
Definition check: In UML and general OO terminology, is a class a concept or abstraction (that is, a “thing” of relevance) that makes sense within the application’s domain context?
Operation types: Is an operation that alters the state of an existing object called a “constructor operation,” or is that term reserved for creating and initializing new instances?
UML class notation: Is a class drawn as a rectangle with three compartments separated by horizontal lines (not vertical), typically for name, attributes, and operations?
Modeling constraints in UML: When a business rule involves three or more symbols, is it acceptable to present the constraint as a note and attach that note to each applicable symbol with a dashed line?
Aggregation vs composition: In UML notation, does a filled (solid) diamond at the aggregate end denote composition, a stronger form of aggregation with whole–part lifetime dependency?
UML object diagram basics: Is an object (instance) commonly shown as a rectangle with two compartments—the top for the underlined object name:Class and the lower for attribute slots/values?
Object-oriented design concept check: are the common reasons for overriding a superclass method to (1) extend behavior, (2) restrict or specialize behavior for a subclass context, and (3) optimize performance while preserving the contract?
UML associations vs aggregations: is aggregation a stronger form of association shown with a solid (filled) diamond at the aggregate end?
UML association ends: does every association connect two or more roles (association ends) on participating classifiers?
1
2