Home / CSE / Database System 2 - CS :: Object Oriented Database

CSE :: Database System 2 - CS

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

  2. 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.


  3. Which of the following is an ordered collection of elements of the same type?

  4. A.

     Set

    B.

     Bag

    C.

     List

    D.

     Dictionary


  5. A relationship should be specified how in the ODL?

  6. A.

     One direction starting with the first class

    B.

     One direction starting with the second class

    C.

     Neither direction

    D.

     Both directions


  7. Using OQL, you may do which of the following?

  8. A.

     Return an entire collection of elements including duplicates.

    B.

     Return a collection of elements without duplicates.

    C.

     Return a specific subset of elements using a given criteria.

    D.

     All of the above.


  9. The Object Query Language is which of the following?

  10. A.

     Similar to SQL and uses a select-from-where structure

    B.

     Similar to SQL and uses a select-where structure

    C.

     Similar to SQL and uses a from-where structure

    D.

     Not similar to SQL


  11. ODL supports the abstract keyword for classes and operations.

  12. A.

     True

    B.

     False


  13. The ODMG Object Model requires that a relationship be specified in both directions.

  14. A.

     True

    B.

     False


  15. Before specifying a key for a class, you must specify its extent.

  16. A.

     True

    B.

     False


  17. The Object Model supports different literal types, but does not support atomic literals, collection literals, and structured literals.

  18. A.

     True

    B.

     False


  19. The ODMG Object Model supports only unary and binary relationships.

  20. A.

     True

    B.

     False