Time remaining
:
:
Test Status
ASPTEST5
Ques 1 :
In your ASP.NET web application you want to display a list of clients on a Web page. The client list displays 10 clients at a time, and you require the ability to edit the clients. Which Web control is the best choice for this scenario?
(A) The DetailsView control
(B) The Table control
(C) The GridView control
(D) The FormView control
Ques 2 :
Does the Enable View State allows the page to save the users input on a form?
(A) Yes
(B) No
Ques 3 :
Which of the following control is used to validate that two fields are equal?
(A) RegularExpressionValidator
(B) CompareValidator
(C) equals() method
(D) RequiredFieldValidator
Ques 4 :
Whats is the significance of Response.ClearHeaders( )
(A) Clears all Headers from the buffer stream
(B) Clears all the
section value from rendered HTML File
(C) Clears the content of the Rendered page
(D) None of the above
Ques 5 :
While developing ASP.NET 2.0 web application you have a Data Set containing a Customer Data Table and an Order Data Table. You want to easily navigate from an Order Data Row to the Customer who placed the order. What object will allow you to easily navigate from the Order to the Customer?
(A) The Data Column object
(B) The Data Table object
(C) The Data Row object
(D) The Data Relation object
Ques 6 :
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 7 :
Mode of storing ASP.NET session?
(A) InProc
(B) StateServer
(C) SQL Server
(D) All of the above
Ques 8 :
What is the Server.MachineName does
(A) Gets the Server's Machine Name
(B) Gets the Referred Web site name on the server
(C) Gets the Client Machine Name
(D) None of the above
Ques 9 :
How to implement authentication via web.config?
(A) Include the authentication element.
(B) Include the authorization element.
(C) Include the identity element.
(D) Include the deny element.
Ques 10 :
Select the control which does not have any visible interface.
(A) Datalist
(B) DropdownList
(C) Repeater
(D) Datagrid
Ques 11 :
Which of the following is not the way to maintain state?
(A) View state
(B) Cookies
(C) Hidden fields
(D) Request object
Ques 12 :
What is the out put of Following code String a="Hello"; String b="World" String c= a+b Response.Write ( "C ");
(A) Hello world
(B) C
(C) a+b
(D) None of the above
Ques 13 :
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 Tool Box to the desired control.
(D) Double-click the control.
Ques 14 :
Which of the following is not a member of ADODBCommand object?
(A) ExecuteReader
(B) ExecuteScalar
(C) ExecuteStream
(D) Open
Ques 15 :
______element in the web.config file to run code using the permissions of a specific user?
(A) < credential> element
(B) < authentication> element
(C) < identity> element
(D) < authorization> element
Ques 16 :
What is the extension of a web user control file ?
(A) .Asmx
(B) .Ascx
(C) .Aspx
Ques 17 :
While writing code in Visual Studio 2005 you creates a new instance of a ASP.NET Text Box server control, what do you need to do to get the Text Box to display on the Web page?
(A) Call the Show Control method on the Text Box.
(B) Set the Visible Control to true on the Text Box.
(C) Add the Text Box instance to the form1.Controls collection.
(D) Execute the AddControl method on the Web page.
Ques 18 :
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 19 :
Which of the following is the performance attributes of processModel?
(A) requestQueue limit
(B) maxWorkerThreads
(C) maxIdThreads
(D) All
Ques 20 :
What is a satellite assembly ?
(A) Any DLL file used by an EXE file.
(B) An Assembly containing localized resources for another assembly
(C) A and B
(D) None of the above
Submit Answer
Don't Refresh the Page !! ...