Monday, 10 November 2014

ASP DOTNET MCQ INTERVIEW QUESTIONS PART 4

46) 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) Assemblyname
              d) All of the above (ANS)

47) 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 (ANS)




48) A web application running on multiple servers is called as 
               a) Webfarm (ANS)
               b) WebForm
               c) Website

49) What is the transport protocol used to call a webservice
              a) HTTP
              b) SOAP (ANS)
              c) TCP
              d) SMTP

50) 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 (ANS)
              c) Code is separated from the HTML and interpreted Code is interpreted separately

51) 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 (ANS)
              d) Response.Output.Write() allows you to stream output

52) Why is Global.asax is used 
               a) Implement application and session level events (ANS)
               b) Declare Global variables
               c) No use

53) There can be more than 1 machine.config file in a system
               a) True (ANS)
               b) False

54) What is the extension of a web user control file ?
               a) .Asmx
               b) . Ascx (ANS)
               c) .Aspx

55) What is the default session out time
               a) 20 Sec
               b) 20 Min (ANS)
               c) 1 hr
<PREV>                                                                                                                          <NEXT>

4 comments:

Popular Posts