ODBC, OLE, ADO, and ASP Questions and Answers

Take Exam

The technologies ODBC, OLE, ADO, and ASP are essential in connecting databases with applications, making them common in programming questions and answers for interviews and placements. ODBC (Open Database Connectivity) and ADO (ActiveX Data Objects) provide data access interfaces, while ASP (Active Server Pages) helps in creating dynamic web pages. These concepts are frequently asked in technical rounds of Microsoft, TCS, and Tech Mahindra. Practicing C programming MCQ and Java MCQ related to these technologies will strengthen your knowledge of database connectivity and web integration. Understanding these will help you write efficient, scalable, and database-driven applications across platforms.

ODBC, OLE, ADO, and ASP

Showing 10 of 20 questions

11. In OLE DB, which of the following represents characteristics of the recordset abstraction?

  • Properties
  • Collections
  • Methods
  • Abstractions
Show Answer Report

12. In ODBC, a file that can be shared among database users is called a:

  • system data source.
  • file data source.
  • user data source.
  • SQL text file.
Show Answer Report

13. 13.  ________ is an object-oriented interface that encapsulates data-server functionality.

  • ODBC
  • OLE DB
  • JPCD
  • ADO
Show Answer Report

14. When using ODBC, which of the following serves as an intermediary between the application and the DBMS drivers?

  • Data source
  • Driver
  • Driver manager
  • OLE DB
Show Answer Report

15. The ODBC Level 1 API contains which of the following functions?

  • Browse possible connections and data sources only
  • Connect to data sources with driver-specific information only
  • Process a scrollable cursor only
  • Both 1 and 3 above are in the OBDC Level 1 API.
Show Answer Report

16. In OLE DB, a service provider:

  • does not own data only.
  • transforms data through OLE DB interfaces only.
  • is both a consumer and a provider of data only.
  • All of the above are true of an OLE DB service provider.
Show Answer Report

17. In OLE DB, a tabular data provider:

  • does not own data.
  • transforms data through ODE DB interfaces.
  • is both a consumer and a provider of data.
  • exposes data via rowsets.
Show Answer Report

18. The ODBC Level 2 API contains which the following functions?

  • Commit or rollback transactions only
  • Connect to data sources with driver-specific information only
  • Connect to data sources only
  • All of the above are contained in the OBDC Level 2 API
Show Answer Report

19. In ODBC, a data source that is local to a single computer is called a:

  • system data source.
  • file data source.
  • user data source.
  • SQL text file.
Show Answer Report

20. ________ is a cover for utilizing OLE DB that is designed for use by almost any language.

  • ODBC
  • ASP
  • JPCD
  • ADO
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test