Filters
Question type

Study Flashcards

Applications that connect to a Microsoft Access database use the OLE DB data provider.

A) True
B) False

Correct Answer

verifed

verified

Each data provider includes a collection of classes used to access a data source,including connection,command,data reader and data adapter classes.

A) True
B) False

Correct Answer

verifed

verified

Which class is automatically instantiated when a table from the Data Sources window is dragged onto the form?


A) TabControl
B) BindingNavigator
C) BindingStrip
D) MenuStrip

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

Using the local copy of data stored in a datagrid object,you can delete,insert new records or change the values of individual fields in the data grid.

A) True
B) False

Correct Answer

verifed

verified

Typically when you are programming for database access,you use a(n)____________.

Correct Answer

verifed

verified

query language

The default server name for SQL Express is (LocalDB)\v11.0.

A) True
B) False

Correct Answer

verifed

verified

string sConnection = "Provider=Microsoft.ACE.OLEDB.12.0;" + "Data Source=member.accdb"; -Which class is used to hold the SQL statement or stored procedures for Access databases?


A) AccessCommand
B) command
C) OleDbCommand
D) ODBCCommand

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

The CommandBuilder object used for accessing data from database tables can be used for datasets that map to one or more database tables.

A) True
B) False

Correct Answer

verifed

verified

False

A foreign key is a column (field)or combination of columns that uniquely identifies a row in a table.

A) True
B) False

Correct Answer

verifed

verified

The Dataset Designer tool provides a visual representation of the objects contained in the dataset object.

A) True
B) False

Correct Answer

verifed

verified

After values have been retrieved using the OleDbDataReader,you can send the ordinal location of data fields as arguments to methods of the OleDbDataReader class.

A) True
B) False

Correct Answer

verifed

verified

To process the data using a data reader with an Access database,you declare an object of the OleDbDataReader class and then ____.


A) move the data to the DataSet object
B) call the ExecuteReader( ) method.
C) declare an object of the CommandBuilder object
D) call the Update command

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

string sConnection = "Provider=Microsoft.ACE.OLEDB.12.0;" + "Data Source=member.accdb"; -The above connection string is associated with which type of database?


A) Jet
B) SQL Server
C) Oracle
D) Access

E) All of the above
F) A) and D)

Correct Answer

verifed

verified

Classes that can be used to retrieve,manipulate,and update data in databases are part of ____.


A) ACCESS.NET
B) ASP.NET
C) ODBC.NET
D) ADO.NET

E) A) and B)
F) A) and D)

Correct Answer

verifed

verified

D

DataAdapter classes are used to exchange data between a database source and a dataset object.

A) True
B) False

Correct Answer

verifed

verified

A cache of records retrieved from some data source that may contain one or more tables from the data source describes a(n) ____.


A) database
B) dataset
C) data adapter
D) data reader

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

OleDbDataReader class includes a number of typed accessor method members (i.e GetChar( ),GetString( ),GetDecimal( ))..

A) True
B) False

Correct Answer

verifed

verified

To retrieve data from a database programmatically,one of the first things you must do is ____.


A) issue a command to retrieve the records from the database
B) include a using directive inside the try...catch block to add a reference to the correct data provider
C) connect to the database
D) turn on the data provider database engine

E) A) and C)
F) None of the above

Correct Answer

verifed

verified

string sConnection = "Provider=Microsoft.ACE.OLEDB.12.0;" + "Data Source=member.accdb"; -Using the segment of code above,what is member.accdb?


A) the name of an Access Database
B) the name of a SQL Server Database
C) the name of an Access table
D) the name of a SQL Server table

E) B) and D)
F) C) and D)

Correct Answer

verifed

verified

Read-only forward retrieval of data from an Access database is possible using the ____ class.


A) OleDbDataReader
B) ExecuteReader
C) SqlDataReader
D) DbReader

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

Showing 1 - 20 of 75

Related Exams

Show Answer