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:
- B) i-True, ii-True, iii-False
- C) i, ii and iv only
- A) i, ii and iii only
- B) i, iii and iv only
- C) i, ii and iv only
- A) i-True, ii-False
- B) i-True, ii-True
- A) i, ii and iii only
- D) Gridview
- D) System.Web.UI.Webcontrols
- C) i, iii and iv only
- B) i-True, ii-True, iii-False
- C) Formview
- B) ii, iii and iv only
- B) i-True, ii-True
- A) i and ii only
- D) All i, ii and iii
- C) i-False, ii-True, iii-True
- C) i, ii and iv only
- B) i and iii only
Comments are closed.