ASP.Net/ASP.Net Mcq Question Set 9 Sample Test,Sample questions

Question:
 How Do You Add ASP.Net 3rd Party Component

1.By add/Remove items in the project menu

2. Add reference of dll file and place the code where ever required

3.Cannot add 3rd party component to asp.net

4. none of the mentioned


Question:
 Select The Interface Which Provides Fast, Connected Forward-Only Access To Data

1.IdataRecord

2.Idatabase

3. IdataReader

4.None of the above.


Question:
 What Is The Advantage Of Disconnected Mode Of ADO.Net In ASP.Net

1.Automatically dump data at client PC

2. Not necessary to connect with server

3.user data can update and retrieve in dataset and when connection connected, update values with server

4.None of the above.


Question:
 What Is The Full Form Of WSDL

1.Web System Description Language

2.Web Service Description Language

3.None

4.None of the above.


Question:
 What Is The Purpose Of Reflection?

1.For Reading metadata at runtime

2.For knowing version of assembly

3.For finding path of an assembly

4.None of the above.


Question:
 When Is The User Controls Code Is Executed

1. After the webform loads

2.After the page_init event of webform

3.Before Page_init event of web form

4. none of the mentioned


Question:
 Which class can be used to create an XML document from scratch?

1.XmlConvert

2.XmlDocument

3.XmlNew

4.XmlSettings


Question:
Client Sertificate Is A Collection Of

1. Server

2.Response

3. Request

4.None of the above.


Question:
Give One Word: Common Type System Is Built Into Which Of The Following:

1.CLR

2.RCT

3.RCW

4.None of the above.


Question:
GIVE ONE WORD: In .NET The Operation Of Reading Metadata And Using Its Contents Is Known As

1.Reflection

2.Enumeration

3.Binding

4.None of the above.


Question:
How Do We Delete, Update, Select Data In A Dataset

1. Using SQLDataAdapter

2. Using SQLDataReader

3. None

4. All of the mentioned


Question:
How To Open More Than One Datareader At A Time

1.Use different datareader variable

2.Use different datareader and connection variable

3.Can not be done

4.None of the above.


Question:
In which of the following format, output will be rendered to browser When an .aspx page is requested from the web server?

1.JSP

2.WML

3.XML

4. HTML


Question:
Is It Possible Edit Data In A Repeater Control

1. No

2. Yes

3. None

4.None of the above.


Question:
Is It Possible To Serialize HashTable With XMLSerializer

1.Yes

2. No

3.None of the above

4. All of the mentioned


Question:
Select The Output Of The Statement < Form Method=Post Action=”Test.Aspx” >

1. Transfers all the form data to test.aspx with HTTP headers

2.Transfers all the form data to test.aspx with out HTTP headers

3.Calls post method on test.aspx

4.None of the above.


Question:
The namespace within the Microsoft .NET framework which provides the functionality to implement transaction processing is ……

1.System.EnterpriseServices

2.System.Security

3.System.Diagnostics

4.System.Data


Question:
What Data Types Do A Rangevalidator Supports

1. Integer

2. String

3. All of the above

4.None of the above.


Question:
What Is A Diffgram ?

1.The one which renders the dataset object contents to XML

2.Finds the difference in two objects

3. Finds the difference in two filesq

4.None of the above.


Question:
What Is A Satallite Assembly ?

1.Any DLL file used by an EXE file.

2.An Assembly containing localized resources for another assembly

3.None of the above

4. All of the mentioned


Question:
What Is A Strong Name?

1.Public Key

2.Combination Of both Public,Private key and digital signature

3.Private Key

4.None of the above.


Question:
What Is The Difference Between HTTP Handlers & HTTP Modules

1.Httphandler is an class and Httpmodule is an assembly

2.Httphandler is an event handler and httpmodule is module to do some task

3.Both of the above.

4. All of the mentioned


Question:
What Is The Difference Between Server.Transfer & Response.Redirect

1. No Difference

2.Server.Transfer needs a roundtrip, Response.Redirect does not

3.Response.Redirect needs roundtrip, Server.Transfer does not

4.None of the above.


Question:
What Is The Lifespan For Items Stored In Viewstate

1. Exists for the Life of the current page

2. 20 mins

3.2 mins

4.None of the above.


Question:
What Is The Out Put Of Following Code String A=”Hello”; String B=”World” String C= A+B Response.Write ( “C “);

1. Hello world

2. C

3. A+b

4. All of the mentioned


Question:
What Is The Out Put Of The Following Code Byte A=200; Byte B=100; Byte C=A+B; Response.Write ( C );

1.Run time Error

2.Compile Time error

3.300

4. none of the mentioned


Question:
What Is The Purpose Of Code Behind ?

