Sunteți pe pagina 1din 12

What is the transport protocol used to call a web service? Ans. Http. Soap. Tcp. Smtp.

Which namespace consists a minimum a complete set of type needed to built a webservice? Ans. System.web.services

What is the difference between Response.write() & Response.output.write()? Ans. Output.write allow to write formatted output. Which namespace allows us interrupt with wsdl programmatically? Ans. System.Web.Service.Description

What is the maximum number of cookie?

Ans.

20

What method of xml dom model will you use to delete a note from a xml doc? Ans. Remove child.

7.How do you disable client site validation? Ansto . Set pages client target property Downlevel . 8.What is the difference between Server.Transfer and Response.Redirect? Ans. Response.Redirect needs roundtrip. Server.Transfer does not.

9. Which control supports paging Repeater Datagrid Both None 10. What is the working of Response.End? It will stop the client process It will stop the server process Both

None 11. Which of this is not a member of the System.Web.Services namespace? Web attribute. WebServiceBindingAttribute WebMethodAttribute WebServiceAttribute 12. If a user has cookies enable session variable is available to all page in one application? True False 13. Select the control which does not have any inbuilt interface: Ans. gridview textbox Repeater. listbox 14. Why do we use XMLSerializer class Remoting WebServices Xml documentary Files none 15. How do you explicitly kill a users session ? Session.Close ( ) Session.Discard ( ) Session.Abandon() Session.End()

16. What is the maximum number of cookies that can be allowed to a web site 30 20 1 10 17. Which of the following is not a valid state management tool? Querystate Hidden Form Field Application State Cookies 18. What is the default authentication mode for IIS Windows Anonymous Basic Authentication None 19. Which DLL translate XML to SQL in IIS SQLXML.dll LISXML.dll SQLISAPI.dll SQLIIS.dll 20. Session Object classes are defined in which of the following namespace? System.Web.UI System.Web.SessionState System.Web NONE

21. Web Controls Supports CSS YES NO 21. Does the EnableViewState allows the page to save the users input on a form YES NO 22. Select the type Processing model that asp.net belongs Event-driven Static Linear TopDown 23. Who can access Session state variables All Users of an application A Single user All users within a single tunnel NONE 24. How do you trace the application_End event on runtime? By Debugging Can not be done By Tracing NONE 25. .<%=> is same as : Ans. Document.Write().

RESPONSE.WRITE() RESPONSE.END() RESPONSE.CLEAR() 26. How do you disable client side validation ? Set the language property to C# Set the Runat property to server Set the ClientTarget property to Downlevel Set the inherits property to codeb 27. Default Session data is stored in ASP.Net StateServer InProcess SQL Server All of the above 28. Which property of the session object is used to set the local identifier ? SessionId LCID Item Key 29. The interface used by ASP.Net to create Unique Ids? AppDomainsetup System.UI.Naming.Container IAsyncResult customFormatter 30. How many form can be added to a aspx page is 1

2 3 More Than 3 31. It is possible to set Maximum length for a text box through code true false 32. What is the default session timeout? 20 min 20 sec 20 hr none 33. What is the extension of a web user control file ? .aspx .asmx .ascx .ashx 34. Is it possible to have more than 1 machine.config file in a system true false. 35. For what purpose we use Global.asax file Implement application and session level events Declare Global variables No use None

36. How ASP.Net Differs from ASP Scripting is separated from the HTML, Code is interpreted seperately Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on Code is separated from the HTML and interpreted Code is interpreted separately none of the above 37. Which protocol used to call a webservice SOAP FTP SMTP HTTP 38. Custom Web Controls are derived from which of the classes System.Web.UI.Customcontrols.Webcontrol System.Web.UI.Customcontrol System.Web.UI.Webcontrol NONE 39. Which of the following is true ? User controls are displayed correctly in the web page Designer mode User and Custom controls are displayed correctly in web page Designer mode. Custom controls are displayed correctly in web page Designer mode NONE OF THE ABOVE 40. FULL FORM OF ASP, COM AND UDDI

41. We can directly give them the path of our webserver & deploy the DISCO file on the: CLIENT SERVER WEB SERVER NONE 42. The WSDL.exe utility generates ________code by default: c# VB C++ NONE 43. Which one of the event is a standard Global.asa EVENT? SESSION_START APPLICATION_ONSTART BOTH NONE 44. Which data type is allowed for Range Validator Date Number String All the above 45. Which namespace allows us to form authentication? System.Web.Security System.Web.forms.Security System.data none

46. Where do u store the information about the user locate? a. System.Web.UI.Page.Culture 47. uddi is a

a. program b. web service c. code d. none 48. What is the purpose of code-behind? a. To separate HTML layout and code to different file. Note :System.Web.Services: Namespace consists a minimal and complete set of types needed to build a Web service System.Web.Services.Description: This allows us to interact with WSDL programmatically System.Web.Services.Discovery: These types allow a consumer to discover the Web services installed on a given machine System.Web.Services.Protocols: This namespace defines a number of types that represents invocation protocols (HTTP-GET, HTTP-POST and SOAP)

48. Which .net Data Provider offers best

performance when connected to SQLServer Database ? OLEDB provider ODBC provider SQLServer .NET Data Provider SQLServer Data provider

49. Which of the following statements is true about Dataset ? Dataset can store only one table in its cache Dataset cannot store any tables in the cache Dataset stores tables in the cache,only when cache set to true Dataset can store multiple tables in cache

50. Which object of ado.net has the best performance,for retrieving the data DataSet DataReader Data Provider Dataadapter

51. Which of the following Namespace is used for better performance when connecting to SQLServer ? System.Data System.Data.SqlClient System.Data.OleDb System.Data.OracleClient

52. When we need to retrieve only a single value from the Database,which Method is efficient ExecuteReader() ExecuteScalar() ExecuteNonQuery() ExecuteXmlReader()

53. Which object in ADO.Net is similar to the Recordset object of ADO ? a. DataSet b. DataReader c. DataProvider d. DataAdaptor 54. Which of the following statement is true ? ADO.net is slower than Ado Ado.net is faster than ado on all counts of connected and disconnected recordsets Ado.net is faster than ADO for disconnected recordsets because under ADO, COM marshalling between tiers requires that values in a recordset be converted to values recognized by COM ADO.net is slower than Ado for disconnected recordsets because under Ado.net, COM marshalling between tiers requires that values in a recordset be converted to values recognized by COM

S-ar putea să vă placă și