Google News
logo
ASP.NET - Quiz(MCQ)
A)
Access Server Pages
B)
Active Server Pages
C)
Active Server Platform
D)
Active Server Programming

Correct Answer :   Active Server Pages


Explanation : ASP stands for Active Server Pages

A)
.cs
B)
.net
C)
.asp
D)
.aspx

Correct Answer :   .asp


Explanation : Classic ASP pages have the file extension .asp and are normally written in VBScript.

A)
LinqDataSource
B)
SqlDataSource
C)
XmlDataSource
D)
ObjectDataSource

Correct Answer :   LinqDataSource

A)
.asap
B)
.aspx
C)
.asps
D)
None of the above

Correct Answer :   .aspx

A)
1995
B)
1996
C)
1997
D)
1998

Correct Answer :   1998


Explanation : ASP (aka Classic ASP) was introduced in 1998 as Microsoft's first server side scripting language.

A)
ASP.NET Web Forms is not a part of the new ASP.NET Core.
B)
ASP.NET Web Forms is an event driven application model.
C)
ASP.NET MVC is an MVC application model (Model-View-Controller).
D)
All of the Above

Correct Answer :   All of the Above

A)
InProcess
B)
StateServer
C)
Session Object
D)
All of the Above

Correct Answer :   InProcess

A)
List Box
B)
Dir List Box
C)
File List Box
D)
Drive List Box

Correct Answer :   File List Box

A)
Dbg CLR – graphic debugger
B)
CorDBG – command-line debugger
C)
Both (A) and (B)
D)
None of the Above

Correct Answer :   Both (A) and (B)

A)
Validate
B)
ControlToBind
C)
ValidateControl
D)
ControlToValidate

Correct Answer :   ControlToValidate


Explanation : Attribute must be set on a validator control for the validation to work ControlToValidate.

A)
System.Web.Form
B)
System.Web.UI.Form
C)
System.Web.UI.Page
D)
System.Web.GUI.Page

Correct Answer :   System.Web.UI.Form


Explanation : System.Web.UI.Form class the ASP.NET Web Form class inherit from by default.

A)
char.IsDigit
B)
char.IsNumber
C)
char.IsLetter
D)
char.IsLetterOrDigit

Correct Answer :   char.IsDigit

A)
Singleton
B)
Singlecall
C)
Both (A) and (B)
D)
None of the Above

Correct Answer :   Both (A) and (B)

14 .
A)
client side technologies
B)
server side technologies
C)
Both (A) and (B)
D)
None of the Above

Correct Answer :   Both (A) and (B)

A)
KeyUp
B)
KeyDown
C)
KeyPress
D)
KeyDown,KeyPress

Correct Answer :   KeyDown,KeyPress

A)
Validate
B)
Page_Unload
C)
Page_Load
D)
Event Handling

Correct Answer :   Page_Unload

A)
You can use browser settings to specify where a page is cached.
B)
You can use the Location attribute in QueryString to specify where a page is cached.
C)
You can use the Location attribute of the < %@ OutputCache %> directive to specify where a page is cached.
D)
None of the Above.

Correct Answer :   You can use the Location attribute of the < %@ OutputCache %> directive to specify where a page is cached.


Explanation :

By default, when you use Page Output Caching, a page is cached in three locations : web server, any proxy servers, and browser. You can write following code to cache the page on server for 50 seconds.
 
< %@ OutputCache Duration="50" VaryByParam="none" Location=”Server” %>

A)
In Web.config file.
B)
In MasterPage file.
C)
In App_Data folder.
D)
None of the Above.

Correct Answer :   In Web.config file.


Explanation :

Following are the steps to create the connection string in Web.config file and access it in code behind file. In connection string data source and database name you have to provide according to your sqlserver instance and their database name.
 
Step 1 : Create the connection string in Web.config file as follows.
< connectionStrings>
< add name="con" connectionString="Data Source =ServerName; initial catalog= DataBaseName; Integrated Security=true"/>
 
 
 
Step 2 : In code behind file write the following code.
ConfigurationManager class is available in System.Configuration namespace;
string conStr= ConfigurationManager.ConnectionStrings["con"].ConnectionString;
SqlConnection conObj = new SqlConnection(conStr);
conObj.Open();

// Write code according to the requirement.

conObj.Close();

A)
IsPostBack
B)
IsValid
C)
IsCallback
D)
IsReusable

Correct Answer :   IsPostBack

A)
int
B)
bit
C)
object
D)
boolean

