And Asp(Engineering > Computer Science And Engineering > Database System > Odbc > Ole Db ) Questions and Answers

Question 1. ODBC minimum SQL grammar contains which of the following?
  1.    Stored Procedures only
  2.    CREATE VIEW, DROP VIEW only
  3.    Literals for date, time and timestamp only
  4.    INSERT, UPDATE, DELETE only
Explanation:-
Answer: Option D. -> INSERT, UPDATE, DELETE only

Question 2. ODBC core SQL grammar contains which of the following?:
  1.    Full SELECT (includes subqueries) only
  2.    INSERT, UPDATE, DELETE only
  3.    Both 1 and 3 above are contained in the ODBC core SQL.
  4.    Stored procedures only
Explanation:-
Answer: Option C. -> Both 1 and 3 above are contained in the ODBC core SQL.

Question 3. The ODBC core API consists of which of the following functions?
  1.    Commit or rollback transactions only
  2.    Connect to data sources only
  3.    Both 1 and 3 above are in the OBDC core API
  4.    Connect to data sources with driver-specific information only
Explanation:-
Answer: Option C. -> Both 1 and 3 above are in the OBDC core API

Question 4. ________ is a simple object model that is easier to understand and use than OLE DB, and is frequently used for database applications.
  1.    XML
  2.    ASP
  3.    ODBC
  4.    ADO
Explanation:-
Answer: Option D. -> ADO

Question 5. When using ODBC, which of the following processes ODBC requests and submits specific SQL statements to a given type of data source?
  1.    DBMS
  2.    Data source
  3.    Driver manager
  4.    Driver
Explanation:-
Answer: Option D. -> Driver

Question 6. ________ is an interface by which application programs can access and process SQL databases in a DBMS-independent manner.
  1.    ODBC
  2.    ADO
  3.    JPCD
  4.    OLE DB
Explanation:-
Answer: Option A. -> ODBC

Question 7. An ODBC data structure that identifies a database and the DBMS that processes it is called a(n):
  1.    API.
  2.    driver.
  3.    driver manager.
  4.    data source.
Explanation:-
Answer: Option D. -> data source.

Question 8. ________ is considered to be one of the foundations of data access in the Microsoft world.
  1.    JPCD
  2.    ADO
  3.    OLE DB
  4.    ODBC
Explanation:-
Answer: Option C. -> OLE DB

Question 9. Which of the following are goals of OLE DB?
  1.    Create object interfaces for DBMS functionality pieces only.
  2.    Object interface over any type of data only.
  3.    Increase flexibility only.
  4.    All of these
Explanation:-
Answer: Option D. -> All of these

Question 10. In OLE DB, actions that an object can perform are called:
  1.    properties.
  2.    methods.
  3.    abstractions.
  4.    collections.
Explanation:-
Answer: Option B. -> methods.