header1.html

Tuesday, 9 April 2013

ASP.NET Quiz-1


ASP.NET Quiz-1
1.If page output caching,________caching persists specific portions of a page and lets other portion of the page be created dynamically ?
Partial page
Full page
Custom
semi


2.By using an ,_________ , the data is separated from html, and any changes to the items are made in the separated data source .
Incorporate source
Join
Link
Imported source


3.Asp.net object is used to get information about web servers?
Session Object
Application
Request
Server object


4.The __________ namespace contain classes for accessing and managing data from diverse sources
System.Data
System.IO
System.Reflection
System.Object


5. When an ASP.NET server control is added to a Web Form, Visual Studio .NET adds one item to the class for the form. What item is added ?
The event registration
A protected class member for the control
A default event handler for the click event
A default class that inherits from the control’s base class


6.What attribute must be set on a validator control for the validation to work ?
Validate
ValidateControl
ControlToBind
ControlToValidate


7.What HTML element is the asp:Label control rendered as when the target is Internet Explorer ?
label
span
div
table


8.Given an ASP.NET Web Form called WebForm1,what class does the WebForm1 class inherit from by default?
System.Web.Form
System.Web.GUI.Page
System.Web.UI.Page
System.Web.UI.Form


9.What is the Web.config file used for ?
To store the global information and variable definitions for the application
Configures the time that the server-side codebehind module is called
To configure the web server
To configure the web browser


10.After capturing the SelectedIndexChanged event for a ListBox control, you find that the event handler doesn’t execute. What could the problem be ?
The AutoEventWireup attribute is set to False
The AutomaticPostBack attribute is set to False
The codebehind module is not properly compiled
The ListBox must be defined WithEvents