Correct Answer :   boolean

A)
Local.asax
B)
Web.config
C)
Global.asax
D)
None of the Above

Correct Answer :   Global.asax

A)
Bin
B)
App_Code
C)
App_Data
D)
App_LocalResources

Correct Answer :   Bin

A)
RegisterScript
B)
Page.ClientScript
C)
Page.ClientScript.RegisterClientScriptBlock
D)
None of the Above

Correct Answer :   Page.ClientScript.RegisterClientScriptBlock

A)
SQLServer
B)
InProc
C)
StateServer
D)
None of the Above

Correct Answer :   InProc

A)
Init
B)
Load
C)
PreLoad
D)
Preinit

Correct Answer :   Preinit


Explanation :

1) PreInit : This event is also useful when you are dynamically (from code) set values such as master page, theme or dynamically created controls for a page.

2) Init :
This event fires after each control has been initialized.

3) InitComplete : This event fires all initializations of the page and its controls have been completed.

4) PreLoad : Executes before view state has been loaded for the page and its controls and before PostBack processing.

5) Load : This event checks for PostBack and then sets control properties.

6) Control (PostBack) event(s) : This event fires when any events on the page or its controls that caused the PostBack to occur. For example button’s click event.

7) LoadComplete : At this point all controls are loaded.

8) PreRender : This event fires after all regular PostBack event have taken place. It is executed before saving ViewState.

9) SaveStateComplete : If anyone makes changes to the page’s controls at this point or beyond, they are ignored.

10) Render : This event generates the client-side HTML, DHTML, and script that are necessary to display a control at the browser.

11) UnLoad : This event is used for cleanup code.

A)
HTML is rendered.
B)
ViewState is loaded on the page.
C)
Each child control of the page is initialized to its design time values.
D)
None of the Above.

Correct Answer :   Each child control of the page is initialized to its design time values.

A)
AdRotator
B)
Layout
C)
Grid View
D)
Link Button

Correct Answer :   AdRotator


Explanation : The AdRotator web server control cycles through a series of clickable ad banner and allows some ads to be weighted more heavily.

A)
Session cookies
B)
Dummy cookies.
C)
Persistent cookies.
D)
Both (A) and (C)

Correct Answer :   Both (A) and (C)

A)
Auth.aspx
B)
Login.aspx
C)
Default.aspx
D)
LoginPage.aspx

Correct Answer :   Login.aspx


Explanation : If no filename is specified in the Web.config file, ASP.NET redirects unauthenticated users to the Login.aspx page, regardless of whether the page exists.

A)
Windows Authentication.
B)
Forms Authentication.
C)
.NET Passport Authentication.
D)
All of the Above.

Correct Answer :   All of the Above.


Explanation :

Windows authentication : It is enabled by default. When Windows authentication is enabled, users are identified by their Microsoft Windows account names.

Forms authentication : In this authentication users are typically identified by a cookie. When a user is authenticated, an encrypted cookie is added to the user’s browser. As the user moves from page to page, the user is identified by the cookie.
 
.NET Passport authentication : It is a centralized service provided by Microsoft. .NET Passport allows users to create a single sign-in name and password to access any site that is uses .NET
 
Passport authentication : .NET Passport does only authentication not authorization. Passport simply tells a participating site who the user is. MSN and Hotmail uses .NET Passport authentication..

A)
Content pages can reference controls in the master page.
B)
Content pages can reference public methods in the master page.
C)
Content pages can reference public properties in the master page.
D)
All of the Aabove.

Correct Answer :   All of the Aabove.

A)
In cache
B)
In a global variable
C)
In cookies
D)
In URL strings or in a database

Correct Answer :   In cookies

A)
20 minute
B)
30 minute
C)
40 minute
D)
60 minute

Correct Answer :   20 minute

A)
Read( )
B)
Fill( )
C)
ExecuteQuery( )
D)
None of the Above

Correct Answer :   Fill( )

A)
Repeater
B)
DataList
C)
GridView
D)
tableView

Correct Answer :   tableView

A)
DataGrid
B)
Datalist
C)
Repeater Control
D)
None of the Above

Correct Answer :   DataGrid

A)
System.url
B)
System.sqlserver
C)
System.data.sqlclient
D)
System.data.sql

Correct Answer :   System.data.sqlclient

A)
Windows XP Home
B)
Windows XP Professional
C)
Windows 2000 Server
D)
Windows 2003 Server

