JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
ADO.NET interview questions
ADO.NET interview questions
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 15
1. Which .net Data Provider offers best performance when connected to SQLServer Database ?
A. OLEDB provider
B. ODBC provider
C. SQLServer .NET Data Provider
D. SQLServer Data provider
Show Correct Answer
Correct Answer is :
SQLServer .NET Data Provider
2. What is the Best approach that has to be used, if you need continuous connection to the Database ?
A. ADO.NET
B. ADO
C. Both
D. None of the above
Show Correct Answer
Correct Answer is :
ADO
3. Which of the following statements is true about Dataset ?
A. Dataset can store only one table in its cache
B. Dataset cannot store any tables in the cache
C. Dataset stores tables in the cache,only when cache set to true
D. Dataset can store multiple tables in cache
Show Correct Answer
Correct Answer is :
Dataset can store multiple tables in cache
4. The Databases that make up the data in a dataset
A. Should be from Single database source
B. Can be from multiple databases bases which are homogeneous
C. Can include many heterogeneous databases sources
D. None of the above
Show Correct Answer
Correct Answer is :
Can include many heterogeneous databases sources
5. In ADO, the data from one component to other is sent in Binary format, where as in ADO.Net it is sent in
A. Binary format only
B. Text Stream
C. XML Format
D. None of the above
Show Correct Answer
Correct Answer is :
XML Format
6. To use the .NET Framework Data Provider for SQL Server, an application must reference the _____________ namespace.
A. System.Data.Client
B. System.Data.SqlClient
C. System.Data.Sql
D. None of the mentioned
Show Correct Answer
Correct Answer is :
System.Data.SqlClient
7. Point out the correct statement :
A. Using the System.Data.SqlClient , you can fill a memory-resident DataSet that you can use to query and update the database
B. System.Data.SqlClient includes a tabular data stream (TDS) parser to communicate directly with SQL Server
C. SqlBulkCopyColumnMapping lets you efficiently bulk load a SQL Server table with data from another source
D. None of the mentioned
Show Correct Answer
Correct Answer is :
System.Data.SqlClient includes a tabular data stream (TDS) parser to communicate directly with SQL Server
8. Valid Code for Creating a SqlConnection Object would be :
A. SqlConnection conn = NEW SqlConnection( "Data Source=(local);Initial Catalog=Northwind;Integrated Security=SSPI");
B. SqlConnect conn = NEW SqlConnection( "Data Source=(local);Initial Catalog=Northwind;Integrated Security=SSPI");
C. SqlConnection conn = NEW SqlConnect( "Data Source=(local);Initial Catalog=Northwind;Integrated Security=SSPI");
D. All of the mentioned
Show Correct Answer
Correct Answer is :
SqlConnection conn = NEW SqlConnection( "Data Source=(local);Initial Catalog=Northwind;Integrated Security=SSPI");
9. Code snippet for having a named instance of SQL Server would be :
A. “Server=localhost\sqlexpress”
B. “Server=local\sqlexpress”
C. “Server=host\sqlexpress”
D. “Ser=localhost\sqlexpress”
Show Correct Answer
Correct Answer is :
“Server=localhost\sqlexpress”
10. Point out the wrong statement :
A. The goal of dotConnect for SQL Server is to enable developers to maintain database applications.
B. dotConnect for SQL Server combines connected and disconnected data access models in single SqlDataTable component
C. dotConnect for SQL Server supports new ADO.NET features and technologies as soon as they are released
D. None of the mentioned
Show Correct Answer
Correct Answer is :
The goal of dotConnect for SQL Server is to enable developers to maintain database applications.
11. Which of the following is enumeration for ADO.net with SQL Server ?
A. SqlInfo
B. SqlBulkCopyOptions
C. SqlNotification
D. All of the mentioned
Show Correct Answer
Correct Answer is :
SqlBulkCopyOptions
12. Syntax for closing and opening the connection in ADO.net is :
A. sqlConn.Open() and sqlConn.close()
B. sqlConn.open() and sqlConn.Close()
C. sqlConn.Open() and sqlConn.Close()
D. None of the mentioned
Show Correct Answer
Correct Answer is :
sqlConn.Open() and sqlConn.Close()
13. Which of the following gives trusted Connection from a CE device ?
A. connetionString="Data Source=ServerName; Initial Catalog=DatabaseName;Integrated Security=SSPI; User ID=myDomain\UserName;Password=Password;
B. connetionString="Data Source=ServerName; Integrated Security=SSPI;User ID=myDomain\UserName;P assword=Password;
C. connetionString="Data Source=ServerName; Initial Catalog=DatabaseName;User ID=myDomain\UserName; Password=Password;
D. All of the mentioned
Show Correct Answer
Correct Answer is :
connetionString="Data Source=ServerName; Initial Catalog=DatabaseName;Integrated Security=SSPI; User ID=myDomain\UserName;Password=Password;
14. The main features of dotConnect for SQL Server includes :
A. Extra data binding capabilities
B. Ability of monitoring query execution
C. Supports the latest versions of SQL Server
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
15. __________object is used to fill a DataSet/DataTable with query results in ADO.net.
A. DataReader
B. Dataset
C. DataAdapter
D. DataTables
Show Correct Answer
Correct Answer is :
DataAdapter
Similar Interview Questions
Search for latest jobs
Find Jobs