Ado.net MCQ (Multiple choice questions) and answer

Ado.net MCQ (Multiple choice questions) with answers and explanations for placement tests and job interviews. These solved Ado.net Programming MCQ questions are useful for the campus placement of all freshers including Engineering Students, MCA students, Computer and IT Engineers, etc.

Our Ado.net MCQ ( Ado.net Multiple Choice Questions )  focuses on all areas of the Ado.net programming language. We will regularly update the quiz and most interesting thing is that questions come in a random sequence. So every time you will feel new questions.

Note: Your score along with correct answers will be visible after answering all of these questions.

ado.net mcq

Ado.net MCQ: Ado.net Multiple Choice Questions and Answers

1 / 35

Which of the following illustrates the benefit of ADO.NET?

2 / 35

What is Dataset object?

3 / 35

Which method in OLEDB adapter is used to populate dataset with records.

4 / 35

What data type is returned when calling the ExecuteScalar method of a command object?

5 / 35

The data is stored in a Microsoft SQL Server database on a server named Admin and the Database name is Diploma. You connect to Diploma by using Windows authentication mode. You use a SqlConnection object to connect to the database. Then which is the correct connection string from below?

6 / 35

Component which is NOT used in ADO.NET.

7 / 35

What information is specified in the Connection tab of the DataLink window?

8 / 35

Object which needs to be closed.

9 / 35

Class which is NOT available in System.Data Namespace.

10 / 35

Which DataAdapter Query Type can be used with the Access database?

11 / 35

Keyword is used to accept variable number of parameters.

12 / 35

Layer which is NOT supported by the ADO.NET.

13 / 35

To perform asynchronous data access, what must be added to the connection string?

14 / 35

ADO.Net connection object is used to establish a connection between

15 / 35

Method which is used to sort the data in ADO.NET.

16 / 35

SQLclient provider is used to access only ______database

17 / 35

The first record in a dataset has a position property of:

18 / 35

Default timeout for SqlCommand.Command timeout property

19 / 35

Which ado.net class provide disconnected environment?

20 / 35

Method is used by command class to execute SQL statements that return single value.

21 / 35

What is the use of SQL command object?

22 / 35

Which is not an ADO.NET DataAdapter Object?

23 / 35

Which of the following illustrates the benefit of ADO.NET?

24 / 35

Method which is used to read XML file.

25 / 35

ADO.NET provides the communicator between

26 / 35

Which object contains the Position property of the current record in a dataset?

27 / 35

Can you use a DataView to filter rows in a DataTable

28 / 35

When you create a relationship between tables in ADO.NET DataSe

29 / 35

Data provider which is NOT supported by the ADO.NET.

30 / 35

In a connection string _____________ represents name of the database

31 / 35

To check the status of the connection, ____ property is useful

32 / 35

Which is a property of the DataGrid control?

33 / 35

What is ADO.NET

34 / 35

Function which is used to stop running thread.

35 / 35

What is the use of SQL command object?

 

Recommended Articles for you: