Explore topic-wise MCQs in Database.

This section includes 33 Mcqs, each offering curated multiple-choice questions to sharpen your Database knowledge and support exam preparation. Choose a topic below to get started.

1.

An abstraction is a generalization of something.%!

A. True
B. False
Answer» B. False
2.

ADO overlies the more complex OLE DB model, and can be called for scripting languages but not programming languages.%!

A. True
B. False
Answer» C.
3.

The process of defining a system data source name involves specifying the type of driver and the identity of the database to be processed.%!

A. True
B. False
Answer» B. False
4.

Users of OLE DB functionality are referred to as data providers.%!

A. True
B. False
Answer» C.
5.

ODBC is a foundation of data access in the specifically Microsoft world.%!

A. True
B. False
Answer» C.
6.

The driver manager processes ODBC requests and submits specific SQL statements to a given type of data source.%!

A. True
B. False
Answer» C.
7.

The ADO connection object is created after the ADO errors object is created.%!

A. True
B. False
Answer» C.
8.

A data source is an ODBC data structure that identifies a database and the DBMS that processes it.%!

A. True
B. False
Answer» B. False
9.

An OLE DB rowset is equivalent to a cursor.%!

A. True
B. False
Answer» B. False
10.

OLE DB has two types of data providers: tabular data providers and service providers.%!

A. True
B. False
Answer» B. False
11.

OLE DB tabular data providers present data in the form of rowsets.%!

A. True
B. False
Answer» B. False
12.

ODBC identifies two types of drivers: single tier and multiple-tier.%!

A. True
B. False
Answer» B. False
13.

An application that uses the ODBC interface could process any database that is ODBC-compliant without any program coding changes.%!

A. True
B. False
Answer» B. False
14.

A OLE DB collection is an object that contains a group of other objects.%!

A. True
B. False
Answer» B. False
15.

ODBC provides an interface by which Web server programs can access and process relational data sources in a DBMS-independent manner.%!

A. True
B. False
Answer» B. False
16.

A OLE DB rowset is an abstraction of a relation, which in turn is an abstraction of a recordset.%!

A. True
B. False
Answer» C.
17.

A file data source is one that is local to a single computer.%!

A. True
B. False
Answer» C.
18.

ODBC conformance levels specify which SQL statements, expressions, and data types a driver can process.%!

A. True
B. False
Answer» B. False
19.

A user data source is one that can be shared among database users.%!

A. True
B. False
Answer» C.
20.

An OLE DB interface is specified by a set of objects and the properties and methods that they expose.%!

A. True
B. False
Answer» B. False
21.

*$_ODBC core SQL grammar contains which of the following?:?

A. INSERT, UPDATE, DELETE only
B. Stored procedures only
C. Full SELECT (includes subqueries) only
D. Both 1 and 3 above are contained in the ODBC core SQL.
Answer» E.
22.

*/*_________ is a cover for utilizing OLE DB that is designed for use by almost any language.?

A. ODBC
B. ASP
C. JPCD
D. ADO
Answer» E.
23.

*/*_The ODBC Level 1 API contains which of the following functions??

A. Browse possible connections and data sources only
B. Connect to data sources with driver-specific information only
C. Process a scrollable cursor only
D. Both 1 and 3 above are in the OBDC Level 1 API
Answer» C. Process a scrollable cursor only
24.

*/*_In OLE DB, actions that an object can perform are called:?

A. properties.
B. collections.
C. methods.
D. abstractions.
Answer» D. abstractions.
25.

%_________ is a simple object model that is easier to understand and use than OLE DB, and is frequently used for database applications._%

A. ASP
B. XML
C. ODBC
D. ADO
Answer» E.
26.

_ In ODBC, a data source that is local to a single computer is called a:$?

A. system data source.
B. file data source.
C. user data source.
D. SQL text file.
Answer» B. file data source.
27.

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

A. Data source
B. Driver
C. Driver manager
D. OLE DB
Answer» D. OLE DB
28.

_ An ODBC data structure that identifies a database and the DBMS that processes it is called a(n):$?

A. data source.
B. driver manager.
C. driver.
D. API.
Answer» B. driver manager.
29.

_The ODBC core API consists of which of the following functions?$?

A. Commit or rollback transactions only
B. Connect to data sources with driver-specific information only
C. Connect to data sources only
D. Both 1 and 3 above are in the OBDC core API
Answer» E.
30.

The ODBC Level 2 API contains which the following functions?$?

A. Commit or rollback transactions only
B. Connect to data sources with driver-specific information only
C. Connect to data sources only
D. All of the above are contained in the OBDC Level 2 API
Answer» E.
31.

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

A. ODBC
B. OLE DB
C. JPCD
D. ADO
Answer» C. JPCD
32.

Which of the following are goals of OLE DB?$?

A. Create object interfaces for DBMS functionality pieces only.
B. Increase flexibility only.
C. Object interface over any type of data only.
D. All of the above as goals of OLE DB.
Answer» E.
33.

When using ODBC, which of the following processes ODBC requests and submits specific SQL statements to a given type of data source??

A. Data source
B. Driver
C. Driver manager
D. DBMS
Answer» C. Driver manager