Correct Answer :   Windows XP Home

A)
HTTP
B)
Web farm
C)
Web Page
D)
Web Servers

Correct Answer :   Web farm


Explanation : When we host a web application over multiple web servers to distribute the load among them it is known as a web farm

A)
ViewState="true"
B)
Set EnableViewState to true.
C)
Set EnableViewState to false.
D)
None of the Above

Correct Answer :   Set EnableViewState to false.


Explanation : In ASP.NET when a form is postback to server it reappears in the browser with all form values. ASP.NET page and controls maintain their state by in hidden form field named _ViewState. By default it is enable for all server controls and sometimes create problem because unnecessary data are stored in this field. To minimize the size of the ViewState data, set EnableViewState to false.

A)
set cancel=true
B)
set RemoveValidation=true
C)
set CausesValidation = false.
D)
None of the Above.

Correct Answer :   et CausesValidation = false.

A)
Wizard
B)
Panel
C)
ImageMap
D)
None of the Above

Correct Answer :   Wizard


Explanation : The Wizard control is used to divide a large form, which has the lots of data, into multiple sub-forms. The Wizard control contains one or more WizardStep child controls. Only one WizardStep is displayed at a time.

A)
Create("FileSystemObject")
B)
Server.CreateObject("FileSystemObject")
C)
Create Object:"Scripting.FileSystemObject"
D)
Server.CreateObject("Scripting.FileSystemObject")

Correct Answer :   Server.CreateObject("Scripting.FileSystemObject")

A)
Yes
B)
No
C)
None of the Above
D)
--

Correct Answer :   Yes

A)
CSS
B)
AJAX
C)
JavaScript
D)
All of the Above

Correct Answer :   All of the Above


Explanation : We can use CSS, JavaScript, and AJAX with ASP.NET for web application development.

A)
To configure to domain client
B)
To configure the domain server
C)
Store information about web browser
D)
To store global information and variable definitions

Correct Answer :   To store global information and variable definitions

A)
Write data to a file
B)
Write Formatted Output
C)
Both (A) and (B)
D)
None of the Above

Correct Answer :   Write Formatted Output

A)
Load()
B)
Unload()
C)
PreRender()
D)
All of the Above

Correct Answer :   PreRender()

A)
Web Services Designing Language
B)
Windows Services Designing Language
C)
Web Services Description Language
D)
None of the Above

Correct Answer :   Web Services Description Language

A)
CachePriority
B)
CacheItemPriority
C)
CacheElementPriority
D)
None of the Above

Correct Answer :   CachePriority

A)
< asp:TextBox BackColor=”Yellow” BorderStyle=”Dotted” Runat=”Server” />
B)
< asp:TextBox BackColor=”Yellow” BorderStyle=”Dotted” ID=”colorTxt” />
C)
< asp:TextBox BackColor=”Yellow” BorderStyle=”Dotted” ID=”colorTxt” Runat=”Server”/>
D)
None of the Above.

Correct Answer :   < asp:TextBox BackColor=”Yellow” BorderStyle=”Dotted” Runat=”Server” />

A)
Public web site.
B)
Desktop application.
C)
Intranet environment.
D)
None of the Above.

Correct Answer :   Intranet environment.


Explanation :

In a Windows-based authentication, the requests go directly to IIS to provide the authentication process. This type of authentication is quite useful in an intranet
environment, where the server handles authentication process.

A)
It cannot be used to refer to a webpage on the server
B)
ASP.NET does not support HyperLink control.
C)
The hyperLink is also known as LinkButton in ASP.NET
D)
It is an ASP.NET control, that responds to a click event.

Correct Answer :   It is an ASP.NET control, that responds to a click event.

A)
Response.Cookies["cookiename"].Value
B)
Response.Cookies["cookiename"].GetValue
C)
Response.Cookies["cookiename"].CookieValue
D)
Response.Cookies["cookiename"].GetCookieValue

Correct Answer :   Response.Cookies["cookiename"].Value

A)
Web Pages
B)
Content Pages
C)
Master Pages
D)
None of the Above

Correct Answer :   Content Pages

A)
Load
B)
Init
C)
Import
D)
All of the Above

Correct Answer :   Import

A)
Set cookieless=true;
B)
Set BoweserCookieEnabled=true;
C)
Use the AutoDetect setting of the cookieless attribute.
D)
None of the Above.

Correct Answer :   Use the AutoDetect setting of the cookieless attribute.

