Tuesday, 11 November 2014

ASP DOTNET MCQ PART8

 111) Which of the following are not a member of Server Object
              a) Execute
              b) Transfer
              c) Open (ANS)
              d) HTMLDecode


  112) What is the significance of Server .MapPath
               a) Returns the physical file path that corresponds to virtual specified path (ANS)
               b) Returns the Virtual Path of the web folder
               c) Maps the specified virtual path to Physical path
               d) None

113) What is the Server.MachineName does
               a) Gets the Server’s Machine Name (ANS)
               b) Gets the Referred Web site name on the server
               c) Gets the Client Machine Name
               d) None

               

114)Whats is the significance of Response.ClearHeaders( )
              a) Clears all Headers from the buffer stream (ANS)
              b) Clears all the section value from rendered HTML File
              c) Clears the content of the Rendered page
              d) None of the above

115) What is the significance of Response.AddHeaders( )
               a) Adds HTTP Headers to output stream (ANS) 
               b) Adds Tag to rendered Page
               c) Add Headers to the web site

116) What is the difference between HTTP handlers & HTTP modules
               a) Httphandler is an class and Httpmodule is an assembly (ANS)
               b) Httphandler is an event handler and httpmodule is module to do some task
               c) Both of the above
               d) None of the above

117) Which namespace allows us to formauthentication ?
              a) System.Web.Ui.Forms.Security
              b) System.Web.Security
              c) System.Web.Configuration 
              d) System.Web.Services

118) Which method displays the custom control
               a) The Prerender
               b) Render (ANS)
               c) Page_Load
               d) Display

119) When is the user controls code is executed
               a) After the webform loads (ANS)
               b) After the page_init event of webform
               c) Before Page_init event of web form

120) Client Sertificate is a collection of
               a) Server
              b) Response
              c) Collection
              d) Request (ANS)


121) What section of the config.Web file is used for storing a list of authorized users?
               a) authorization (ANS)
               b) authentication
               c) securityPolicy
               d) None

122) 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 (ANS)
              c) Cannot add 3rd party component to asp.net

123) The .NET Framework provides a runtime environment called
               a) RMT
               b) CLR (ANS)
               c) RCT
               d) RC

124) In ASP.NET in form page the object which contains the user name is
              a) Page.User.Identity (ANS)
              b) Page.User.IsInRole
              c) Page.User.Name
              d) None of the Above

125) Find the term: The .NET framework which provides automatic memory management using a technique called
               a) Serialization
               b) Garbage Collection (ANS)
               c) Assemblies

               d) Overriding

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete

Popular Posts