Showing posts with label ADO.Net Multiple Choice Questions And Answers. Show all posts
Showing posts with label ADO.Net Multiple Choice Questions And Answers. Show all posts

Monday, 21 September 2015

Fresher ADO.Net Question And Answer

61.  Using Which Datasource Control Can Access Oracle DataBase ?
a) xmlDatasource
b) sqlDataSource
c) ObjectDatasource
d) All of the Aboove
Ans: C

62. How to get the current user Name ?
a) Identity.UserName
b) CurrentUser.Identity.Name
c) User.Identity.Name
d) Based on the Session Variable Name
Ans: C

63.Which is Incorrect ?
a)Session objecy is Private to user
b)Application Object is global
c)Caching can be global or Private
d)Application object vaues are accessed accross the application
 Ans : C

64. Which is Correct ?
a)sql cache invalidation is a new feature in asp.net2.0
b)sql cache invalidation is an existing feature with enhancement
c)sql cache invalidation is an existing feature
d)sql cache invalidation is a bug in prior version
Ans: D

65.Which is correct ?
a) DataTable is member of a DataSet
b) DataTable is member of a System.Data
c) DataTable is member of a System.Data.SqlClient
d) Dataadapter
Ans: B

66.Which is correct ?
a) System.String and System.Text are same. System.text is synonym of system.string
b) System.String is data type System.Text is Class
c) System.String is data type System.Text is namespace
d) Non of the abve is right
ANs:  D


More Questions & Answers:-
Page1 Page2 Page3 Page4 Page5 Page6 Page7

Most Recently Asked ADO.Net Multiple Choice Questions And Answers

41. You are using Visual Studio .NET to create an ASP.NET application that will serve as a Web service. You are preparing to debug the Web service, and you need to enable debugging in theWeb.config file. 
Which of the following represents the proper format for enabling debugging in your Web service through the Web.config file
A. <compilation defaultLanguage="VB">
<debug="true">
B. <compilation defaultLanguage="VB">
<Debug="on">
C. <compilation defaultLanguage="VB"
Debug="true">
D. <compilation defaultLanguage="VB"
debug="true">
E. <compilation defaultLanguage="VB">
<Debug="true">
F. <compilation defaultLanguage="VB">
<debug="on">
G. <compilation defaultLanguage="VB"
debug="on">
H. <compilation defaultLanguage="VB"
Debug="on">
Ans: D

42. You are creating a Web service that will include a Web method. You want the method to return its data to the caller as it is created and put into a serial stream, rather than waiting for all of the data to be prepared before returning it. Which of the following WebMethod attributes should you set to enable this
A. <WebMethod(EnableSession:=True)>
B. <WebMethod(BufferResponse:=False)>
C. <WebMethod(EnableSession:=False)>
Ans: B

43. The XSLT processor copies the elements of the stylesheet until it finds a command in the format:
A. SELECT ... FROM ... WHERE.
B. {item, action}.
C. {for-each select}.
D. <HTML>...<\HTML>.
Answer:  B

44.. What standard, protocol or language was generalized to become a standard protocol for sending messages of any type, using any protocol?
A. SOAP
B. SGML
C. SQL
D. ADO
Answer: A

45. Which of the following statements is not true about XML Schemas:
A. They are used to define the content and structure of data.
B. They define a set of symbols and the relationships of those symbols.
C. They are themselves XML documents.
D. They have their own syntax.
Answer: D

46. The most popular way to materialize XML documents is to use:
A. DTD.
B. XSLT.
C. HTML.
D. SOAP.
Answer: B

47. With XML:
A. views are not limited to one multi-valued path only.
B. documents can automatically be generated from database data only.
C. database data can automatically be extracted from XML documents only.
D. With XML, all of the above are true.
Answer: D

48. To eliminate definition duplication, XML Schemas define:
A. an intersection table.
B. global elements.
C. a normalized definition table.
D. None of the above is correct.
Answer: B

48. What is not true about SOAP?
A. SOAP originally meant Simple Object Access Protocol.
B. SOAP was defined as an XML-based standard for providing remote procedure calls over the Internet.
C. SOAP now is just a name, not an acronym
D. SOAP was an early form of XML.
Answer: D

49. XML Schemas consist of:
A. properties and methods.
B. elements and attributes.
C. structure and data.
D. tables and relationships.
Answer: B

50. The expression FOR XML RAW tells SQL Server to:
A. place the values of the columns as attributes in the resulting XML document.
B. place the values of the columns into elements rather than attributes.
C. place some columns into elements and others into attributes.
D. None of the above is correct.
Answer: A

More Questions & Answers:-
Page1 Page2 Page3 Page4 Page5 Page6 Page7