Chapter 11 Flashcards
Every DBMS product has an application programming interface (API).
True
Every DBMS product uses the same API.
False
ODBC stands for Open Database Connectivity.
True
If a server is using a Microsoft Windows operating system, it is usually running Internet Information Server (IIS) as its Web server.
True
The most commonly used Web server on servers running the Unix or Linux operating system is Internet Information Server (IIS).
False
If the Web server and the DBMS are running on the same server, the system has a three-tier architecture.
False
ODBC has not had practical success, but has shown great potential for future development.
False
ODBC works with table-like data sources such as relational databases and spreadsheets.
True
ODBC acts as a wrapper for OLE DB.
False
With ODBC, a database and the DBMS that processes it are identified by the data source.
True
With ODBC, the driver manager serves as an intermediary between the application and the DBMS drivers.
True
With ODBC, only a single driver is needed to handle all data source types, such as Oracle, DB2, and Access.
False
In ODBC, the amount of work that the driver must do is largely determined by the degree of SQL-compliance of the data source.
True
A multiple-tier ODBC driver may reformat an SQL request, but it does not actually process the SQL statement.
True
With ODBC, a file data source is available only to the user that created it.
False
In general, the best type of ODBC data source to define for a Web application is a system data source.
True
OLE DB objects are COM objects.
True
OLE DB can be used to access ODBC data sources.
True
OLE DB is an object-oriented interface.
True
In OLE DB, a RecordSet is a more abstract representation of a rowset.
False
Object classes have properties that represent characteristics of the objects in the class.
True
One of the properties of all collections is Count, which is the number of objects in the collection.
True
Which of the following can only interact with relational database and table-like data structures? A) OLE DB B) ODBC C) ASP D) ADO E) All of the above
B
Which of the following is true about ODBC?
A) ODBC has experienced little practical success.
B) ODBC requires developers to have a thorough knowledge of many DBMS native libraries.
C) ODBC can be used to access data from spreadsheets.
D) ODBC has an object-oriented interface.
E) ODBC does not include facilities to return error messages.
C
According to the ODBC standard, which of the following is not part of the specification of a data source? A) The associated DBMS B) The database C) The driver D) The operating system E) The network platform
C
The ODBC standard defines a means of doing which of the following? A) Start transactions B) Rollback transactions C) Create a connection D) Issue SQL commands E) All of the above
E
Which of the following is a function performed by the driver manager in ODBC?
A) Submit SQL statements to the data source
B) Determine the type of DBMS that processes a given ODBC data source
C) Load the appropriate ODBC driver into memory
D) Convert data source error codes into ODBC error codes
E) B and C
E
The intermediary between the application and the DBMS drivers in the ODBC architecture is the \_\_\_\_\_\_\_\_. A) driver manager B) OLE DB interface C) ODBC driver D) data source E) database connector
A
Which of the following is a task performed by the driver according to the ODBC standard?
A) Determines the appropriate DBMS
B) Validates the format of the ODBC command received from the application
C) Converts data source error codes into ODBC standard error codes
D) Verifies the application to the data source
E) Converts the data source into an SQL-compliant data structure
C
The \_\_\_\_\_\_\_\_ processes ODBC requests and submits specific SQL statements to a given type of data source. A) driver manager B) ADO C) driver D) source converter E) ODBC translator
C
A data source that is fully SQL-compliant would use what type of DBMS driver? A) Single-tier B) Multiple-tier C) SQL transform D) Text-based E) Conformance
B
How does an application determine the level of ODBC conformance available from a driver?
A) The application makes a call to the driver manager.
B) The application makes a call to the data source.
C) The application makes a call to the driver.
D) The developer must determine the level of conformance before the application is written.
E) It does not have to determine ODBC conformance since all ODBC drivers have the same functionality by definition.
C
Support for a scrollable cursor is a sign of what type of conformance in a DBMS driver? A) Level 1 API B) Extended SQL Grammar C) Core API D) Level 2 API E) Core SQL Grammar
D
Support for subqueries and creating indexes is a sign of what type of SQL conformance in a DBMS driver? A) Level 2 API B) Minimum SQL Grammar C) Core API D) Extended SQL Grammar E) Core SQL Grammar
E
In OLE DB, all of an object’s properties must be exposed in all interfaces, but not all methods have to be exposed.
False
One important result of OLE DB is that data does not have to be moved or converted from one form to another.
True
An OLE DB service provider accepts data from an OLE DB tabular data provider.
True
ADO provides access to ODBC functionality to programming languages that ordinarily could not access ODBC functions.
False
ADO is accessible from languages such as C++ and C#, but not Visual Basic or scripting languages.
False
ADO was (and still is) frequently used for database applications.
True
ADO.NET is a completely new product, with no connection to ADO except the similar name.
False
ADO.NET provides the capability to create and process in-memory databases called DataSets.
True
An ADO.NET DataSet has all the characteristics, features, and functions of a regular database.
True
An ADO.NET DataSet is connected to databases.
False
An ADO.NET dataset can have primary and foreign keys, but ADO.NET does not support referential integrity.
False
Once an ADO.NET dataset is constructed, its contents can be formatted as an XML document with a single command.
True
An ADO.NET dataset can only be used with optimistic locking.
True
A \_\_\_\_\_\_\_\_ data source can be shared among database users as long as they have the same DBMS driver and privilege to access the database. A) file B) common C) shared D) system E) user
A
data source that is local to a single computer and can be used by the operating system and any user on that computer is called a \_\_\_\_\_\_\_\_ data source. A) file B) common C) shared D) system E) user
D
In general, for Web applications it is best to create what type of data source on the Web server? A) File B) Common C) Shared D) System E) User
D
OLE DB breaks the features and functions of a DBMS into what type of objects? A) COM B) DBMS C) MTS D) ODBC E) ASP
A
Which of the following is not true about OLE DB?
A) Scripting languages cannot access OLE DB.
B) OLE DB is object-oriented.
C) OLE DB can access ODBC data sources.
D) OLE DB can access non-relational data sources.
E) OLE DB is used as a wrapper for ADO objects.
E
The characteristics of an object are called \_\_\_\_\_\_\_\_. A) classes B) collections C) methods D) properties E) procedures
D
The actions that an object can perform are called \_\_\_\_\_\_\_\_. A) classes B) collections C) methods D) properties E) procedures
C
An important method of a collection is a(n) \_\_\_\_\_\_\_\_, which can be used to pass through or otherwise identify the items in the collection. A) iterator B) identifier C) converter D) transformer E) signal
A
A set of objects and the properties and methods that they expose are known as a(n) \_\_\_\_\_\_\_\_. A) provider B) data consumer C) implementation D) instantiation E) interface
E
Which of the following is a type of OLE DB data provider? A) relational data provider B) method provider C) sequential data provider D) tabular data provider E) implementation provider
D
Which standard interface in OLE DB is invoked to declare a forward-only cursor? A) IRowSet B) IAccessor C) IColumnsInfo D) adXact E) ADODB
A
Which of the following is not true of ADO?
A) ADO is a simple object model for OLE DB data consumers.
B) ADO can be used from VBScript and JavaScript.
C) ADO is harder to understand than OLE DB.
D) ADO can be called from languages such as Visual Basic.NET, Java and C#.
E) All of the above are true of ADO.
C
Which of the following is true about ADO.NET?
A) It is an improved and expanded version of ADO.
B) It facilitates the transformation of XML documents to and from relational database constructs.
C) It provides the ability to create and process in-memory databases.
D) A and B
E) A, B, and C
E
ADO.NET in-memory databases are called \_\_\_\_\_\_\_\_. A) adoBases B) adoDatabases C) dotNetBases D) dotNetDatabases E) DataSets
E
An ADO.NET Data Provider is a(n) \_\_\_\_\_\_\_\_ that provides ADO.NET services. A) class library B) windows application C) Web application D) XML service E) DND service
A
Which of the following is true about ADO.NET DataSets?
A) They can have multiple tables and relationships.
B) They can have foreign keys and surrogate keys.
C) They can support referential integrity actions.
D) A and B
E) A, B, and C
E