Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Event-Driven FINALS

Total questions: 45

Worksheet time: 45mins

Name
Class
Date
1.
  • Stands for “Active Data Objects” 

  • Is a rich framework that retrieves and updates information in various relational databases (Microsoft SQL Server, Microsoft Access, Oracle, and XML)

b)

Data Provider for OLE DB

c)

Data Provider

d)

ASP.NET

2.
  • used for connecting in the database, recovering results, updating data, and executing commands

b)

Data Provider for OLE DB

c)

Data Provider

d)

Data Provider for SQL Server

3.
  • It gives data access on Microsoft SQL Server 

b)

Data Provider for OLE DB

c)

Data Provider

d)

Data Provider for SQL Server

4.
  • It is used for connecting OLE DB data source 

b)

Data Provider for OLE DB

c)

Data Provider

d)

Data Provider for SQL Server

5.
  • - It characterizes a local copy of related data tables

  • - is composed of one or more DataTable objects that are manipulated and updated as per the requirements of the users or client

b)

DataSet  

c)

Data Provider

d)

Data Provider for SQL Server

6.
  • -It manages the data for any entity 

    • -It contains zero or more rows of data, and each value shown in the data table is identified by the DataColumn 

    • -consists of primary key, foreign key, constraint, and relation information of different tables

a)

DataTable

b)

DataColumn

c)

DataRelation

d)

DataColumnMapping

7.
  • It includes a data type declaration based on the kind of data saved

a)

DataTable

b)

DataColumn

c)

DataRelation

d)

DataColumnMapping

8.
  • It is used to link two (2) DataTable classes inside the DataSet class

a)

DataTable

b)

DataColumn

c)

DataRelation

d)

DataColumnMapping

9.
  • It is used to map a table name from the database to a DataTable within a DataSet

a)

DataTable

b)

DataView

c)

DataRelation

d)

DataColumnMapping

10.
  • It is used to customize the view of the table or desired view of the rows in a DataTable

a)

DataTable

b)

DataView

c)

DataRelation

d)

DataColumnMapping

11.
  • can run SQL commands and perform a stored procedure—accessing and manipulating data

a)

Command

b)

Connection

c)

DataAdapters

d)

DataReaders

12.
  • From the data source, it allows users to connect and disconnect.  

    • Communications with the external data sources happen through the Connection object 

a)

Command

b)

Connection

c)

DataAdapters

d)

DataReaders

13.
  • It transfers DataSets between the data source and the caller 

    • It also acts as a connection between the data source and DataSet 

a)

Command

b)

Connection

c)

DataAdapters

d)

DataReaders

14.
  • - It is a read-only access to data using a server-side cursor 

    • The DataReader object is gained by invoking the ExecuteReader method of the Command object 

    • It requires closing the connection when using the DataReader object 

a)

Command

b)

Connection

c)

DataAdapters

d)

DataReaders

15.

It includes all generic data access classes

b)
c)

System.Data.EntityClient

d)

System.Data.Linq.SqlClient

16.

It includes classes that are shared or overridden by individual data providers

b)
c)

System.Data.EntityClient

d)

System.Data.Linq.SqlClient

17.

It includes Entity Framework classes

b)
c)

System.Data.EntityClient

d)

System.Data.Linq.SqlClient

18.

It includes LINQ to SQL provider classes

b)
c)

System.Data.EntityClient

d)

System.Data.Linq.SqlClient

19.

It includes ODVC provider classes

b)
c)

System.Data.ProviderBase

20.

It includes OLE DB provider classes

b)
c)

System.Data.ProviderBase

21.

It includes new base classes and connection factory classes

b)
c)

System.Data.ProviderBase

22.

It includes new generic interfaces and classes for SQL Server data access

b)
c)

System.Data.ProviderBase

23.

It includes SQL Server provider classes

a)

System.Data.SqlClient

b)

System.Data.SqlTypes

c)

System.Data.ProviderBase

24.

It includes SQL Server data types

a)

System.Data.SqlClient

