Object-Oriented Database Questions
Practice Object-Oriented Database MCQs with answers and explanations. Page 2 of 2.
Category
Database
Topic
Object-Oriented Database
Page
2 / 2
Mode
Practice
Questions
Open any question to view the answer and explanation.
In the ODMG Object Model, literal types include atomic, collection, and structured forms. Does the statement “the model does not support atomic literals, collection literals, and structured literals” apply?
Open
View answer
Within the ODMG model, is an attribute's value always a literal (that is, not an object reference), with object-to-object links represented using relationships rather than object-valued attributes?
Open
View answer
In ODMG terminology, is a “bag” specifically a multiset collection type (allowing duplicates) rather than a generic name for any collection of literals or objects?
Open
View answer
Do literals in the ODMG Object Model lack identifiers (object identity), and therefore cannot be individually referenced the way objects with OIDs can?
Open
View answer
Under the ODMG model, is an attribute's value either a literal or an object identifier (OID), or are attribute values limited to literals while OIDs are used implicitly for object identity and relationships?
Open
View answer
Database concepts — evaluate the claim below and choose the best assessment.
"Database objects are almost always transient (short-lived) rather than persistent."
Open
View answer
ODMG object databases — evaluate the bidirectional relationship rule.
"In the ODMG Object Model, a relationship must be specified in both directions (with an inverse declared)."
Open
View answer
Collections terminology — ordered vs. unordered.
"An ordered collection of elements of the same type is called a set."
Open
View answer
Uniqueness constraints in object models.
"Specifying a key ensures that no two objects of a class share the same value for the key attribute(s)."
Open
View answer
Object identity and naming — evaluate the claim.
"You may specify an object identifier (OID) with only one unique tag name."
Open
View answer
Practice smarter
Solve a few questions daily and revisit weak topics regularly to improve accuracy.