A)
Session.End()
B)
Session.Close()
C)
Session.Discard()
D)
Session.Abondon()

Correct Answer :   Session.Abondon()


Explanation : The Abandon method destroys all the objects stored in a session object and releases their resources. If we don't call this explicitly the server destroys this object when the session times out.

A)
Key-based dependencies
B)
Time-based dependencies
C)
File based dependencies
D)
All of the Above

Correct Answer :   All of the Above

A)
DataSet
B)
Command
C)
DataReader
D)
None of the Above.

Correct Answer :   DataSet

A)
UpdatePanel
B)
ScriptManager
C)
AsyncPostBackTrigger
D)
None of the Above.

Correct Answer :   ScriptManager


Explanation :

ScriptManager control is mandatory control if you want to work with ASP.NET AJAX server control. Only one instance of a ScriptManager can be added to the web page. It manages the JavaScript files sent to the client and the communication between the server and the client. It also manages partial-page updates. The HTML for a ScriptManager control in Source view looks as follows:
 
< asp:UpdatePanel ID="UpdatePanel1" runat="server">

A)
Response.Cookies.SaveCookie()
B)
Response.Cookies.AddCookie()
C)
Response.Cookies.Add()
D)
Response.Cookies.AddCookies()

Correct Answer :   Response.Cookies.Add()

A)
Response.Cookies ["mycookie"].Expires
B)
Response.Cookies ["mycookie"].ExpiresTime
C)
Response.Cookies ["mycookie"].RemoveDateTime
D)
Response.Cookies ["mycookie"].ExpiresDateTime

Correct Answer :   Response.Cookies ["mycookie"].Expires

A)
Cache Memory
B)
Main Memory
C)
Hard Drive
D)
CPU Registers

Correct Answer :   Hard Drive

A)
4 KB
B)
10 KB
C)
100 KB
D)
1024 KB

Correct Answer :   4 KB

A)
Response.Cache.SetNoCaching();
B)
Response.Cache.SetNoStore();
C)
Response.Cache.SetNoServerCaching();
D)
None of the Above

Correct Answer :   Response.Cache.SetNoStore();

A)
ExecuteReader
B)
ExecuteScalar
C)
ExecuteNonQuery
D)
All of the Above.

Correct Answer :   All of the Above.


Explanation :

* ExecuteReader : This method works on select SQL query. It returns the DataReader object. Use DataReader read () method to retrieve the rows.
 
* ExecuteScalar : This method returns single value. Its return type is Object. If you call ExecuteScalar method with a SQL statement that returns rows of data, the query executes but returns only the first column of the first row returned by the query.
 
* ExecuteNonQuery : If you are using Insert, Update or Delete SQL statement then use this method. Its return type is Integer (The number of affected records).

A)
Cookies are small pieces of data stored on the webserver
B)
Cookies are code snippets to read data from a web server.
C)
Cookies are code snippets to download data from a web server.
D)
Cookies are small pieces of data created by a web application while a user is browsing a website.

Correct Answer :   Cookies are small pieces of data created by a web application while a user is browsing a website.

A)
PostedFile.Length
B)
PostedFile.FileLength
C)
PostedFile.ContentLength
D)
None of the Above

Correct Answer :   PostedFile.ContentLength


Explanation : The "FileUpload1.PostedFile.ContentLength" property is used to get the length of the selected filename using FileUpload control.

A)
True
B)
False
C)
None of the Above
D)
--

Correct Answer :   True


Explanation : Yes, The "Height" and "Width" properties are used to change the Height and Weight of FileUpload control.

A)
PostedFile.Upload()
B)
PostedFile.SaveAs()
C)
PostedFile.SaveFile()
D)
None of the Above

Correct Answer :   PostedFile.SaveAs()


Explanation : The "FileUpload1.PostedFile.SaveAs()" method is used to get selected filename using FileUpload control.

A)
machine.config
B)
web.config
C)
global.asax file
D)
application object

Correct Answer :   machine.config

A)
HTTP
B)
TCP
C)
SMTP
D)
None of the Above.

Correct Answer :   HTTP

A)
Login
B)
LoginView
C)
LoginName
D)
LoginStatus

Correct Answer :   LoginStatus

A)
Page_Load
B)
Page_Render
C)
Page_PreInit
D)
Page_PreRender

Correct Answer :   Page_PreInit

A)
Set the validate property to false
B)
Set the EnableClientScript property to false
C)
Set the Page.Isvalid property to false
D)
Set the EnableClientScript property to true

