CS/IT MCQ Collections

Top 20 MCQ Questions on the Fundamentals of Asp.Net

Google+ Pinterest LinkedIn Tumblr
This set of MCQ Questions on the fundamentals of Asp.Net includes the collections of top 20 multiple-choice questions on the fundamentals of Asp.Net techniques. It includes objective-type questions on the introduction of Asp.Net, various stages, and the page life cycle events in Asp.Net webpage, common properties of web server controls and validation controls, various list controls and data controls in ASP.Net, and the various state management techniques in ASP.Net.

Read Also: Top 20 MCQ Questions on ADO.Net Architecture

1. 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.
A) i-True, ii-False, iii-False
B) i-True, ii-True, iii-False
C) i-False, ii-True, iii-True
D) i-False, ii-False, iii-True

2. Which of the following are the stages of the Asp .Net web page.
i) Start
ii) Load
iii) Upload
iv) Validation
A) i, ii and iii only
B) ii, iii and iv only
C) i, ii and iv only
D) All i, ii, iii and iv

3. Which of the following are the life cycle events of Asp .Net pages.
i) PreInt
ii) Int
iii) Load
iv) Unload
A) i, ii and iii only
B) ii, iii and iv only
C) i, ii and iv only
D) All i, ii, iii and iv

4. … are the common properties of web server controls of Asp .Net.
i) Runat
ii) Textmode
iii) Width
iv) Visible
A) i, ii and iii only
B) i, iii and iv only
C) i, ii and iv only
D) All i, ii, iii and iv

5. … are the common properties of validation controls of Asp .Net.
i) Error message
ii) Display
iii) Type
iv) Text
A) i, ii and iii only
B) i, iii and iv only
C) i, ii and iv only
D) All i, ii, iii and iv

6. 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.
A) i-True, ii-False
B) i-True, ii-True
C) i-False, ii-True
D) i-False, ii-False

7. 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.
A) i-True, ii-False
B) i-True, ii-True
C) i-False, ii-True
D) i-False, ii-False

8. Which of the following are the data-bound controls of Asp .Net pages.
i) Gridview
ii) DataList
iii) Listview
iv) Details view
A) i, ii and iii only
B) ii, iii and iv only
C) i, ii and iv only
D) All i, ii, iii and iv

9. With … control, a developer can display an entire collection of data sorting or paging option in the table.
A) Details view
B) DataList
C) Listview
D) Gridview

10. The DataList control exists within the …. namespace.
A) System.UI.Web.Controls
B) System.Web.UI
C) System.UI.Webcontrols
D) System.Web.UI.Webcontrols

11. Which of the following are the templates that are supported by DataList control.
i) ItemTemplate
ii) EditTemplate
iii) HeaderTemplate
iv) SeperatorTemplate
A) i, ii and iii only
B) ii, iii and iv only
C) i, iii and iv only
D) All i, ii, iii and iv

12. 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.
A) i-True, ii-False, iii-False
B) i-True, ii-True, iii-False
C) i-False, ii-True, iii-True
D) i-False, ii-False, iii-True

13. The … data-bound control is used to display a single record at a time.
A) Listview
B) Details view
C) Formview
D) Record view

14. Which of the following are the templates that are supported by Formview control.
i) DataTemplate
ii) PagerTemplate
iii) ItemTemplate
iv) HeaderTemplate
A) i, ii and iii only
B) ii, iii and iv only
C) i, iii and iv only
D) All i, ii, iii and iv

15. 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.
A) i-True, ii-False
B) i-True, ii-True
C) i-False, ii-True
D) i-False, ii-False

16. 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.
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

17. 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.
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

18. 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.
A) i-True, ii-False, iii-False
B) i-True, ii-True, iii-False
C) i-False, ii-True, iii-True
D) i-False, ii-False, iii-True

19. 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
A) i, ii and iii only
B) ii, iii and iv only
C) i, ii and iv only
D) All i, ii, iii and iv

20. Which of the following are the disadvantages of using the query string.
i) Limited capacity
ii) Server resources are required
iii) Potential security risks
A) i and ii only
B) i and iii only
C) ii and iii only
D) All i, ii and iii

Answers:

  1. B) i-True, ii-True, iii-False
  2. C) i, ii and iv only
  3. A) i, ii and iii only
  4. B) i, iii and iv only
  5. C) i, ii and iv only
  6. A) i-True, ii-False
  7. B) i-True, ii-True
  8. A) i, ii and iii only
  9. D) Gridview
  10. D) System.Web.UI.Webcontrols
  11. C) i, iii and iv only
  12. B) i-True, ii-True, iii-False
  13. C) Formview
  14. B) ii, iii and iv only
  15. B) i-True, ii-True
  16. A) i and ii only
  17. D) All i, ii and iii
  18. C) i-False, ii-True, iii-True
  19. C) i, ii and iv only
  20. B) i and iii only

Avatar for Shuseel Baral

Shuseel Baral is a web programmer and the founder of InfoTechSite has over 8 years of experience in software development, internet, SEO, blogging and marketing digital products and services is passionate about exceeding your expectations.

Write A Comment

Close