Time remaining
:
:
Test Status
ASPTEST9
Ques 1 :
When writing ASP code, what are the correct delimiters to use?
(A) < code >
(B) <% code >
(C) <% code %>
Ques 2 :
________ method(s) are used with Application object to ensure only one process accesses a variable at a time.
(A) Synchronize
(B) ThreadLock
(C) Sychronize()
(D) Lock() and UnLock()
Ques 3 :
Which of these classes maps to the tag <input type="checkbox"/>
(A) HtmlCheckBox
(B) HtlmInputCheckBox
(C) HtmlControl
(D) None
Ques 4 :
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 5 :
Which one of the following is to be implemented for .NET remote server object?
(A) ISerializable
(B) ISingleCall
(C) IUnknown
(D) IMarshalByValue
Ques 6 :
The first event triggers in an aspx page is.
(A) Page_Load()
(B) Page_Init()
(C) Page_click()
Ques 7 :
In order to prevent a browser from caching a page which of these xstatements should be written?
(A) Response.Cache.SetNoStore();
(B) Response.Cache.SetNoServerCaching();
(C) Response.Cache.SetNoCaching();
(D) None of these
Ques 8 :
Database connectivity with ADO has 3 main objects:
(A) ADODB.Connection
(B) ADODB.Recordset
(C) ADODB.Command
(D) All of the above
Ques 9 :
________ is the DataType return in IsPostback property.
(A) boolean
(B) int
(C) object
(D) string
Ques 10 :
Which of the following method must be overridden in a custom control?
(A) The Paint() method
(B) The Control_Build() method
(C) The default constructor
(D) The Render() method
Ques 11 :
Which of these data source controls do not implement Caching?
(A) ObjectDataSource
(B) SqlDataSource
(C) LinqDataSource
(D) XmlDataSource
Ques 12 :
What is the sequential procedure in working with databases?
(A) Open the database, interact with the db, close the database
(B) Open a connection, interact with the db, close the connection
Ques 13 :
____________ is the Microsoft IIS server running, handling ASP.NET requests among other things
(A) aspnet_isapi.dll
(B) inetinfo.exe
(C) aspnet_wp.exe
Ques 14 :
How do we create a FileSystemObject?
(A) Server.CreateObject("Scripting.FileSystemObject")
(B) Create("FileSystemObject")
(C) Create Object:"Scripting.FileSystemObject"
(D) ans.Server.CreateObject("Scripting.FileSystemObject")
Ques 15 :
ActiveX Data Objects (ADO) comes installed with ASP and allows your pages to easily connect to databases. Which two ADO objects are used to open a connection and interact with the database?
(A) Connection object, RecordingSet object
(B) Connection object, Recordset object
(C) Connect object, RecordingSet object
(D) Connect object, Recordset object
Ques 16 :
What is the name of the property of ASP.NET page that you can query to determine that a ASP.NET page is being requested not data being submitted to web server?
(A) FirstGet
(B) Initialized
(C) IncludesData
(D) IsPostBack
Ques 17 :
Which of the following tool is used to manage the GAC?
(A) RegSvr.exe
(B) GacUtil.exe
(C) GacSvr32.exe
(D) GacMgr.exe
Ques 18 :
What is a connection object?
(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 driver to use, database format and filename
(D) First opens the initial connection to a database before giving any database information
Ques 19 :
For separating server-side code from client-side code on a ASP.NET page, what programming model should you use?
(A) Separation model
(B) Code-Behind model
(C) In-Line model
(D) ClientServer model
Ques 20 :
Attribute must be set on a validator control for the validation to work.
(A) ControlToValidate
(B) ControlToBind
(C) ValidateControl
(D) Validate
Submit Answer
Don't Refresh the Page !! ...