Correct Answer :   Set the EnableClientScript property to false

A)
Select Multiple
B)
Allow Multiple
C)
Access Multiple
D)
Upload Multiple

Correct Answer :   Allow Multiple

A)
FileName
B)
PostedFile
C)
PostedFile.FileName
D)
SelectedFile.FileName

Correct Answer :   PostedFile.FileName


Explanation : The "FileUpload1.PostedFile.FileName" property is used to get selected filename using FileUpload control.

A)
UpdatePanel
B)
ScriptManager
C)
AsyncPostBackTrigger
D)
None of the Above.

Correct Answer :   UpdatePanel

A)
ID="web-server"
B)
ID="server"
C)
runat="web-server"
D)
runat="server"

Correct Answer :   runat="server"

A)
PUT
B)
GET
C)
SET
D)
POST

Correct Answer :   PUT

A)
You can neglect VaryByParam attribute while using Page output caching.
B)
The VaryByParam attribute determines which web page is cached in database.
C)
The VaryByParam attribute determines which versions of the page output are actually cached.
D)
None of the Above.

Correct Answer :   The VaryByParam attribute determines which versions of the page output are actually cached.

A)
File
B)
Input
C)
Upload
D)
None of the Above

Correct Answer :   Input


Explanation :

The <input> tag is used to create file upload control in HTML. The HTML syntax is given below :
 
<input name="FileUpload1" id="FileUpload1" type="file">

A)
B)
C)
D)

Correct Answer :  

85 .
Which of the following event handlers are available for LinkButton control?
 
1. On Click
2. On Client Click
3. On Command
4. All the above
A)
1 and 2
B)
1 and 3
C)
2 and 3
D)
4

Correct Answer :   4

A)
Css Class
B)
Border Style
C)
Causes Validation
D)
None of the Above

Correct Answer :   None of the Above


Explanation : All the given property is not available for LinkButton control.

A)
Response
B)
Request
C)
Server
D)
Application

Correct Answer :   Response

A)
SET
B)
GET
C)
POST
D)
All of the Above.

Correct Answer :   GET

A)
70
B)
80
C)
200
D)
400

Correct Answer :   80

A)
Enable
B)
Disabled
C)
Enabled
D)
Is Enable

Correct Answer :   Enabled

A)
Css
B)
Class
C)
Set Css
D)
Css Class

Correct Answer :   Css Class


Explanation : The "Css Class" property is used to set the CSS class to LinkButton control.

A)
My LinkButton
B)
My LinkButton
C)
My LinkButton
D)
My LinkButton

Correct Answer :   My LinkButton

A)
String
B)
DateTime
C)
System.Int32
D)
None of the Above.

Correct Answer :   String

A)
DataTable, DataColumn, and type.
B)
DataTable, DataColumn, and DataRelation.
C)
DataReader,DataAdapter, and Command.
D)
DataTable, DataRelation, and DataAdapter.

Correct Answer :   DataTable, DataColumn, and DataRelation.

A)
FTP
B)
HTTPS
C)
File System
D)
None of the Above.

Correct Answer :   FTP

A)
On Check Change
B)
On Selection Changed
C)
Check Changed
D)
None of the Above

Correct Answer :   Check Changed


Explanation : The "CheckChanged" event is used to trigger on selection change for ASP.NET CheckBox control.

97 .
Which of the following statement are correct about LinkButton control in ASP.NET?
 
1. The LinkButton and HyperLink both are the same controls.
2. This control acts as a hyperlink, which is used to display a hyperlink-style button control.
3. ASP.NET supports only LinkButton, it does not support Hyperlink.
4. This is a client-side control used in HTML only.
A)
Only 1
B)
Only 2
C)
1 and 4
D)
2 and 3

Correct Answer :   Only 2

A)
Set
B)
SetFont
C)
FontSize
D)
Font

Correct Answer :   Font

A)
Width
B)
Width Border
C)
Border Width
D)
None of the Above

Correct Answer :   Border Width


Explanation : The "BorderWidth" property is used to set border width for ASP.NET CheckBox control.

A)
The Oracle data provider
B)
The SqlClient data provider.
C)
The OLE DB data provider.
D)
All of the Above.

Correct Answer :   The SqlClient data provider.

A)
True
B)
False
C)
None of the Above
D)
--

Correct Answer :   True

A)
Next Month Text
B)
NM Text
C)
Month Text
D)
Next Text Month

