Back to the 2021 paper

Unit 5 – Advanced Topics

20212m

The Object Query Language is which of the following?

  • (i) Similar to SQL and uses a select-from-where structure
    (ii) Similar to SQL and uses a select-where structure
    (ii) Similar to SQL and uses a from-where structure
    (iv) Not similar to SQL
Worked SolutionAI Assisted

Answer: (i) Similar to SQL and uses a select-from-where structure

Explanation: OQL (Object Query Language, ODMG standard) is declarative and SQL-like with SELECT-FROM-WHERE. Example: SELECT s.name FROM Students s WHERE s.cgpa > 8. It operates on objects, supports path expressions, but syntax closely resembles SQL. Not just select-where or from-where.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.