Difficulty: Easy
Correct Answer: Object-oriented
Explanation:
Introduction / Context:
Traditional database models concentrate on storing structured data, while modern applications often need to couple data with behavior. When a system must persist objects that contain both attributes (state) and methods (behavior), choosing the right database model becomes critical for developer productivity, performance, and conceptual alignment with object-oriented programming languages.
Given Data / Assumptions:
Concept / Approach:
An object-oriented database (OODB) stores objects as first-class citizens, including both their data and their methods, aligning database persistence with object-oriented design. In contrast, hierarchical and network databases model parent/child or owner/member relationships but do not persist executable behaviors as part of the data model. A distributed database describes deployment across sites or nodes rather than the logical modeling paradigm of data+behavior.
Step-by-Step Solution:
Verification / Alternative check:
Object-oriented databases (and object-relational extensions) are documented to support persistence of complex types and, in OODB proper, even method definitions or bindings. This directly answers the “include methods” requirement.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing physical distribution with logical modeling; assuming any non-relational model automatically supports methods.
Final Answer:
Object-oriented
Discussion & Comments