Вы находитесь на странице: 1из 3

1)Which of the following languages can be used to write server side scripting in ASP.NET?

a)Csharp b)VB c)C d)None 2)The Following are the minimum requirement to run Asp.net pages a)Explore b)CLR c)Java Virutual Mechine d)Editor 3) What is the last stage of the Web forms lifecycle? a) Page_init b)Validate c)Event Handling d)Unload 4) How does ASP.NET store SessionIDs by default? a)Cookies b)Variable c)Cahe d)None 5) When a .aspx page is requested from the web server, the out put will be rendered to browser in following format. a)HTML b)WML c)XML d)ASP 6) What executable unit gets created when we build an ASP.Net application? a)COM b)EXE c)DLL d)Asp 7)The best way to delimit ASP.Net code from HTML code in your pages is by using --------------- tags. a)<HTML> b)<BODY> c)<Script> d)<Head> 8) The code will be processed on web server when the runat attribute of the < Script > tag has the following value. a)client b)server c)cookies d)none 9) The Asp.net server control, which provides an alternative way of displaying text on web page, is a)<asp:button> b)<asp:label> c)<asp:text> d)none 10) <asp:dropdownlist> tag replaces which of the HTML tags a)<option> b)<select> c)<list> d)<Group> 11) < asp : listitem > tag replaces which of the following HTML tags a)<option> b)<UL> c)<list> d)<Group> 12) The first event to be triggered in an aspx page is a)<load> b)Init c)Event d)None 13) Postback occurs in which of the following forms a)winforms b)Webforms c)Html Forms

d)None

14) what namespace does the Web page belong in the .NET Framework class hierarchy? a)System.Page b)System.Web.UI.Page c)System.Web d)None 15) Which method do you invoke on the Data Adapter control to load your generated dataset a)Fill b)Execute c)Read() d)None 16) How many configuration files can an ASP.NET projects have?

a)One

b)More then one

c)Must Two

d)None

17) Can a dll run as stand alone application ? a)Yes b)No c)Some Time d)None 18) A web application running on multiple servers is called as a)webform b)webform c)website d)None 19) What is the default session out time a)10 Sec b)20 Sec c)20 Min d)1 Hr 20) What is the default authentication mode for IIS a)Webforms b)Windows c)Anonyms d)None 21) What is the maximum number of cookies that can be allowed to a web site a)10 b)20 c)30 d)more then 30 22) Select the control which does not have any visible interface a)Repeater b)Datagrid c)Dropdownlist d)dataset 23) What does Response.End will do? a)stop client process b)stop server process c)Erase

d)None

24) Which of the following is not a member of Response Object? a)Write b)Clear c)Execute d)None 25) Which method do you invoke on the DataAdapter control to load your generated dataset with data? a)load b)Setall c)Execute d)fill 26) How to open more than one datareader at a time a)two variable b)two connection c)more then two d)None 27) How do we Delete, Update, Select data in a Dataset a)sqlcommand b)sqldatareader c)sqldataadapter d)None 28)What data types do a Rangevalidator supports a)Date b)String c)Integer d)All 29) Which namespace allows us to formauthentication ? a)system.web b)System.Security c)System.Web.Security

d)None

30) What section of the config.Web file is used for storing a list of authorized users? a)Authendication b)Authorization c)Security d)None

Practical 1.Create web application simple Payroll system with datagrid.

Вам также может понравиться