Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 20 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
20
Dung lượng
1,01 MB
Nội dung
1 . Which one of the following namespaces contains the definition for IdbConnection ? A. System.Data.Interfaces B. System.Data.Common C. System.Data D. System.Data.Connection 2 . Select the Interface which provides Fast, connected forward-only access to data A. IdataRecord B. Idatabase C. IdataReader D. Irecorder 3 . How do we Delete, Update, Select data in a Dataset ? A. Using SQLDataAdapter B. Using SQLDataReader C. Using SQLCommand D. None 4 . Which of the following is not a member of ConnectionObject ? A. BeginTransaction B. EndTransaction C. Execute D. Open 5 . Is it Possible to Serialize HashTable with XMLSerializer A. Yes B. No 6 . What is the Full Form of WSDL ? A. Web System Description Language B. Web Services Detail Language C. Web Service Description Language D. None 7 . What is the difference between Server.Transfer & Response.Redirect ? A. No Difference B. Server.Transfer needs a roundtrip, Response.Redirect does not C. Response.Redirect needs roundtrip, Server.Transfer does not D. Server.Transfer can transfer user between 2 applicaions 8 . Which Language can Support SOAP ? A. VB B. JAVA C. COBOL D. All of the above 9 . What is the size of the session ID ? A. 32 bit long string B. 32 bit long double C. 32 bit long character D. 32 bit long integer 10 . Which of the following extension does a webservice file will have ? A. .Asmx B. .Aspx C. .Ascx D. .Resx 11 . What is a strong name? A. Public Key B. Private Key C. Combination Of both Public,Private key and digital signature 12 . What is the purpose of Reflection? A. For Reading metadata at runtime B. For knowing version of assembly C. For finding path of an assembly 13 . Is it possible edit data in a repeater control A. No B. Yes 14 . Why is Global.asax is used for ? A. To implement application & Session level events B. To store configuration information C. To store styling information D. None of the above 15 . What is a diffgram ? A. The one which renders the dataset object contents to XML B. Finds the difference in two objects C. Finds the difference in two files D. None of the above 16 . What is the lifespan for items stored in viewstate ? A. Exists for the Life of the current page B. 20 mins C. 2 mins D. 2 sec 17 . What data types do a Rangevalidator supports? A. Integer B. String C. Date D. All of the above 18 . Select the output of the statement < form method=post action="test.aspx" > A. Transfers all the form data to test.aspx with HTTP headers B. Transfers all the form data to test.aspx with out HTTP headers C. Calls post method on test.aspx D. None of the above 19 . What is the out put of the following code : byte a=200; byte b=100; byte c=a+b; Response.Write ( C ); A. 300 B. Compile Time error C. Run time Error D. Just prints C� � 20 . What is the out put of Following code : String a="Hello"; String b="World" ; String c= a+b ; Response.Write ( "C"); A. Hello world B. C C. A+b D. None of the above 21 . Whats the significance of Request.MapPath( ) ? A. Maps the specified virtual path to a physical path B. Maps the specified absolute path to virtual path C. None 22 . Which of the following are not a member of Server Object ? A. Execute B. Transfer C. Open D. HTMLDecode 23 . What is the significance of Server .MapPath ? A. Returns the physical file path that corresponds to virtual specified path B. Returns the Virtual Path of the web folder C. Maps the specified virtual path to Physical path D. None 24 . What is the Server.MachineName does ? A. Gets the Server's Machine Name B. Gets the Referred Web site name on the server C. Gets the Client Machine Name D. None 25 . Whats is the significance of Response.ClearHeaders( ) ? A. Clears all Headers from the buffer stream B. Clears all the section value from rendered HTML File C. Clears the content of the Rendered page D. None of the above 26 . What is the significance of Response.AddHeaders( ) ? A. Adds HTTP Headers to output stream B. Adds Tag to rendered Page C. Add Headers to the web site 27 . What is the difference between HTTP handlers & HTTP modules ? A. Httphandler is an class and Httpmodule is an assembly B. Httphandler is an event handler and httpmodule is module to do some task C. Both of the above D. None of the above 28 . Which namespace allows us to formauthentication ? A. System.Web.Ui.Forms.Security B. System.Web.Security C. System.Web.Configuration D. System.Web.Services 29 . Which method displays the custom control ? A. The Prerender B. Render C. Page_Load D. Display 30 . When is the user controls code is executed ? A. After the page_init event of webform B. After the webform loads C. Before Page_init event of web form Test2 1 . The interface used by ASP.Net to create Unique Id's? A. AppDomainsetup B. System.UI.Naming.Container C. IAsyncResult D. customFormatter 2 . Which property of the session object is used to set the local identifier ? A. SessionId B. LCID C. Item D. Key 3 . Select the caching type supported by ASP.Net A. Output Caching B. DataCaching C. Both A & B D. None of the above 4 . Where is the default Session data is stored in ASP.Net? A. InProcess B. StateServer C. SQL Server D. All of the above 5 . How do you disable client side validation ? A. Set the language property to C# B. Set the Runat property to server C. Set the ClientTarget property to Downlevel D. Set the inherits property to codeb 6 . Select the validation control used for "PatternMatching" A. FieldValidator B. RegularExpressionValidator C. RangeValidator D. PatternValidator 7 . How do you trace the application_End event on runtime? A. By Debugging B. By Tracing C. Can not be done 8 . Who can access Session state variables ? A. All Users of an application B. A Single session C. All users within a single tunnel 9 . Select the type Processing model that asp.net simulate A. Event-driven B. Static C. Linear D. TopDown 10 . Does the "EnableViewState" allows the page to save the users input on a form? A. Yes B. No 11 . Web Controls Supports CSS A. True B. False 12 . Session Object classes are defined in which of the following namespace? A. System.Web.UI B. System.Web.SessionState C. System.Web 13 . Which DLL translate XML to SQL in IIS ? A. SQLISAPI.dll B. SQLXML.dll C. LISXML.dll D. SQLIIS.dll 14 . What is the default authentication mode for IIS ? A. Windows B. Anonymous C. Basic Authentication D. None 15 . Which of the following is not a valid state management tool? A. Application State B. Hidden Form Field C. Querystate D. Cookies [...]... delimit ASP. Net code from HTML code in your pages is by using - tags A < Script > B < Body > C < Head > 6 The code will be processed on web server when the runat attribute of the < Script > tag has the following value A Desktop B Client C Server 7 The Asp. net server control, which provides an alternative way of displaying text on web page, is A < asp: label > B < asp: listitem > C < asp: button... side scripting in ASP. NET? A C# B C C Visual Basic D Java Script 2 The Following are the minimum requirement to run Asp. net pages? A Java Virtual Machine B Common Language Runtime C Windows explorer 3 When a aspx page is requested from the web server, the out put will be rendered to browser in following format A HTML B XML C WML 4 What executable unit gets created when we build an ASP. Net application?... method of System.UI.Web.Page class 28 It is possible to set Maximum length for a text box through code A True B False 29 The number of forms that can be added to a aspx page is A 2 B 3 C 1 D More than 3 30 How do you manage states in asp. net application? A Session Objects B Application Objects C Viewstate D Cookies E All of the above ... connection variable C Can not be done 29 What is the advantage of Disconnected mode of ADO.Net in ASP. Net ? A Automatically dump data at client PC B Not necessary to connect with server C User data can update and retrieve in dataset and when connection connected, update values with server D All of the above 30 Which objects is used to create foreign key between tables? A DataRelation B DataRelationship... control, which provides an alternative way of displaying text on web page, is A < asp: label > B < asp: listitem > C < asp: button > 8 tag replaces which of the HTML tags A < Option > B < Select > C < List > 9 The first event to be triggered in an aspx page is A Page_Load() B Page_Init() C Page_click() 10 Postback occurs in which of the following forms A Winforms B HTMLForms C Webforms... 19 A web application running on multiple servers is called as A WebForm B Webfarm C Website 20 What is the transport protocol used to call a webservice? A HTTP B SOAP C TCP D SMTP 21 How ASP. Net Different from ASP? A Scripting is separated from the HTML, Code is interpreted seperately B Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on server C Code is separated...16 What is the maximum number of cookies that can be allowed to a web site ? A 1 B 10 C 20 D 30 E More than 30 17 Select the control which does not have any visible interface A Datalist B DropdownList C Repeater D Datagrid 18 How do you explicitly kill a user's session ? A Session.Close ( ) B Session.Discard... level events B Declare Global variables C No use 24 There can be more than 1 machine.config file in a system? A True B False 25 What is the extension of a web user control file ? A .Asmx B Ascx C .Aspx 26 What is the default session time out? A 20 Sec B 20 Min C 1 hr 27 Which of the following is true ? A IsPostBack is a readonly property of System.Web.UI.Page class B IsPostBack is a method of... System.Windows.Page C System.Web.page 12 Which method do you invoke on the Data Adapter control to load your generated dataset? A Fill ( ) B ExecuteQuery ( ) C Read ( ) 13 How many configuration files can an ASP. NET projects have? A One B More Than One C None 14 How do you register a user control? A Add Tag prefix, Tag name B Add Source, Tag prefix C Add Src, Tagprefix, Tagname 15 Which of the following . Server 7 . The Asp. net server control, which provides an alternative way of displaying text on web page, is A. < asp: label > B. < asp: listitem > C. < asp: button > 8 . < ;asp: dropdownlist>. action="test.aspx" > A. Transfers all the form data to test.aspx with HTTP headers B. Transfers all the form data to test.aspx with out HTTP headers C. Calls post method on test.aspx D. None. True B. False 29 . The number of forms that can be added to a aspx page is A. 2 B. 3 C. 1 D. More than 3 30 . How do you manage states in asp. net application? A. Session Objects B. Application Objects C.