b)

System.Data.SqlTypes

c)

System.Data.ProviderBase

25.

is a server management console that is used for logging in to servers, opening data connections, and accessing databases

a)

Server Explorer

b)

Data Connections

c)

SQL Server Object Explorer

d)

SqlConnection

26.
  • -contains all the connections to the server and local databases 

  • -data connection node displays the list of tables, view, stored procedures, and functions 

  • -can also be used to connect to a SQL Server Database 

a)

Server Explorer

b)

Data Connections

c)

SQL Server Object Explorer

d)

SqlConnection

27.
  • It is used to design, connect to the available database, browse the schema, and create a query on its object

a)

Server Explorer

b)

Data Connections

c)

SQL Server Object Explorer

d)

SqlConnection

28.
  • This class is used to open a connection using the Open() method. The connection can be closed by calling the Close() method

a)

Server Explorer

b)

Data Connections

c)

SQL Server Object Explorer

d)

SqlConnection

29.
  • a property that is used to read or assign the connection string to be used by the SqlConnection class

a)

ConnectionString

b)

DataSource

c)

Database

d)

State

30.
  • a read-only property that returns the name of the database

a)

ConnectionString

b)

DataSource

c)

Database

d)

State

31.
  • a read-only property that returns the name of the SQL Server instance

a)

ConnectionString

b)

DataSource

c)

Database

d)

State

32.
  • a read-only property that returns the current state of the connection

a)

ConnectionString

b)

DataSource

c)

Database

d)

State

33.
  • - This class is used to perform desired processing on the database 

    • - It allows executing any direct T-SQL or stored procedure on the server 

a)

SqlCommand

b)

ExecuteNonQuery

c)

ExecuteReader

d)

SqlDataReader

34.
  • This method executes the command but does not return output

a)

SqlCommand

b)

ExecuteNonQuery

c)

ExecuteReader

d)

SqlDataReader

35.
  • This method executes the command and returns a DataReader object based on the SQL statement

a)

SqlCommand

b)

ExecuteNonQuery

c)

ExecuteReader

d)

SqlDataReader

36.
  • This object is forward-only and read-only cursor that can be iterated through to fetch the rows in it

a)

SqlCommand

b)

ExecuteNonQuery

c)

ExecuteReader

d)

SqlDataReader

37.
  • It executes the command and returns the SqlRecord object that contains a single returned row

a)

ExecuteRow

b)

ExecuteScalar

c)

Connection

d)

CommandText

38.
  • It executes the command and returns the first column of the first row in the result set

a)

ExecuteRow

b)

ExecuteScalar

c)

Connection

d)

CommandText

39.
  • It gets or sets the SqlConnection class that can be used by the Command object

a)

ExecuteRow

b)

ExecuteScalar

c)

Connection

d)

CommandText

40.
  • it gets or sets the stored procedure or the T-SQL statement

a)

ExecuteRow

b)

ExecuteScalar

c)

Connection

d)

CommandText

41.
  • It indicates the way the CommandText property should be interpreted

a)

CommandType

b)

SqlParameterCollection

c)

Add()

d)

AddWithValue()

42.
  • It refers to a collection of parameters that is connected with SqlCommand

a)

CommandType

b)

SqlParameterCollection

c)

Add()

d)

AddWithValue()

43.
  • adds the specified SqlParameter object to the SqlParameterCollection and contains two arguments: string paramaterName and SqlDbType

a)

CommandType

b)

SqlParameterCollection

c)

Add()

d)

AddWithValue()

44.
  • It adds a value to the end of the SqlParameterCollection 

    • It contains two (2) arguments, a string parameterName and an object, that includes the value of that parameter 

a)

SQL UPDATE

b)

SqlParameterCollection

c)

Add()

d)

AddWithValue()

45.
  • - It is used to modify or update an existing record 

    • It uses the WHERE clause to determine the number of records that will be updated

a)

SQL UPDATE

b)

SqlParameterCollection

c)

Add()

d)

AddWithValue()