Object - Oriented Database Questions and Answers

Practice Mode
Showing 10 of 15 questions
Q11
Which of the following is true concerning the following statement: class Manager extends Employee
  • 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.
Answer: Option B
Q12
Which of the following is an ordered collection of elements of the same type?
  • A Set
  • B Bag
  • C List
  • D Dictionary
Answer: Option C
Q13
A relationship should be specified how in the ODL?
  • A One direction starting with the first class
  • B One direction starting with the second class
  • C Neither direction.
  • D Both directions.
Answer: Option D
Q14
 Using OQL, you may do which of the following?
  • 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.
Answer: Option D
Q15
The Object Query Language is which of the following"?
  • 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
Answer: Option A
Database
Back to Database
Questions and Answers for Competitive Exams Various Entrance Test