Object-Oriented Data Modeling Questions

Practice Object-Oriented Data Modeling MCQs with answers and explanations. Page 2 of 2.

Category
Database
Topic
Object-Oriented Data Modeling
Page
2 / 2
Mode
Practice

Questions

Open any question to view the answer and explanation.

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?
Open
View answer
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?
Open
View answer
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?
Open
View answer
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?
Open
View answer
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?
Open
View answer
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?
Open
View answer
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?
Open
View answer
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?
Open
View answer
UML associations vs aggregations: is aggregation a stronger form of association shown with a solid (filled) diamond at the aggregate end?
Open
View answer
UML association ends: does every association connect two or more roles (association ends) on participating classifiers?
Open
View answer

Practice smarter

Solve a few questions daily and revisit weak topics regularly to improve accuracy.