logo

CuriousTab

CuriousTab

Object-Oriented Database problems


  • 1. Which of the following is true concerning the following statement: class Manager extends Employee

  • Options
  • A. Manager is a concrete class and a superclass.
  • B. Manager is a concrete class and a subclass.
  • C. Manager is an abstract class and a superclass.
  • D. Manager is an abstract class and a subclass.
  • Discuss
  • 2. An extent is which of the following?

  • Options
  • 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
  • Discuss
  • 3. Which of the following is true concerning an ODBMS?

  • Options
  • A. They have the ability to store complex data types on the Web.
  • B. They are overtaking RDBMS for all applications.
  • C. They are most useful for traditional, two-dimensional database table applications.
  • D. All of the above.
  • Discuss
  • 4. ODL supports which of the following types of association relationships?

  • Options
  • A. Unary
  • B. Unary and Binary
  • C. Unary and Binary and Ternary
  • D. Unary and Binary and Ternary and higher
  • Discuss
  • 5. Using ODL, you can define which of the following?

  • Options
  • A. Attribute
  • B. Structure
  • C. Operation
  • D. All of the above.
  • Discuss
  • 6. If you know all the possible values that an attribute can have, you can enumerate those values in ODL.

  • Options
  • A. True
  • B. False
  • Discuss
  • 7. The ODMG Object Model supports only unary and binary relationships.

  • Options
  • A. True
  • B. False
  • Discuss
  • 8. Before specifying a key for a class, you must specify its extent.

  • Options
  • A. True
  • B. False
  • Discuss
  • 9. In ODL, you specify an operation using parentheses after its name.

  • Options
  • A. True
  • B. False
  • Discuss
  • 10. ODL supports the abstract keyword for classes and operations.

  • Options
  • A. True
  • B. False
  • Discuss

First 2