Time remaining
:
:
Test Status
ASPRANDOMTEST
Ques 1 :
Which of the following languages can be used to write server side scripting in ASP.NET?
(A) C-sharp
(B) VB
(C) C++
(D) a and b
Ques 2 :
What happens when a user types in a URL that requests an ASP page?
(A) Browser requests ASP code, server returns code, browser executes code into HTML form
(B) Browser requests ASP code, server executes ASP code and returns HTML document to browser
(C) Browser requests code, server returns code, Windows executes code since ASP is Microsoft code.
Ques 3 :
_____is a property common in every validation control.
(A) ValidationExpression
(B) InitialValue
(C) ControlToValidate
(D) ControlToCompare
Ques 4 :
You need to store state data that is accessible to any user who connects to your Web application. Which object should you use?
(A) Session
(B) Application
(C) Response.ViewState
(D) Response.Cookies
Ques 5 :
______________ is the DataType return in IsPostback property.
(A) bit
(B) boolean
(C) int
(D) string
Ques 6 :
How ASP.Net Different from classic 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
Ques 7 :
Which of the following control is used to validate that two fields are equal?
(A) RegularExpressionValidator
(B) CompareValidator
(C) equals() method
(D) RequiredFieldValidator
Ques 8 :
What is the sequential procedure in working with databases?
(A) Connection string, connection object, close connection string, close connection object
(B) Connection object, connection string, close connection string, close connection object
(C) Connection object, connection string, close connection object, close connection string
Ques 9 :
Client Sertificate is a collection of
(A) Server
(B) Response
(C) Collection
(D) Request
Ques 10 :
Why is Global.asax is used?
(A) Declare Global variables
(B) Implement application and session level events
(C) No use
Ques 11 :
Which of the following base class do all Web Forms inherit from?
(A) Window class
(B) Web class
(C) Form class
(D) Page class
Ques 12 :
It is imperative when writing ASP code is to begin every file with which statement?
(A) <% Language=VBScript %>
(B) <%@ Language=VBScript %>
(C) <% ASPLanguage = VBScript %>
Ques 13 :
Default scripting language in ASP?
(A) EcmaScript
(B) VBScript
(C) PERL
(D) JavaScript
Ques 14 :
Select the caching type supported by ASP.Net
(A) Output Caching
(B) DataCaching
(C) a and b
(D) none of the above
Ques 15 :
How do we Delete, Update, Select data in a Dataset
(A) Using SQLDataAdapter
(B) Using SQLDataReader
(C) Using SQLCommand
(D) None
Ques 16 :
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.
Ques 17 :
What is a connection string?
(A) Specifies whether to use a DSN or DSN-less connection
(B) Specifies which type of database is being used
(C) Specifies the type of ODBC driver to use, database format and filename
(D) Opens the initial connection to a database
Ques 18 :
When an .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
(D) JSP
Ques 19 :
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 20 :
How to find out what version of ASP.NET I am using on my machine?
(A) Response.Write(System.Environment.Version.ToString() );
(B) Response.Write(Version.ToString() );
(C) Response.Write(System.Version.ToString() );
(D) not possible
Submit Answer
Don't Refresh the Page !! ...