Time remaining
:
:
Test Status
ASPRANDOMTEST
Ques 1 :
Which of the following object encapsulates the state of the client and the browser?
(A) Server object
(B) Request object
(C) Response object
(D) Session object
Ques 2 :
What information can a connection string contain about the database you are trying to connect to?
(A) Type of database
(B) Type of driver to use
(C) Location of database
(D) All Of The Above
Ques 3 :
Cache["dd"]="asp.net";
What is the time period of this Cache object?
(A) Infinite
(B) 0 seconds
(C) None of these
Ques 4 :
What is the best way to store the connection strings?
(A) Config files
(B) Database
(C) text file
(D) session
Ques 5 :
Select the type Processing model that asp.net simulate
(A) Event-driven
(B) Static
(C) Linear
(D) Topdown
Ques 6 :
What ASP.NET object encapsulates the state of the client and the browser?
(A) Application Object
(B) Session Object
(C) Response Object
(D) Request Object
Ques 7 :
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 8 :
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 >
Ques 9 :
< asp : listitem > tag replaces which of the following HTML tags
(A) < List >
(B) < UL >
(C) < Option >
Ques 10 :
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 11 :
Web.config file is used___
(A) Configures the time that the server-side codebehind module is called
(B) To store the global information and variable definitions for the application
(C) To configure the web server
(D) To configure the web browser
Ques 12 :
Choose the form in which Postback occur?
(A) HTMLForms
(B) Webforms
(C) Winforms
Ques 13 :
Which programming language is most commonly used to script ASP code?
(A) ASP
(B) JavaScript
(C) VBScript
(D) Perl
Ques 14 :
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 15 :
How do you get information from a form that is submitted using the "post" method?
(A) Request.QueryString
(B) Request.Form
(C) Response.write
(D) Response.writeln
Ques 16 :
__________________ 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 17 :
Caching type supported by ASP.Net
(A) Output Caching
(B) DataCaching
(C) a and b
(D) none of the above
Ques 18 :
What is the maximum number of cookies that can be allowed to a web site?
(A) 1
(B) 10
(C) 20
(D) More than 30
Ques 19 :
Attribute must be set on a validator control for the validation to work.
(A) ControlToValidate
(B) ControlToBind
(C) ValidateControl
(D) Validate
Ques 20 :
_____________is a property common in every validation control.
(A) ValidationExpression
(B) InitialValue
(C) ControlToCompare
(D) ControlToValidate
Submit Answer
Don't Refresh the Page !! ...