logo

CuriousTab

CuriousTab

Discussion


Home Database Object-Oriented Database Comments

  • Question
  • 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.

  • Correct Answer
  • All of the above. 


  • Object-Oriented Database problems


    Search Results


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

    • Options
    • A. Set
    • B. Bag
    • C. List
    • D. Dictionary
    • Discuss
    • 2. 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
    • 3. Which of the following is an unordered collection of elements that may contain duplicates?

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

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

    • Options
    • A. Strings
    • B. Boolean
    • C. Long
    • D. All of the above.
    • Discuss
    • 8. 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
    • 9. Identify the class name for the following code: ABC123 course();

    • Options
    • A. ABC123
    • B. course
    • C. course()
    • D. All of the above.
    • Discuss
    • 10. Which of the following is true concerning the following statement: class Manager extends Employee

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


    Comments

    There are no comments.

Enter a new Comment