Vous êtes sur la page 1sur 4

. D.

Both 1 and 3 above are contained in the


ODBC core SQL.
1.ODBC minimum SQL grammar contains
which of the following? 6. ________ is considered to be one of the
foundations of data access in the Microsoft
A. INSERT, UPDATE, DELETE only world.
B. Stored Procedures only A. ODBC
C. Literals for date, time and timestamp B. OLE DB
only
C. JPCD
D. CREATE VIEW, DROP VIEW only
D. ADO
2.When using ODBC, which of the following
processes ODBC requests and submits specific 7. ________ is an interface by which
SQL statements to a given type of data source? application programs can access and process
SQL databases in a DBMS-independent manner.
A. Data source
A. ODBC
B. Driver
B. OLE DB
C. Driver manager
C. JPCD
D. DBMS
D. ADO
3. The ODBC core API consists of which of the
following functions? 8. Which of the following are goals of OLE DB?

A. Commit or rollback transactions only A. Create object interfaces for DBMS


functionality pieces only.
B. Connect to data sources with driver-
specific information only B. Increase flexibility only.

C. Connect to data sources only C. Object interface over any type of data
only.
D. Both 1 and 3 above are in the OBDC
core API. D. All of the above as goals of OLE DB.

4. ________ is a simple object model that is 9. An ODBC data structure that identifies a
easier to understand and use than OLE DB, and database and the DBMS that processes it is
is frequently used for database applications. called a(n):

A. ASP A. data source.

B. XML B. driver manager.

C. ODBC C. driver.

D. ADO D. API.

5. ODBC core SQL grammar contains which of 10. In OLE DB, actions that an object can
the following?: perform are called:

A. INSERT, UPDATE, DELETE only A. properties.

B. Stored procedures only B. collections.

C. Full SELECT (includes subqueries) only C. methods.


D. abstractions. D. Both 1 and 3 above are in the OBDC
Level 1 API.
11. In OLE DB, which of the following
represents characteristics of the recordset 16. In OLE DB, a service provider:
abstraction?
A. does not own data only.
A. Properties
B. transforms data through OLE DB
B. Collections interfaces only.

C. Methods C. is both a consumer and a provider of


data only.
D. Abstractions
D. All of the above are true of an OLE DB
12. In ODBC, a file that can be shared among service provider.
database users is called a:
17. In OLE DB, a tabular data provider:
A. system data source.
A. does not own data.
B. file data source.
B. transforms data through ODE DB
C. user data source. interfaces.
D. SQL text file. C. is both a consumer and a provider of
data.
13. ________ is an object-oriented interface that
encapsulates data-server functionality. D. exposes data via rowsets.
A. ODBC 18. The ODBC Level 2 API contains which the
following functions?
B. OLE DB
A. Commit or rollback transactions only
C. JPCD
B. Connect to data sources with driver-
D. ADO specific information only
14. When using ODBC, which of the following C. Connect to data sources only
serves as an intermediary between the
application and the DBMS drivers? D. All of the above are contained in the
OBDC Level 2 API
A. Data source
19. In ODBC, a data source that is local to a
B. Driver single computer is called a:
C. Driver manager A. system data source.
D. OLE DB B. file data source.
15. The ODBC Level 1 API contains which of C. user data source.
the following functions?
D. SQL text file.
A. Browse possible connections and data
sources only 20. ________ is a cover for utilizing OLE DB
that is designed for use by almost any language.
B. Connect to data sources with driver-
specific information only A. ODBC
C. Process a scrollable cursor only B. ASP
C. JPCD A. True

D. ADO B. False

21.A file data source is one that is local to a 29. A data source is an ODBC data structure that
single computer. identifies a database and the DBMS that
processes it.
A. True
A. True
B. False
B. False
22. An application that uses the ODBC interface
could process any database that is ODBC- 30. Users of OLE DB functionality are referred
compliant without any program coding changes. to as data providers.

A. True A. True

B. False B. False

23. An OLE DB rowset is equivalent to a cursor. 31. A user data source is one that can be shared
among database users.
A. True
A. True
B. False
B. False
24. ODBC is a foundation of data access in the
specifically Microsoft world. 32. ODBC provides an interface by which Web
server programs can access and process
A. True relational data sources in a DBMS-independent
manner.
B. False
A. True
25. An abstraction is a generalization of
something. B. False
A. True 33. OLE DB tabular data providers present data
in the form of rowsets.
B. False
A. True
26. An OLE DB interface is specified by a set of
objects and the properties and methods that they B. False
expose.
34. The ADO connection object is created after
A. True the ADO errors object is created.
B. False A. True
27. A OLE DB rowset is an abstraction of a B. False
relation, which in turn is an abstraction of a
recordset. 35. The process of defining a system data source
name involves specifying the type of driver and
A. True the identity of the database to be processed.
B. False A. True

B. False
28. ODBC identifies two types of drivers: single
tier and multiple-tier.
36. ODBC conformance levels specify which
SQL statements, expressions, and data types a
driver can process.

A. True

B. False

37. A OLE DB collection is an object that


contains a group of other objects.

A. True

B. False

38. OLE DB has two types of data


providers: tabular data providers and service
providers.

A. True

B. False

39. The driver manager processes ODBC


requests and submits specific SQL statements to
a given type of data source.

A. True

B. False

40. ADO overlies the more complex OLE DB


model, and can be called for scripting languages
but not programming languages.

A. True
B. False

Vous aimerez peut-être aussi