v


Modifying Data  «Prev  Next»

Modifying data - Quiz

Modifying data using Visual Studio

Each question is worth one point. Select the best answer or answers for each question.
 
1. When using Design Time Controls to add simple insert, delete, and update functionality to your Web site, why wouldn't you use SQL statements?
Please select the best answer.
  A. SQL statements execute much slower.
  B. This functionality is provided by recordset object methods.
  C. SQL statements cannot be used with Design Time Controls.
  D. Your application requires a custom interface.

2. Which object provides the updateRecord method?
Please select the best answer.
  A. The command object
  B. The Data Environment object
  C. The Button object
  D. The recordset object

3. The Data Environment is defined in:
Please select the best answer.
  A. The Data View
  B. The Project Explorer
  C. Global.asa
  D. The Recordset Design Time Control

4. One of the advantages of directly scripting the Data Environment is:
Please select the best answer.
  A. It enables the Scripting Object Model.
  B. It results in smaller Web pages.
  C. It automatically binds data to controls.
  D. It creates command objects.

5. Within the scope of this module, what is the function of the onclick event handler?
Please select the best answer.
  A. To make changes to the database
  B. To insert a new record
  C. To respond to clicks on HTML button controls
  D. To delete a new record

6. To script the Data Environment, why do you need one or more command objects?
Please select the best answer.
  A. To access the database
  B. To establish a database connection
  C. To bind data to Design Time Controls
  D. To navigate within the database

Correct answers:

Your Score: 0