logo

CuriousTab

CuriousTab

Discussion


Home Database Object-Oriented Database Comments

  • Question
  • Which of the following is an ordered collection of elements of the same type?


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

  • Correct Answer
  • List 


  • Object-Oriented Database problems


    Search Results


    • 1. 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
    • 2. Which of the following is an unordered collection of elements that may contain duplicates?

    • Options
    • A. Set
    • B. Bag
    • C. List
    • D. Dictionary
    • Discuss
    • 3. 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
    • 4. The keyword "inverse" is used in which of the following?

    • Options
    • A. Class
    • B. Attribute
    • C. Relationship
    • D. All of the above.
    • Discuss
    • 5. 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
    • 6. 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
    • 7. 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
    • 8. An atomic literal is which of the following?

    • Options
    • A. Strings
    • B. Boolean
    • C. Long
    • D. All of the above.
    • Discuss
    • 9. The object definition language (ODL) is which of the following?

    • Options
    • A. Used to develop logical schemas
    • B. A data definition language for OODB
    • C. A method to implement a logical schema
    • D. All of the above.
    • Discuss
    • 10. Identify the class name for the following code: ABC123 course();

    • Options
    • A. ABC123
    • B. course
    • C. course()
    • D. All of the above.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment