Time remaining
:
:
Test Status
ASPRANDOMTEST
Ques 1 :
What is the default session out time
(A) 20 Sec
(B) 20 Min
(C) 1 hr
(D) None of the above
Ques 2 :
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
Ques 3 :
__________________ is the Microsoft IIS server running, handling ASP.NET requests among other things
(A) aspnet_isapi.dll
(B) aspnet_wp.exe
(C) inetinfo.exe
(D) None
Ques 4 :
Choose the form in which Postback occur?
(A) HTMLForms
(B) Webforms
(C) Winforms
Ques 5 :
Custom Controls are derived from which of the classes
(A) System.Web.UI.Webcontrol
(B) System.Web.UI.Customcontrol
(C) System.Web.UI.Customcontrols.Webcontrol
Ques 6 :
In ASP, a request object retrieves info from a user by ________.
(A) a collection of values sent as cookies in a HTTP header
(B) a collection of data sent with a submitted form
(C) from client variables described from within an object
(D) A and B
Ques 7 :
Which one of the following is to be implemented for .NET remote server object?
(A) ISerializable
(B) ISingleCall
(C) IUnknown
(D) IMarshalByValue
Ques 8 :
Which one of the following namespaces contains the definition for IdbConnection?
(A) System.Data.Interfaces
(B) System.Data.Common
(C) System.Data
(D) System.Data.Connection
Ques 9 :
ASP code is....
(A) a client-side executable code.
(B) a world-wide-web executable code.
(C) a server-side executable code.
(D) all of the above.
Ques 10 :
In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?
(A) Use the ImageMap control and randomly select a HotSpot to show or hide.
(B) Use the Image control to hold the image and a Calendar control to randomly select a date for each image to be displayed.
(C) Use the AdServer control and create an XML file with configuration of the control.
(D) Use an ImageButton control to predict randomness of the image to be loaded based on the clicks of the control.
Ques 11 :
Which statement among the ones below is correct
(A) The Params and Forms collection of the HTTPRequest class are exactly same and theForms collection has been provided only for backward compatibility
(B) The HTTPRequest class does include the Params collection
(C) The HTTPRequest class does include the Forms collection
(D) The difference between the Params and Forms collection of the HTTPRequest class is that the Params collection also represents QueryStrings, ServerVariables, andCookies
Ques 12 :
Which Kind Of data we can store in viewstate
(A) Viewstate can store anything
(B) Viewstate can store onlys string
(C) Viewstate can store only serilizable object
(D) None
Ques 13 :
______________ is the DataType return in IsPostback property.
(A) bit
(B) boolean
(C) int
(D) string
Ques 14 :
Which of the following is used to cache multiple responses for a single web form based on HTTP POST parameter or query string?
(A) VaryByParams
(B) VaryByHeaders
(C) SetCacheability
(D) SetVaryByCustom
Ques 15 :
The first event to be triggered in an aspx page is.
(A) Page_Load()
(B) Page_Init()
(C) Page_click()
Ques 16 :
ASP is which?
(A) Client-side executable code(executes at the browser level)
(B) Server side executable code (runs at the server only)
Ques 17 :
A feature of ASP is its ability to interact with a database. Which of these databases is the most popular to use with ASP?
(A) dBase
(B) Delimited text files
(C) Access (97 or 2000)
(D) Excel spreadsheets
Ques 18 :
Which of the following is the performance attributes of processModel?
(A) requestQueue limit
(B) maxWorkerThreads
(C) maxIdThreads
(D) All
Ques 19 :
Difference between Response.Write() andResponse.Output.Write().
(A) Response.Output.Write() allows you to buffer output
(B) Response.Output.Write() allows you to write formatted output
(C) Response.Output.Write() allows you to flush output
(D) Response.Output.Write() allows you to stream output
Ques 20 :
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
Submit Answer
Don't Refresh the Page !! ...