Asp.Net Assignment No 1
Assignment No.1
assign date 27/12/2023 Submission date 3/1/2024
Select correct alternative and rewrite the sentence
1. ________ object is not an ASP component.
a) LinkCounter b) Counter c) AdRotator d) File Access
2. ______ object can help you to maintain data across users
. a) Application Object b) Session Object c) Response Object d) Server Object
3. Attribute ______ must be set on a validator control for validation to work.
a) ControlToBind b) ControlToValidate c) ValidateControl d) Validate
4. The _____ directive is used to link an assembly to a page or user control.
a) @Page b) @Import c) @Assembly d) @Reference
5. ______ of the following is not a ASP.NET Page event.
a) Init b) Load c) Paint d) UnLoad
6. _____ of the following web server control shows data in tabular format and allows editing, paging, sorting of records.
a) ListBox b) GridView c) Repeater d) AdRotater
7. ______ is the first event that triggers in ASP.NET web page.
a) Page_Load b) Page_Init c) Page_PreRender d) Page_PreLoad
8. By using ____ attribute, HTML element can be transformed in to HTML Server Control.
a) runat=”host” b) runat=”server” c) runat=”client” d) runat=”browser”
Short Answer Questions
1. Write short note on Master Page?
2. Explain LinkButton and ImageButton controls.
3. What is web form? What is a master page?
4. Write short note on SiteMap.
5. Discuss Get and Post methods.
6. What is web server? Discuss HTTP Request and Response.
7. Discuss Client Side Scripting and Server Side Scripting
8. . Explain TextBox control with its properties.
9. What are different calendar operations?
10. Write short note on Visual Studio IDE.
11. Write down use of ValidationSummary control.
Long Answer Questions
1. What are the different validator controls available in ASP.NET? Discuss Compare validator and Range validator in detail.
2. Discuss ASP.NET web page life cycle in details
3. Explain the Page events in details
. 4. Explain RequiredFieldValidator and RangeValidator Control with example
5. What is Web server and browser? Explain request and response objects.
6. Explain TreeView and SiteMapPath Navigation Controls
No comments