ASP.NET Multiple Choice Question Material |
[1] An organization has developed a web service in which the values of the forms are validated using ASP.NET application. Suppose this web service is got and used by a customer then in such a scenario which of the following is TRUE |
(A) => Such a situation cannot happen at all |
(B) => The customer must be having technology that run ASP. |
(C) => The customer can run on any platform. (ANS) |
Answer =>> The customer can run on any platform. (ANS) |
|
[2] Which of the following denote the web control associated with Table control function of ASP.NET? |
(A) => DataList |
(B) => ListBox |
(C) => TableRow |
Answer =>> TableRow |
|
[3] ASP.NET separates the HTML output from program logic using a feature named as
|
(A) => Exception |
(B) => Code-behind |
(C) => Code-front |
Answer =>> Code-front |
|
[4] If a developer of ASP.NET defines style information in a common location. Then that location is called as |
(A) => Master Page |
(B) => Theme |
(C) => Customization |
Answer =>> Theme |
|
[5] In ASP.NET if you want to allows page developers a way to specify static connections in a content page then the class used is |
(A) => WebPartManager |
(B) => ProxyWebPartManager |
(C) => System.Activator |
Answer =>> ProxyWebPartManager |
|
[6] The feature in ASP.NET 2.0 that is used to fire a normal postback to a different page in the application is called |
(A) => Theme |
(B) => Cross Page Posting |
(C) => Code-front |
Answer =>> Cross Page Posting |
|
[7] In ASP.NET if one uses Windows authentication the current request attaches an object called as
|
(A) => Serialization |
(B) => WindowsPrincipal |
(C) => WindowDatset |
Answer =>> WindowsPrincipal |
|
[8] The GridView control in ASP.NET has which of the following features
|
(A) => Automatic data binding |
(B) => Automatic paging |
(C) => Both |
Answer =>> Both |
|
[9] If one uses ASP.NET configuration system to restrict access which of the following is TRUE? |
(A) => The access is restricted only to ASP.NET files |
(B) => The access is restricted only to static files and non-ASP.NET resources. |
(C) => Both |
Answer =>> The access is restricted only to ASP.NET files |
|
[10] Which of the following denote page code model in ASP.NET? |
(A) => single-file |
(B) => code-behind |
(C) => Both |
Answer =>> Both |
|
[11] Which of the following denote New Data-bound Controls used with ASP.NET |
(A) => GridView |
(B) => FormView |
(C) => All the Above |
Answer =>> All the Above |
|
[12] A developer wanted to achieve graphics in his display using ASP.NET. Which of the following web controls are available in ASP.NET to achieve the above? |
(A) => LinkButton |
(B) => AdRotator |
(C) => Both |
Answer =>> AdRotator |
|
[13] Forms based authentication is otherwise called in ASP.NET as Cookie Authentication because Forms authentication uses cookies to allow applications to track users throughout their visit. |
(A) => Windows Authentication |
(B) => Passport Authentication |
(C) => Cookie Authentication |
Answer =>> Cookie Authentication |
|
[14] Which of the following is true about session in ASP.NET?
|
(A) => Programmers has to take care of delete sessions after configurable timeout interval |
(B) => ASP.NET automatically delete sessions after configurable timeout interval |
(C) => None of the Above |
Answer =>> ASP.NET automatically delete sessions after configurable timeout interval |
|
[15] In ASP.NET what does the following return
< %
Response.Write(System.Environment.WorkingSet.ToString())
% > |
(A) => Gives Error |
(B) => Return Null value |
(C) => Gives the memory working set |
Answer =>> Gives the memory working set |
|
[16] In ASP.NET if one wants to maintain session then which of the following is used? |
(A) => In-process storage |
(B) => Microsoft SQL Server |
(C) => All the Above |
Answer =>> All the Above |
|
[17] I have an ASP.NET application. I have a page loaded from server memory. At this instance which of the following methods gets fired
|
(A) => Unload( ) |
(B) => Load() |
(C) => PreRender( ) |
Answer =>> Load() |
|
[18] Give one word: What model does ASP.NET request processing is based on |
(A) => Bottom-up |
(B) => Waterfall |
(C) => Pipeline |
Answer =>> Pipeline |
|
[19] If in an ASP.NET application one want to create http handlers which of the interface is used |
(A) => pipeline |
(B) => Handler |
(C) => IHttpHandlerFactory |
Answer =>> IHttpHandlerFactory |
|
[20] To set page title dynamically in ASP.NET which of the following is used? |
(A) => < sheet > section |
(B) => < tail > section |
(C) => < head > section |
Answer =>> < head > section |
|
[21] In ASP.NET application the Global.asax file lie in which directory
|
(A) => Application |
(B) => System |
(C) => ROOT |
Answer =>> ROOT |
|
[22] Which of the following can be used to debug .NET application?
|
(A) => Systems.Diagnostics classes |
(B) => Runtime Debugger |
(C) => All the Above |
Answer =>> All the Above |
|
[23] Which of the following is used to write error message in event Log File? |
(A) => System.Data |
(B) => System.EnterpriseServices |
(C) => System.Diagnostics |
Answer =>> System.Diagnostics |
|
[24] Setting the following properties for object in ASP.NET results in Response.Buffer = True Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0)) Response.Expires = 0 Response.CacheControl = "no-cache" |
(A) => Avoid page to be cached |
(B) => Clears the buffer area |
(C) => The session expires |
Answer =>> Avoid page to be cached |
|
[25] Which of the following denote value that can be taken by Cache-Control of ASP.NET? |
(A) => Public |
(B) => Private |
(C) => All the Above |
Answer =>> All the Above |
|
[26] In ASP.NET page framework an automatic way to associate page events and methods is |
(A) => AutoEventWireup attribute of the Page directive is set to true |
(B) => AutoEventWireup attribute of the Page directive is set to False |
(C) => It is not possible to set automatically page events and methods |
Answer =>> AutoEventWireup attribute of the Page directive is set to true |
|
[27] In ASP.NET if one wants to set the focus on a particular control
|
(A) => Call SETFOCUS |
(B) => Call SETCONTROL |
(C) => Call FOCUS method |
Answer =>> Call FOCUS method |
|
[28] The control used in ASP.NET to display information from data set but with better formatting and editing behavior is |
(A) => Panel |
(B) => Button |
(C) => DataList |
Answer =>> DataList |
|
[29] Which of the following languages can be used to write server side scripting in ASP.NET? |
(A) => C# |
(B) => C |
(C) => Visual Basic |
Answer =>> C# |
|
[30] The Following are the minimum requirement to run Asp.net pages |
(A) => Java Virtual Machine |
(B) => Common Language Runtime |
(C) => Windows explorer |
Answer =>> Common Language Runtime |
|
[31] When a .aspx page is requested from the web server, the out put will be rendered to browser in following format. |
(A) => HTML |
(B) => XML |
(C) => WML |
Answer =>> HTML |
|
[32] What executable unit gets created when we build an ASP.Net application? |
(A) => . DLL |
(B) => . EXE |
(C) => . COM |
Answer =>> . DLL |
|
[33] The best way to delimit ASP.Net code from HTML code in your pages is by using --------------- tags. |
(A) => < Body > |
(B) => < Head > |
(C) => < Script > |
Answer =>> < Script > |
|
[34] The Asp.net server control, which provides an alternative way of displaying text on web page, is |
(A) => < asp:label > |
(B) => < asp:listitem > |
(C) => < asp:button > |
Answer =>> < asp:label > |
|
[35] asp:dropdownlist> tag replaces which of the HTML tags
|
(A) => < Option > |
(B) => < Select > |
(C) => < List > |
Answer =>> < Select > |
|
[36] < asp : listitem > tag replaces which of the following HTML tags
|
(A) => < Option > |
(B) => < UL > |
(C) => < List > |
Answer =>> < Option > |
|
[37] The first event to be triggered in an aspx page is |
(A) => Page_Load() |
(B) => Page_Init() |
(C) => Page_click() |
Answer =>> Page_Init() |
|
[38] Postback occurs in which of the following forms |
(A) => Winforms |
(B) => HTMLForms |
(C) => Webforms |
Answer =>> Webforms |
|
[39] what namespace does the Web page belong in the .NET Framework class hierarchy? |
(A) => System.web.UI.Page |
(B) => System.Windows.Page |
(C) => System.Web.page |
Answer =>> System.web.UI.Page |
|
[40] Which method do you invoke on the Data Adapter control to load your generated dataset |
(A) => Fill ( ) |
(B) => ExecuteQuery ( ) |
(C) => Read ( ) |
Answer =>> Fill ( ) |
|
[41] How many configuration files can an ASP.NET projects have? |
(A) => More Than One |
(B) => One |
(C) => None |
Answer =>> One |
|
[42] How do you register a user control?
|
(A) => Add Tag prefix, Tag name |
(B) => Add Source, Tag prefix |
(C) => Add Src, Tagprefix, Tagname |
Answer =>> Add Src, Tagprefix, Tagname |
|
[43] Which of the following is true ? |
(A) => User controls are displayed correctly in the Visual Studio .NET Designer |
(B) => Custom controls are displayed correctly in VS.Net Designer |
(C) => User and Custom controls are displayed correctly in the Visual Studio .NET Designer |
Answer =>> Custom controls are displayed correctly in VS.Net Designer |
|
[44] Can a dll run as stand alone application ? |
(A) => No |
(B) => Yes |
(C) => Sometimes we can make it by introducing some code |
Answer =>> No |
|
[45] To add a custom control to a Web form we have to register with |
(A) => TagPrefix |
(B) => Name space of the dll that is referenced |
(C) => All of the above |
Answer =>> All of the above |
|
[46] Custom Controls are derived from which of the classes |
(A) => System.Web.UI.Customcontrols.Webcontrol |
(B) => System.Web.UI.Customcontrol |
(C) => System.Web.UI.Webcontrol |
Answer =>> System.Web.UI.Webcontrol |
|
[47] A web application running on multiple servers is called as |
(A) => Webfarm |
(B) => WebForm |
(C) => Website |
Answer =>> Webfarm |
|
[48] What is the transport protocol used to call a webservice |
(A) => HTTP |
(B) => SOAP |
(C) => TCP |
Answer =>> SOAP |
|
[49] How ASP.Net Different from ASP |
(A) => Scripting is separated from the HTML, Code is interpreted seperately |
(B) => Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on server |
(C) => Code is separated from the HTML and interpreted Code is interpreted separately |
Answer =>> Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on server |
|
[50] What’s the difference between Response.Write() andResponse.Output.Write()? |
(A) => Response.Output.Write() allows you to flush output |
(B) => Response.Output.Write() allows you to buffer output |
(C) => Response.Output.Write() allows you to write formatted output |
Answer =>> Response.Output.Write() allows you to write formatted output |
|
[51] Why is Global.asax is used |
(A) => Implement application and session level events |
(B) => Declare Global variables |
(C) => No use |
Answer =>> Implement application and session level events |
|
[52] There can be more than 1 machine.config file in a system |
(A) => True |
(B) => False |
(C) => None |
Answer =>> True |
|
[53] What is the extension of a web user control file ?
|
(A) => .Asmx |
(B) => .Ascx |
(C) => .Aspx |
Answer =>> .Ascx |
|
[54] What is the default session out time |
(A) => 20 Sec |
(B) => 20 Min |
(C) => 1 hr |
Answer =>> 20 Min |
|
[55] Which of the following is true ? |
(A) => IsPostBack is a method of System.UI.Web.Page class |
(B) => IsPostBack is a method of System.Web.UI.Page class |
(C) => IsPostBack is a readonly property of System.Web.UI.Page class |
Answer =>> IsPostBack is a readonly property of System.Web.UI.Page class |
|
[56] It is possible to set Maximum length for a text box through code |
(A) => True |
(B) => False |
(C) => None |
Answer =>> True |
|
[57] The number of forms that can be added to a aspx page is |
(A) => 2 |
(B) => 3 |
(C) => 1 |
Answer =>> 1 |
|
[58] How do you manage states in asp.net application |
(A) => Session Objects |
(B) => application Objects |
(C) => All the Above |
Answer =>> All the Above |
|
[59] The interface used by ASP.Net to create Unique Id’s? |
(A) => AppDomainsetup |
(B) => System.UI.Naming.Container |
(C) => IAsyncResult |
Answer =>> System.UI.Naming.Container |
|
[60] Which property of the session object is used to set the local identifier ? |
(A) => SessionId |
(B) => LCID |
(C) => Item |
Answer =>> LCID |
|
[61] Select the caching type supported by ASP.Net |
(A) => Output Caching |
(B) => DataCaching |
(C) => Both |
Answer =>> Both |
|
[62] Where is the default Session data is stored in ASP.Net |
(A) => InProcess |
(B) => StateServer |
(C) => SQL Server |
Answer =>> InProcess |
|
[63] How do you disable client side validation ? |
(A) => Set the language property to C# |
(B) => Set the Runat property to server |
(C) => Set the ClientTarget property to Downlevel |
Answer =>> Set the ClientTarget property to Downlevel |
|
[64] Select the validation control used for “PatternMatching”
|
(A) => FieldValidator |
(B) => RangeValidator |
(C) => RegularExpressionValidator |
Answer =>> RegularExpressionValidator |
|
[65] How do you trace the application_End event on runtime? |
(A) => By Debugging |
(B) => By Tracing |
(C) => Can not be done |
Answer =>> Can not be done |
|
[66] Who can access Session state variables |
(A) => All Users of an application |
(B) => A Single session |
(C) => All users within a single tunnel |
Answer =>> A Single session |
|
[67] Select the type Processing model that asp.net simulate |
(A) => Event-driven |
(B) => Static |
(C) => Linear |
Answer =>> Event-driven |
|
[68] Does the “EnableViewState” allows the page to save the users input on a form |
(A) => Yes |
(B) => No |
(C) => None |
Answer =>> Yes |
|
[69] Web Controls Supports CSS |
(A) => True |
(B) => False |
(C) => None |
Answer =>> True |
|
[70] Session Object classes are defined in which of the following namespace?
|
(A) => System.Web.UI |
(B) => System.Web.SessionState |
(C) => System.Web |
Answer =>> System.Web.SessionState |
|
[71] Which DLL translate XML to SQL in IIS |
(A) => SQLISAPI.dll |
(B) => SQLXML.dll |
(C) => LISXML.dll |
Answer =>> SQLISAPI.dll |
|
[72] What is the default authentication mode for IIS |
(A) => Windows |
(B) => Anonymous |
(C) => Basic Authentication |
Answer =>> Anonymous |
|
[73] Which of the following is not a valid state management tool? |
(A) => Querystate |
(B) => Hidden Form Field |
(C) => Application State |
Answer =>> Querystate |
|
[74] What is the maximum number of cookies that can be allowed to a web site |
(A) => 1 |
(B) => 20 |
(C) => 10 |
Answer =>> 20 |
|
[75] Select the control which does not have any visible interface |
(A) => Datalist |
(B) => DropdownList |
(C) => Repeater |
Answer =>> Repeater |
|
[76] How do you explicitly kill a user’s session ? |
(A) => Session.Close ( ) |
(B) => Session.Discard ( ) |
(C) => Session.Abandon |
Answer =>> Session.Abandon |
|
[77] Why do we use XMLSerializer class |
(A) => Remoting |
(B) => WebServices |
(C) => Xml documentary Files |
Answer =>> WebServices |
|
[78] What does Response.End will do? |
(A) => It will stop the server process |
(B) => It will stop the client process |
(C) => None of the above |
Answer =>> It will stop the server process |
|
[79] Which control supports paging |
(A) => Repeater |
(B) => Datagrid |
(C) => Both |
Answer =>> Datagrid |
|
[80] Where do you store the information about the user locale |
(A) => System.Web.UI.Page.Culture |
(B) => System.web |
(C) => System.Drawing |
Answer =>> System.Web.UI.Page.Culture |
|
[81] What is the purpose of code behind ? |
(A) => To separate different sections of a page in to different files |
(B) => To merge HTML layout and code in to One file |
(C) => To separate HTML Layout and code to different file |
Answer =>> To separate HTML Layout and code to different file |
|
[82] What is a satallite assembly ? |
(A) => Any DLL file used by an EXE file. |
(B) => An Assembly containing localized resources for another assembly |
(C) => None of the above |
Answer =>> An Assembly containing localized resources for another assembly |
|
[83] Which of the following is not a member of Response Object? |
(A) => Clear |
(B) => Write |
(C) => Execute |
Answer =>> Execute |
|
[84] Which of the following is not a member of ADODBCommand object |
(A) => ExecuteReader |
(B) => ExecuteScalar |
(C) => Open |
Answer =>> Open |
|
[85] Which method do you invoke on the DataAdapter control to load your generated dataset with data? |
(A) => Fill |
(B) => Load |
(C) => GetAll |
Answer =>> Fill |
|
[86] How to open more than one datareader at a time |
(A) => Use different datareader variable |
(B) => Use different datareader and connection variable |
(C) => Can not be done |
Answer =>> Use different datareader and connection variable |
|
[87] What is the advantage of Disconnected mode of ADO.Net in ASP.Net |
(A) => Automatically dump data at client PC |
(B) => Not necessary to connect with server |
(C) => user data can update and retrieve in dataset and when connection connected, update values with server |
Answer =>> user data can update and retrieve in dataset and when connection connected, update values with server |
|
[88] Which objects is used to create foreign key between tables? |
(A) => DataRelation |
(B) => DataRelationship |
(C) => DataConstraint |
Answer =>> DataRelation |
|
[89] Which one of the following namespaces contains the definition for IdbConnection |
(A) => System.Data.Interfaces |
(B) => System.Data.Common |
(C) => System.Data |
Answer =>> System.Data |
|
[90] Select the Interface which provides Fast, connected forward-only access to data |
(A) => IdataRecord |
(B) => Idatabase |
(C) => IdataReader |
Answer =>> IdataReader |
|
[91] How do we Delete, Update, Select data in a Dataset |
(A) => Using SQLDataAdapter |
(B) => Using SQLDataReader |
(C) => None |
Answer =>> Using SQLDataAdapter |
|
[92] Which of the following is not a member of ConnectionObject |
(A) => Execute |
(B) => EndTransaction |
(C) => BeginTransaction |
Answer =>> Execute |
|
[93] Is it Possible to Serialize HashTable with XMLSerializer |
(A) => Yes |
(B) => No |
(C) => None |
Answer =>> Yes |
|
[94] What is the Full Form of WSDL |
(A) => Web System Description Language |
(B) => Web Service Description Language |
(C) => None |
Answer =>> Web Service Description Language |
|
[95] What is the difference between Server.Transfer & Response.Redirect |
(A) => No Difference |
(B) => Server.Transfer needs a roundtrip, Response.Redirect does not |
(C) => Response.Redirect needs roundtrip, Server.Transfer does not |
Answer =>> Response.Redirect needs roundtrip, Server.Transfer does not |
|
[96] Which Language can Support SOAP |
(A) => VB |
(B) => JAVA |
(C) => All of the above |
Answer =>> All of the above |
|
[97] What is the size of the session ID |
(A) => 32 bit long string |
(B) => 32 bit long double |
(C) => 32 bit long integer |
Answer =>> 32 bit long integer |
|
[98] Which of the following extension does a webservice file will have |
(A) => .Asmx |
(B) => .Aspx |
(C) => .Ascx |
Answer =>> .Asmx |
|
[99] What is a strong name? |
(A) => Public Key |
(B) => Combination Of both Public,Private key and digital signature |
(C) => Private Key |
Answer =>> Combination Of both Public,Private key and digital signature |
|
[100] What is the purpose of Reflection? |
(A) => For Reading metadata at runtime |
(B) => For knowing version of assembly |
(C) => For finding path of an assembly |
Answer =>> For Reading metadata at runtime |
|
[101] Is it possible edit data in a repeater control |
(A) => No |
(B) => Yes |
(C) => None |
Answer =>> No |
|
[102] Why is Global.asax is used for ? |
(A) => To implement application & Session level events |
(B) => To store configuration information |
(C) => To store styling information |
Answer =>> To implement application & Session level events |
|
[103] What is a diffgram ? |
(A) => The one which renders the dataset object contents to XML |
(B) => Finds the difference in two objects |
(C) => Finds the difference in two filesq |
Answer =>> The one which renders the dataset object contents to XML |
|
[104] What is the lifespan for items stored in viewstate |
(A) => Exists for the Life of the current page |
(B) => 20 mins |
(C) => 2 mins |
Answer =>> Exists for the Life of the current page |
|
[105] What data types do a Rangevalidator supports |
(A) => Integer |
(B) => String |
(C) => All of the above |
Answer =>> All of the above |
|
[106] Select the output of the statement < form method=post action=”test.aspx” >
|
(A) => Transfers all the form data to test.aspx with HTTP headers |
(B) => Transfers all the form data to test.aspx with out HTTP headers |
(C) => Calls post method on test.aspx |
Answer =>> Transfers all the form data to test.aspx with HTTP headers |
|
[107] What is the out put of the following code byte a=200; byte b=100; byte c=a+b; Response.Write ( C ); |
(A) => Run time Error |
(B) => Compile Time error |
(C) => 300 |
Answer =>> Compile Time error |
|
[108] What is the out put of Following code String a=”Hello”; String b=”World” String c= a+b Response.Write ( “C “); |
(A) => Hello world |
(B) => C |
(C) => A+b |
Answer =>> C |
|
[109] Whats the significance of Request.MapPath( ) |
(A) => Maps the specified virtual path to a physical path |
(B) => Maps the specified absolute path to virtual path |
(C) => None |
Answer =>> Maps the specified virtual path to a physical path |
|
[110] Which of the following are not a member of Server Object |
(A) => Execute |
(B) => Transfer |
(C) => Open |
Answer =>> Open |
|
[111] What is the significance of Server .MapPath |
(A) => Returns the physical file path that corresponds to virtual specified path |
(B) => Returns the Virtual Path of the web folder |
(C) => Maps the specified virtual path to Physical path |
Answer =>> Returns the physical file path that corresponds to virtual specified path |
|
[112] What is the Server.MachineName does |
(A) => Gets the Server’s Machine Name |
(B) => Gets the Referred Web site name on the server |
(C) => Gets the Client Machine Name |
Answer =>> Gets the Server’s Machine Name |
|
[113] Whats is the significance of Response.ClearHeaders( ) |
(A) => Clears all Headers from the buffer stream |
(B) => Clears all the section value from rendered HTML File |
(C) => Clears the content of the Rendered page |
Answer =>> Clears all Headers from the buffer stream |
|
[114] What is the significance of Response.AddHead |
(A) => Adds HTTP Headers to output stream |
(B) => Adds Tag to rendered Page |
(C) => Add Headers to the web site |
Answer =>> Adds HTTP Headers to output stream |
|
[115] What is the difference between HTTP handlers & HTTP modules |
(A) => Httphandler is an class and Httpmodule is an assembly |
(B) => Httphandler is an event handler and httpmodule is module to do some task |
(C) => Both of the above |
Answer =>> Httphandler is an class and Httpmodule is an assembly |
|
[116] Which namespace allows us to formauthentication ? |
(A) => System.Web.Ui.Forms.Security |
(B) => System.Web.Security |
(C) => System.Web.Configuration |
Answer =>> System.Web.Security |
|
[117] Which method displays the custom control |
(A) => The Prerender |
(B) => Render |
(C) => Page_Load |
Answer =>> Render |
|
[118] When is the user controls code is executed |
(A) => After the webform loads |
(B) => After the page_init event of webform |
(C) => Before Page_init event of web form |
Answer =>> After the webform loads |
|
[119] Client Sertificate is a collection of |
(A) => Server |
(B) => Response |
(C) => Request |
Answer =>> Request |
|
[120] What section of the config.Web file is used for storing a list of authorized users? |
(A) => authorization |
(B) => authentication |
(C) => securityPolicy |
Answer =>> authorization |
|
[121] How do you add ASP.Net 3rd party component |
(A) => By add/Remove items in the project menu |
(B) => Add reference of dll file and place the code where ever required |
(C) => Cannot add 3rd party component to asp.net |
Answer =>> Add reference of dll file and place the code where ever required |
|
[122] The .NET Framework provides a runtime environment called |
(A) => RMT |
(B) => CLR |
(C) => RCT |
Answer =>> CLR |
|
[123] In ASP.NET in form page the object which contains the user name is |
(A) => Page.User.Identity |
(B) => Page.User.IsInRole |
(C) => Page.User.Name |
Answer =>> Page.User.Identity |
|
[124] Find the term: The .NET framework which provides automatic memory management using a technique called
|
(A) => Serialization |
(B) => Garbage Collection |
(C) => Assemblies |
Answer =>> Garbage Collection |
|
[125] Which of the following denote ways to manage state in an ASP.Net Application? |
(A) => Session objects |
(B) => Application objects |
(C) => All the Above |
Answer =>> All the Above |
|
[126] What is the base class from which all Web forms inherit? |
(A) => Master Page |
(B) => Page Class |
(C) => Session Class |
Answer =>> Page Class |
|
[127] WSDL stands for |
(A) => Web Server Description Language |
(B) => Web Server Descriptor Language |
(C) => Web Services Description Language |
Answer =>> Web Services Description Language |
|
[128] Which of the following must be done in order to connect data from some data resource to Repeater control? |
(A) => Set the DataSource property |
(B) => Call the DataBind method |
(C) => Both |
Answer =>> Both |
|
[129] Which of the following is FALSE? |
(A) => ASP.NET applications run without a Web Server |
(B) => ASP+ and ASP.NET refer to the same thing |
(C) => None of the Above |
Answer =>> None of the Above |
|
[130] Which of the following transfer execution directly to another page? |
(A) => Server.Transfer |
(B) => Response.Redirect |
(C) => Both |
Answer =>> Server.Transfer |
|
[131] If one has two different web form controls in a application and if one wanted to know whether the values in the above two different web form control match what control must be used? |
(A) => DataList |
(B) => GridView |
(C) => CompareValidator |
Answer =>> CompareValidator |
|
[132] Which of the following is used to send email message from my ASP.NET page? |
(A) => System.Web.Mail.MailMessage |
(B) => System.Web.Mail.SmtpMail |
(C) => Both |
Answer =>> Both |
|
[133] In my .NET Framework I have threads. Which of the following denote the possible priority level for the threads? |
(A) => Normal |
(B) => AboveNormal |
(C) => All the Above |
Answer =>> All the Above |
|
[134] GIVE ONE WORD: In .NET the operation of reading metadata and using its contents is known as |
(A) => Reflection |
(B) => Enumeration |
(C) => Binding |
Answer =>> Reflection |
|
[135] In ASP.NET the < authorization > section contain which of the following elements |
(A) => Both A and B |
(B) => < deny > |
(C) => < allow > |
Answer =>> Both A and B |
|
[136] Suppose one wants to modify a SOAP message in a SOAP extension then how this can be achieved. Choose the correct option from below: |
(A) => One must override the method ReceiveMessage |
(B) => One must override the method InitializeMethod |
(C) => Both |
Answer =>> One must override the method ReceiveMessage |
|
[137] Which of the following can be used to add alternating color scheme in a Repeater control? |
(A) => AlternatingItemTemplate |
(B) => DataSource |
(C) => ColorValidator |
Answer =>> AlternatingItemTemplate |
|
[138] Suppose a .NET programmer wants to convert an object into a stream of bytes then the process is called |
(A) => Serialization |
(B) => Threading |
(C) => RCW |
Answer =>> Serialization |
|
[139] The technique that allow code to make function calls to .NET applications on other processes and on other machines is |
(A) => .NET Threading |
(B) => .NET Remoting |
(C) => .NET RMT |
Answer =>> .NET Remoting |
|
[140] The namespace within the Microsoft .NET framework which provides the functionality to implement transaction processing is
|
(A) => System.EnterpriseServices |
(B) => System.Security |
(C) => System.Diagnostics |
Answer =>> System.EnterpriseServices |
|
[141] Which of the following method is used to obtain details about information types of assembly? |
(A) => GetTypes |
(B) => GetType |
(C) => Both |
Answer =>> Both |
|
[142] In ASP.NET the sessions can be dumped by using |
(A) => Session.Dump |
(B) => Session.Abandon |
(C) => Session.Exit |
Answer =>> Session.Abandon |
|
[143] Which of the following is TRUE about Windows Authentication in ASP.NET? |
(A) => Automatically determines role membership |
(B) => Role membership determined only by user programming |
(C) => ASP.NET does not support Windows Authentication |
Answer =>> Automatically determines role membership |
|
[144] Which method do you invoke on the DataAdapter control to load your generated dataset with data?) |
(A) => Load ( ) |
(B) => Fill( ) |
(C) => DataList |
Answer =>> Fill( ) |
|
[145] What tags one need to add within the asp:datagrid tags to bind columns manually? |
(A) => Set AutoGenerateColumns Property to false on the datagrid tag |
(B) => Set AutoGenerateColumns Property to true on the datagrid tag |
(C) => It is not possible to do the operation |
Answer =>> Set AutoGenerateColumns Property to false on the datagrid tag |
|
[146] How many classes can a single .NET DLL contain? |
(A) => 1 |
(B) => 2 |
(C) => many |
Answer =>> many |
|
[147] Which of the following denote the property in every validation control? |
(A) => ControlToValidate property |
(B) => Text property |
(C) => Both |
Answer =>> Both |
|
[148] Which of the following allow writing formatted output? |
(A) => Response.Write() |
(B) => Response.Output.Write() |
(C) => Both |
Answer =>> Response.Output.Write() |
|
[149] The actual work process of ASP.NET is taken care by |
(A) => inetinfo.exe |
(B) => aspnet_isapi.dll |
(C) => aspnet_wp.exe |
Answer =>> aspnet_wp.exe |
|
[150] The type of code found in Code-Behind class is |
(A) => Server-side code |
(B) => Client-side code |
(C) => Both |
Answer =>> Server-side code |
|
[151] Give One word: Common type system is built into which of the following: |
(A) => CLR |
(B) => RCT |
(C) => RCW |
Answer =>> CLR |
|