Sail E0 Webinar

MCQs

Total Questions : 46 | Page 2 of 5 pages
Question 11. Which of the following is true concerning the following statement: class Manager extends Employee
  1.    Manager is a concrete class and a superclass.
  2.    Manager is a concrete class and a subclass.
  3.    Manager is an abstract class and a superclass.
  4.    Manager is an abstract class and a subclass.
 Discuss Question
Answer: Option B. -> Manager is a concrete class and a subclass.
Question 12. Which of the following is an ordered collection of elements of the same type?
  1.    Set
  2.    Bag
  3.    List
  4.    Dictionary
 Discuss Question
Answer: Option C. -> List
Question 13. A relationship should be specified how in the ODL?
  1.    One direction starting with the first class
  2.    One direction starting with the second class
  3.    Neither direction
  4.    Both directions
 Discuss Question
Answer: Option D. -> Both directions
Question 14. Using OQL, you may do which of the following?
  1.    Return an entire collection of elements including duplicates.
  2.    Return a collection of elements without duplicates.
  3.    Return a specific subset of elements using a given criteria.
  4.    All of the above.
 Discuss Question
Answer: Option D. -> All of the above.
Question 15. The Object Query Language is which of the following?
  1.    Similar to SQL and uses a select-from-where structure
  2.    Similar to SQL and uses a select-where structure
  3.    Similar to SQL and uses a from-where structure
  4.    Not similar to SQL
 Discuss Question
Answer: Option A. -> Similar to SQL and uses a select-from-where structure
Question 16. ODL supports the abstract keyword for classes and operations.
  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False
Question 17. The ODMG Object Model requires that a relationship be specified in both directions.
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 18. Before specifying a key for a class, you must specify its extent.
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 19. The Object Model supports different literal types, but does not support atomic literals, collection literals, and structured literals.
  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False
Question 20. The ODMG Object Model supports only unary and binary relationships.
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True

Latest Videos

Latest Test Papers