ASP.Net MCQ Quiz Hub

ASP.Net Mcq Question Set 14

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

1. For a web application, I want to store user's login information and also some static information relevant to be shared to all users. I can




2. .Base class for LINQ to SQL is




3. .Which web server control cannot be both either databound or unbound?




4. Which of the following doesnot come with .NET 3.0




5. MVC stands for




6. Which of the following is associated with freeing of memory?




7. Web methods are part of




8. WAS stands for




9. WCF service can be hosted in




10. I have an interface called Computation which has three methods add(),print() and execute().I am implementing Computation to an abstract class called Execution where I provide some definition for the abstract execute() alone. I provided definition to execute() only because I want everybody inheriting the class to have my execute() only and not their own definition for it. Now, I expose the Execution class to three parties who can now inherit the class and provide their definition to add() and print() and simply call the parent execute().After implementation by the three parties, their three classes are integrated back to the project and now the end user untime decides which class to be loaded for processing. This scenario is a typical example for




11. How many application blocks ate there in enterprise library?




12. Which application block type is not present in enterprise library?




13. Which of the following cannot be used for navigating to a new web page?




14. .NET application cannot be developed using




15. A WCF service can be accessed through




16. State whether the following statements about the Asp .NET are True or False. i) Asp .Net is the server-side object-oriented programming language. ii) It is built on the CLR(Common Language Runtime). iii) Asp .Net does not support ADO .Net.




17. Which of the following are the stages of the Asp .Net web page. i) Start ii) Load iii) Upload iv) Validation




18. Which of the following are the life cycle events of Asp .Net pages. i) PreInt ii) Int iii) Load iv) Unload




19. … are the common properties of web server controls of Asp .Net. i) Runat ii) Textmode iii) Width iv) Visible




20. … are the common properties of validation controls of Asp .Net. i) Error message ii) Display iii) Type iv) Text




21. State whether the following statements about the validation summary control of Asp .NET are True or False. i) ShowSumary property shows the error messages in the specified format. ii) ShowMessageBox property shows the error messages in the same window.




22. State whether the following statements about the radio button list and check box list are True or False. i) A radio button list presents a list of mutually exclusive options. ii) A checkbox list presents a list of independent options.




23. Which of the following are the data-bound controls of Asp .Net pages. i) Gridview ii) DataList iii) Listview iv) Details view




24. With … control, a developer can display an entire collection of data sorting or paging option in the table.




25. The DataList control exists within the …. namespace.




26. Which of the following are the templates that are supported by DataList control. i) ItemTemplate ii) EditTemplate iii) HeaderTemplate iv) SeperatorTemplate




27. State whether the following statements about the Listview data-bound control are True or False. i) It enables a developer to edit, insert, delete and sort the page data. ii) It provides different types of templates and styles according to user requirements. iii) The Listview control has a specific layout by default.




28. The … data-bound control is used to display a single record at a time.




29. Which of the following are the templates that are supported by Formview control. i) DataTemplate ii) PagerTemplate iii) ItemTemplate iv) HeaderTemplate




30. State whether the following statements about the Formview control are True or False. i) In the Formview control, each row of the table displays each field of the record. ii) In this view, a developer can modify the layout for displaying the record.




31. Which of the following are the features of the View state of web application in Asp .Net. i) It is used for holding data temporary. ii) It can store any type of data. iii) It has direct functionality access.




32. Which of the following are the features of Cookies. i) It can be changed depending on requirements. ii) It stores information temporarily. iii) It requires only a few bytes or KBs of space.




33. State whether the following statements about the cookie are True or False. i) The server can’t read the cookie and extract its value. It’s only accessible from the client side. ii) Cookies having an expiration date is called a persistent cookie. iii) Non-persistent types of cookies aren’t stored in the client’s hard drive permanently.




34. Which of the following are the advantages of using Cookies. i) Simplicity. ii) Data persistence. iii) No security risks. iv) No server resources are required




35. Which of the following are the disadvantages of using the query string. i) Limited capacity ii) Server resources are required iii) Potential security risks




36. Choose the correct one 1) XML serialization serializes the public fields and properties of an object. 2) XML serialization serializes the private fields and properties of an object. 3) XML serialization serializes only the public methods.




37. ByDefault ASP.Net SessionID is stored in _________.




38. Classic ASP pages have the file extension?




39. ASP (aka Classic ASP) was introduced in?




40. Which of the following is true?




41. ASP.NET is?




42. An exception is a problem that arises?




43. Which of the following denote the web control associated with Table control function of ASP.NET?




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