1.To separate different sections of a page in to different files

2.To merge HTML layout and code in to One file

3.To separate HTML Layout and code to different file

4.None of the above.


Question:
What Is The Server.MachineName Does

1.Gets the Server’s Machine Name

2.Gets the Referred Web site name on the server

3.Gets the Client Machine Name

4.None of the above.


Question:
What Is The Significance Of Response.AddHead

1.Adds HTTP Headers to output stream

2.Adds Tag to rendered Page

3.Add Headers to the web site

4. All of the mentioned


Question:
What Is The Significance Of Server .MapPath

1.Returns the physical file path that corresponds to virtual specified path

2.Returns the Virtual Path of the web folder

3.Maps the specified virtual path to Physical path

4. none of the mentioned


Question:
What Is The Size Of The Session ID

1.32 bit long string

2.32 bit long double

3.32 bit long integer

4.None of the above.


Question:
What Section Of The Config.Web File Is Used For Storing A List Of Authorized Users?

1. authorization

2. authentication

3. securityPolicy

4. All of the mentioned


Question:
Whats Is The Significance Of Response.ClearHeaders( )

1.Clears all Headers from the buffer stream

2. Clears all the section value from rendered HTML File

3.Clears the content of the Rendered page

4. none of the mentioned


Question:
Whats The Significance Of Request.MapPath( )

1.Maps the specified virtual path to a physical path

2. Maps the specified absolute path to virtual path

3.None of the above

4. All of the mentioned


Question:
Where Do You Store The Information About The User Locale

1. System.Web.UI.Page.Culture

2. System.web

3.System.Drawing

4.None of the above.


Question:
Which class can be used to perform data type conversion between .NET data types and XML types?

1.XmlType

2.XmlCast

3.XmlConvert

4.XmlSettings


Question:
Which Language Can Support SOAP

1.VB

2.JAVA

3. All of the above

4.None of the above.


Question:
Which Method Displays The Custom Control

1.The Prerender

2.Render

3. Page_Load

4. All of the mentioned


Question:
Which Method Do You Invoke On The DataAdapter Control To Load Your Generated Dataset With Data?)

1.Load ( )

2. Fill( )

3.DataList

4. none of the mentioned


Question:
Which Namespace Allows Us To Formauthentication ?

1.System.Web.Ui.Forms.Security

2.System.Web.Security

3. System.Web.Configuration

4.None of the above.


Question:
Which Objects Is Used To Create Foreign Key Between Tables?

1.DataRelation

2.DataRelationship

3.DataConstraint

4.None of the above.


Question:
Which Of The Following Are Not A Member Of Server Object

1.Execute

2.Transfer

3. Open

4.None of the above.


Question:
Which of the following does not have any visible interface?

1.Datagrid

2. Repeater

3.DropdownList

4.Datalist


Question:
Which Of The Following Extension Does A Webservice File Will Have

1. .Asmx

2. .Aspx

3..Ascx

4.None of the above.


Question:
Which Of The Following Is FALSE?

1. ASP.NET applications run without a Web Server

2. ASP+ and ASP.NET refer to the same thing

3.None of the Above

4. All of the mentioned


Question:
Which Of The Following Is Not A Member Of ConnectionObject

1. Execute

2.EndTransaction

3.BeginTransaction

4.None of the above.


Question:
Which Of The Following Is Not A Member Of Response Object?

1. Clear

2.Write

3.execute

4.None of the above.


Question:
Which of the following is true?

1.User controls are displayed correctly in the Visual Studio .NET Designer

2.Custom controls are displayed correctly in VS.Net Designer

3. User and Custom controls are displayed correctly in the Visual Studio .NET Designer.

4. none of the mentioned


Question:
Why Is Global.Asax Is Used For ?

1. To implement application & Session level events

2. To store configuration information

3. To store styling information

4.None of the above.


Question:
_____ is not a member of ADODBCommand object.

1.ExecuteReader

2. ExecuteStream

3.ExecuteScalar

4.Open


More MCQS

  1. ASP.Net Mcq Question Set 1
  2. ASP.Net Mcq Question Set 2
  3. ASP.Net Mcq Question Set 3
  4. ASP.Net Mcq Question Set 4
  5. ASP.Net Mcq Question Set 5
  6. ASP.Net Mcq Question Set 6
  7. ASP.Net Mcq Question Set 7
  8. ASP.Net Mcq Question Set 8
  9. ASP.Net Mcq Question Set 9
  10. ASP.Net Mcq Question Set 10
  11. ASP.Net Mcq Question Set 11
  12. ASP.Net Mcq Question Set 12
  13. ASP.Net Mcq Question Set 13
  14. ASP.Net Mcq Question Set 14
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!