Correct Answer :   Next Month Text

A)
StyleHeaderDay
B)
DayHeaderStyle
C)
DayHeaderStyleRow
D)
None of the Above

Correct Answer :   DayHeaderStyle


Explanation : The DayHeaderStyle property is used to apply the style to the day header row in the Calendar control.

A)
< asp:Cal ID="Calendar1" runat="server" SelectedDate="2022-09-04" >
B)
< asp:Calendar CAL_ID="Calendar1" runat="server" SelectedDate="2022-09-04" >
C)
< asp:Calendar ID="Calendar1" runat="server" SelectedDate="2022-09-04">
D)
< asp_net:Calendar ID="Calendar1" runat="server" SelectedDate="2022-09-04" >

Correct Answer :   < asp:Calendar ID="Calendar1" runat="server" SelectedDate="2022-09-04">

A)
2
B)
3
C)
4
D)
5

Correct Answer :   3


Explanation :

In ASP.Net, there are three types of caching, they are :
 
* Output Caching
* Fragment Caching
* Data Caching

A)
Attributes.Add("Event","Javascript_Code();")
B)
Attributes("Event","Javascript_Code();")
C)
Attributes.Handle("Event","Javascript_Code();")
D)
None of the Above

Correct Answer :   Attributes.Add("Event","Javascript_Code();")

A)
Asp.Net API
B)
Asp.Net MVC
C)
Asp.Net Web Forms
D)
All of the Above

Correct Answer :   All of the Above


Explanation :

ASP supports many different development models :
 
* Classic ASP
* ASP.NET MVC
* ASP.NET API
* ASP.NET Core
* ASP.NET Web Pages
* ASP.NET Web Forms

A)
Cache
B)
Server
C)
Database
D)
Cookies

Correct Answer :   Cookies

A)
<%@ Application_DIR Language="C#" %>
B)
C)
<%@ Application Language="C#" %>
D)
<%@ DIR @Application Language="C#" %>

Correct Answer :   <%@ Application Language="C#" %>


Explanation :

The basic syntax of the Application directive is :
 
<%@ Application Language="C#" %>

A)
<%@@ Assembly Name ="myassembly" %>
B)
<%@ Assembly Name ="myassembly" %>
C)
<%@ Assembly @ Name ="myassembly" %>
D)
<%@ Assembly Name ="C# myassembly" %>

Correct Answer :   <%@ Assembly Name ="myassembly" %>


Explanation :

The basic syntax of the Assembly directive is :
 
<%@ Assembly Name ="myassembly" %>

A)
Querystring
B)
Session
C)
Application
D)
None of the Above

Correct Answer :   Querystring

A)
.asm
B)
.asmx
C)
.asp
D)
.aspx

Correct Answer :   .asmx

A)
<%@ Control %>
B)
<%@ Control Language="C#" %>
C)
<%@ Control Language="C#" EnableViewState="false" %>
D)
None of the Above

Correct Answer :   <%@ Control Language="C#" EnableViewState="false" %>


Explanation :

The basic syntax of the Control directive is :
 
<%@ Control Language="C#" EnableViewState="false" %>

A)
int, varchar, nvarchar
B)
Input, Integer, String
C)
Input, Output, InputOutput
D)
All of the above.

Correct Answer :   Input, Output, InputOutput

A)
Lazy binding
B)
Late binding
C)
Global binding
D)
Early binding

Correct Answer :   Early binding

A)
Late binding
B)
Lazy binding
C)
Early binding
D)
Global binding

Correct Answer :   Late binding

A)
Forms.UI.SignOut()
B)
FormsAuthentication.SignOut()
C)
Authentication.SignOut()
D)
FormsAuthentication.LogOut()

Correct Answer :   FormsAuthentication.SignOut()

A)
Simple Object Access Property
B)
Simple Object Advanced Property
C)
Simple Object Advanced Protocol
D)
Simple Object Access Protocol

Correct Answer :   Simple Object Access Protocol

A)
5
B)
4
C)
3
D)
2

Correct Answer :   3


Explanation :

In ASP.Net, there are three navigation controls, they are :
 
* SiteMapPath
* Menu
* TreeView

A)
By setting the OLE DB Services connection string keyword to 0
B)
By setting the OLE DB Services connection string keyword to -1
C)
By setting the OLE DB Services connection string keyword to -4
D)
By setting the OLE DB Services connection string keyword to -7

Correct Answer :   By setting the OLE DB Services connection string keyword to -1