logo

CuriousTab

CuriousTab

Discussion


Home Database Object-Oriented Database Comments

  • Question
  • Which of the following is an unordered collection of elements that may contain duplicates?


  • Options
  • A. Set
  • B. Bag
  • C. List
  • D. Dictionary

  • Correct Answer
  • Bag 


  • Object-Oriented Database problems


    Search Results


    • 1. 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.
    • Discuss
    • 2. The keyword "inverse" is used in which of the following?

    • Options
    • A. Class
    • B. Attribute
    • C. Relationship
    • D. All of the above.
    • Discuss
    • 3. 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
    • 4. 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
    • 5. 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
    • 6. 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
    • 7. Which of the following is an ordered collection of elements of the same type?

    • Options
    • A. Set
    • B. Bag
    • C. List
    • D. Dictionary
    • Discuss
    • 8. 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
    • 9. 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
    • 10. An atomic literal is which of the following?

    • Options
    • A. Strings
    • B. Boolean
    • C. Long
    • D. All of the above.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment