Time remaining
:
:
Test Status
ASPTEST10
Ques 1 :
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 2 :
To perform asynchronous data access, what must be added to the connection string?
(A) BeginExecute=true
(B) MultiThreaded=true
(C) MultipleActiveResultSets=true
(D) Asynchronous=true
Ques 3 :
Caching type supported by ASP.Net
(A) Output Caching
(B) DataCaching
(C) a and b
(D) none of the above
Ques 4 :
There are two methods of connecting to an Access database. Which are they?
(A) DNS, DNS-less
(B) DSN, DSN-less
(C) ODBC, ADO
(D) OLEDB, ADO
Ques 5 :
In the Design view in Visual Studio 2005 of an ASP.NET web page, what is the easiest way to create an event handler for the default event of a ASP.NET server control?
(A) Open the code-behind page and write the code.
(B) Right-click the control and select Create Handler.
(C) Drag an event handler from the ToolBox to the desired control.
(D) Double-click the control.
Ques 6 :
What is used to validate complex string patterns like an e-mail address?
(A) Extended expressions
(B) Basic expressions
(C) Regular expressions
(D) Irregular expressions
Ques 7 :
Which connection method requires a connection object?
(A) DSN
(B) DSN-less
(C) Both A and B
Ques 8 :
While writing code in Visual Studio 2005 you creates a new instance of a ASP.NET TextBox server control, what do you need to do to get the TextBox to display on the Web page?
(A) Call the ShowControl method on the TextBox.
(B) Add the TextBox instance to the form1.Controls collection.
(C) Execute the AddControl method on the Web page.
(D) Set the VisibleControl to true on the TextBox.
Ques 9 :
Default Session data is stored in ASP.Net.
(A) StateServer
(B) Session Object
(C) InProcess
(D) all of the above
Ques 10 :
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 11 :
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.Cookies
(D) Response.ViewState
Ques 12 :
Which of the following control is used to validate that two fields are equal?
(A) RegularExpressionValidator
(B) CompareValidator
(C) equals() method
(D) RequiredFieldValidator
Ques 13 :
What must your ASP code have if you are using the DSN method of connecting?
(A) Connection object
(B) Connection string
(C) Both A and B
Ques 14 :
What is the default value for the Method attribute in a ASP.NET server-side Form control
(A) GET
(B) POST
(C) SOAP
(D) SMTP
Ques 15 :
Which of the following is not the way to maintain state?
(A) View state
(B) Cookies
(C) Hidden fields
(D) Request object
Ques 16 :
While it is important to properly open the connection to the database, it is equally important to close the connection. Leaving a connection open is the same as leaving your house with the door open...Dim dbConn Set dbConn = Server.CreateObject("ADODB.Con
(A) True
(B) False
Ques 17 :
Which property allows ASP.NET controls to maintain their values when a page is posted to itself.
(A) EnableViewState
(B) MaintainValue
(C) SaveValue
(D) AutoPostBack
Ques 18 :
Which of the following is the performance attributes of processModel?
(A) requestQueue limit
(B) maxWorkerThreads
(C) maxIdThreads
(D) All
Ques 19 :
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 20 :
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
Submit Answer
Don't Refresh the Page !! ...