Object-Oriented Database – General Questions

1. ODL supports which of the following types of association relationships?

A. Unary
B. Unary and Binary
C. Unary and Binary and Ternary
D. Unary and Binary and Ternary and higher

Correct Answer:  B. Unary and Binary
Advertisement

2. An extent is which of the following?

A. A keyword that indicates that the subclass inherits from a superclass
B. A keyword that indicates that the superclass inherits from a subclass
C. The set of all instances of a class within a database
D. Only one instance of a class within a database

Correct Answer:  C. The set of all instances of a class within a database
Advertisement

3. Identify the class name for the following code: ABC123 course();

A. ABC123
B. course
C. course()
D. All of the above.

Correct Answer:  A. ABC123
Advertisement

4. Using ODL, you can define which of the following?

A. Attribute
B. Structure
C. Operation
D. All of the above

Correct Answer:  D. All of the above
Advertisement

5. The keyword “inverse” is used in which of the following?

A. Class
B. Attribute
C. Relationship
D. All of the above

Correct Answer:  C. Relationship
Advertisement

Leave A Comment?