100% found this document useful (1 vote)
139 views2 pages

Test

The document contains 10 multiple choice or code based questions about ASP.NET server side scripting, controls, events, file extensions, caching, hosting, and displaying the current time. It tests knowledge of which languages can be used for server side scripting, core page events, control types and properties, and basic ASP.NET programming concepts like handling button clicks and displaying values. Correct answers or code snippets are required for full credit on the assessment.

Uploaded by

abhi2232
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
139 views2 pages

Test

The document contains 10 multiple choice or code based questions about ASP.NET server side scripting, controls, events, file extensions, caching, hosting, and displaying the current time. It tests knowledge of which languages can be used for server side scripting, core page events, control types and properties, and basic ASP.NET programming concepts like handling button clicks and displaying values. Correct answers or code snippets are required for full credit on the assessment.

Uploaded by

abhi2232
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

APTECH COMPUTER EDUCATION

NAME MARKS DATE

(1) Which of the following languages can be used to write server side scripting in ASP.NET? A) C# B) VB C) C++ D) Both (A) and (B) (2) The Asp.net server control, which provides an alternative way of displaying text on web page, is A) <Asp:Label> B)<Asp:Panel> C)<Asp:TextBox> D) All of the above (3) The first event to be triggered in an aspx page is. A) Page_Load() B)Page_Init() C)Page_Click (4) What is the extension of a web user control file? A).asmx B).ascx C).aspx (5) Select the control which does not have any visible interface. a) ListView b) DropdownList c) Repeater d) Datagrid

(6) Write The Extension of the Following: A) Web Form :---------------------------B) Web User Control-----------------------C) Custom User Control--------------------D) Web Configuration File-------------------E) Global Application File---------------------F) Master Page--------------------------(7) __________________________________enables caching of individual Web pages. A)Page Output Caching B)Post-Cache Substitution C) Add() Method D)None Of The Above (8) ASP.NET Web sites can be hosted under IIS A) True B) False (9)What will be the Output Web form part: <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" /> Code Behind Part:protected void Button1_Click(object sender, EventArgs e) { Response.Write(Convert.ToString((Label1.Text==TextBox1.Text))); } Ans:---------------------(10) Write Down simple programme to show time current time on a label.

You might also like