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.

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  4. A.

     Set

    B.

     Bag

    C.

     List

    D.

     Dictionary

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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.

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  12. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  14. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  16. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  18. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  20. A.

     True

    B.

     False

    View Answer

    Workspace

    Discuss Discuss in Forum