logo

CuriousTab

CuriousTab

Discussion


Home Database Object-Oriented Database Comments

  • Question
  • The reserved word enum is used for which of the following?


  • Options
  • A. To define a range for an attribute.
  • B. To define a range for a class.
  • C. To define a range for a relationship.
  • D. All of the above.

  • Correct Answer
  • To define a range for an attribute. 


  • Object-Oriented Database problems


    Search Results


    • 1. The keyword "inverse" is used in which of the following?

    • Options
    • A. Class
    • B. Attribute
    • C. Relationship
    • D. All of the above.
    • Discuss
    • 2. A distributed database can use which of the following strategies?

    • Options
    • A. Totally centralized at one location and accessed by many sites
    • B. Partially or totally replicated across sites
    • C. Partitioned into segments at different sites
    • D. All of the above
    • Discuss
    • 3. Which of the following is not one of the stages in the evolution of distributed DBMS?

    • Options
    • A. Unit of work
    • B. Remote unit of work
    • C. Distributed unit of Work
    • D. Distributed request
    • Discuss
    • 4. Storing a separate copy of the database at multiple locations is which of the following?

    • Options
    • A. Data Replication
    • B. Horizontal Partitioning
    • C. Vertical Partitioning
    • D. Horizontal and Vertical Partitioning
    • Discuss
    • 5. A heterogeneous distributed database is which of the following?

    • Options
    • A. The same DBMS is used at each location and data are not distributed across all nodes.
    • B. The same DBMS is used at each location and data are distributed across all nodes.
    • C. A different DBMS is used at each location and data are not distributed across all nodes.
    • D. A different DBMS is used at each location and data are distributed across all nodes.
    • Discuss
    • 6. Which of the following is an unordered collection of elements that may contain duplicates?

    • Options
    • A. Set
    • B. Bag
    • C. List
    • D. Dictionary
    • Discuss
    • 7. A relationship should be specified how in the ODL?

    • Options
    • A. One direction starting with the first class
    • B. One direction starting with the second class
    • C. Neither direction.
    • D. Both directions.
    • Discuss
    • 8. Which of the following is an ordered collection of elements of the same type?

    • Options
    • A. Set
    • B. Bag
    • C. List
    • D. Dictionary
    • Discuss
    • 9. Using OQL, you may do which of the following?

    • Options
    • 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.
    • Discuss
    • 10. The Object Query Language is which of the following"?

    • Options
    • 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
    • Discuss


    Comments

    There are no comments.

Enter a new Comment