ASP.Net MCQ Quiz Hub

ASP.Net Mcq Question Set 12

Choose a topic to test your knowledge and improve your ASP.Net skills

1. . Is it possible to have a static indexer in C?




2. In an ASP.NET application, can we add more than one WEB.CONFIG files. Can it run?




3. Can we run asp.net application without WEB.CONFIG file?




4. Caching is considered as the best way to enhance the performance of the application.




5. The main event fired when we call bind method in a datagrid




6. Which are the components of a strong name?




7. To test a Web service you must create a windows application or Web application to consume this service?




8. Is it possible to Override Private Virtual methods.




9. The default size cache of a 128mb RAM is




10. Does web service have a state?




11. What is the maximum size of query string?




12. Which Namespace is used for event log support?




13. Where do you store the information about the user’s locale?




14. .How many classes can a single .NET DLL contain?




15. What is the transport protocol you use to call a Web service?




16. Web Controls Supports CSS




17. what is the difference between user control and custom control




18. Which of the following is not a member of ADODBCommand object-?




19. What does Response.End will do?




20. How do you add ASP.Net 3rd party component?




21. Which of the following extension does a webservice file will have?




22. Which of the following languages can be used to write server side scripting in ASP.NET?




23. What is the default authentication mode for IIS?




24. The code will be processed on web server when the runat attribute of the < Script > tag has the following value?




25. What is the difference between HTTP handlers & HTTP modules?




26. Is it Possible to Serialize HashTable with XMLSerializer?




27. What is the advantage of Disconnected mode of ADO.Net in ASP.Net(user data can update and retrieve in dataset and when connection connected, update values with server)




28. The object used by SQL connection to make Security Demands




29. How do you turn off the Session state for a webform ?




30. .The number of forms that can be added to a aspx page is




31. .Select the output of the statement < form method=post action=”test.aspx” >




32. You are transferring records from one database to another. You need to decide whether you can use the SqlBulkCopy class to transfer the records. What should you do?




33. You are creating a Web application that will run on an intranet. The Web application reads comma-delimited text files. The text files reside in a subdirectory below the Web application's root directory. Users must not be able to navigate directly to these files in a Web browser unless they are members of the Accounting role. You need to write an ASP.NET HTTP handler that will use the FileAuthorizationModule class. Which form of authentication should you use?




34. On which of the operating system below ASP.NET can run?




35. In ASP.NET if one uses Windows authentication the current request attaches an object called as




36. In ASP.NET what does the following return < % Response.Write(System.Environment.WorkingSet.ToString())%>




37. .Give one word: What model does ASP.NET request processing is based on




38. In ASP.NET page framework an automatic way to associate page events and methods is




39. Which of the following can be used to debug .NET application?




40. If one uses ASP.NET configuration system to restrict access which of the following is TRUE?




41. The control used in ASP.NET to display information from data set but with better formatting and editing behavior is




42. If a developer of ASP.NET defines style information in a common location. Then that location is called as




43. You create a Web site. The Web site has many predefined roles and associated users that will be used for security purposes. You need to manage these roles and user accounts.Which tool should you use?




44. You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?




45. .You are creating a custom control. The UI of the control must contain several text boxes and two buttons. The control must be available in the global assembly cache for reuse across multiple Web applications. You need to achieve this functionality by using the minimum amount of code. What should you do?




46. ASP.NET separates the HTML output from program logic using a feature named as




47. .To set page title dynamically in ASP.NET which of the following is used?




48. In ASP.NET if you want to allows page developers a way to specify static connections in a content page then the class used is




49. Setting the following properties for object in ASP.NET results in Response.Buffer = True Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0))Response.Expires = 0 Response.CacheControl = "no-cache




50. A client side already has 25 COM objects and if the requirement is to add a 26th function that must exists only for .NET object without affecting the existing one how to achieve the above?