logo

CuriousTab

CuriousTab

Discussion


Home Database Object-Oriented Database Comments

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

  • Correct Answer
  • Similar to SQL and uses a select-from-where structure 


  • Object-Oriented Database problems


    Search Results


    • 1. 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
    • 2. Which of the following is an ordered collection of elements of the same type?

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

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

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

    • Options
    • A. ABC123
    • B. course
    • C. course()
    • D. All of the above.
    • Discuss
    • 9. 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
    • 10. An extent is which of the following?

    • Options
    • A. A keyword that indicates that the subclass inherits from a superclass
    • B. A keyword that indicates that the superclass inherits from a subclass
    • C. The set of all instances of a class within a database
    • D. Only one instance of a class within a database
    • Discuss


    Comments

    There are no comments.

Enter a new Comment