Home
Current Affairs January 2024

What is the correct answer?

4

Web.config file is used...

A. Configures the time that the server-side codebehind module is called

B. To store the global information and variable definitions for the application

C. To configure the web server

D. To configure the web browser

Correct Answer :

B. To store the global information and variable definitions for the application


Related Questions

What is the correct answer?

4

The HTML control that helps to browse a file is

A. File

B. FileBrowser

C. Browser

D. Select

What is the correct answer?

4

Menus can be added to an ASP.NET Page

A. True

B. False

What is the correct answer?

4

This tag in Repeater control is mandatory

A. AlternateTemplate

B. ItemTemplate

C. SeperatorTemplate

D. FooterTemplate

What is the correct answer?

4

In case of a CompareValidator, a TextBox's value can be compared to an expression

A. True

B. False

What is the correct answer?

4

An alternative way of displaying text on web page using

A. asp:label

B. asp:listitem

C. asp:button

D. None of these

What is the correct answer?

4

In ___________ records are locked when the update method is called

A. LockReadOnly

B. LockPessimistic

C. LockOptimistic

D. LockDynamic

What is the correct answer?

4

Of the following controls which can be used to add a control at runtime

A. Panel

B. Image

C. Label

D. All of the above

What is the correct answer?

4

To write an attribute for a tag through ASP.NET use

A. WriteAttribute

B. WriteStartAttribute

C. WriteAttributeString

D. WriteElementString

What is the correct answer?

4

ASP.NET use

A. Compiler

B. Interpreter

What is the correct answer?

4

Which of the following method must be overridden in a custom control?

A. The Paint() method

B. The Control_Build() method

C. The default constructor

D. The Render() method

What is the correct answer?

4

To open Microsoft Word from ASP.NET page use

A. Response.Content

B. Response.ContentType

C. Request.Content

D. Request.ContentType

What is the correct answer?

4

_________ object represents all information sent form a server to a browser

A. Response

B. Request

C. Session

D. Application

What is the correct answer?

4

A DataSet can be generated from

A. Page and DataConnection Object

B. DataAdapter and Page Object

C. DataAdapter and DataConnection Object

D. All of the above

What is the correct answer?

4

To pass queries to Crystal Reports use

A. SelectionFormula

B. Formula

C. Filter

D. None of the above

What is the correct answer?

4

Which of the following object is not an ASP component?

A. LinkCounter

B. Counter

C. AdRotator

D. File Access

What is the correct answer?

4

In ASP.NET, the default method of a form is

A. Get

B. Post

What is the correct answer?

4

.FileInfo gives information about any file and .File gives information about a particular file

A. True

B. False

What is the correct answer?

4

Under Button Click the following code is written
1. Dim I =10
2. MsgBox(I)

A. Problem is in line 1

B. Problem is in line 2

C. Will display 10 in a message box

D. Compilation Error

What is the correct answer?

4

Default Session data is stored in ASP.Net.

A. StateServer

B. Session Object

C. InProcess

D. all of the above

What is the correct answer?

4

____________ enables you to add, modify and delete records but you won't see the changes made by other users

A. OpenForwardOnly

B. OpenKeyset

C. OpenDynamic

D. OpenStatic

What is the correct answer?

4

To make an HTML control behave as a Server control, ___________ option must be set.

A. Server Control

B. Run As Server Control

C. Run As Web Control

What is the correct answer?

4

You can send an e-mail with an attachment using only SmtpMail class

A. True

B. False

What is the correct answer?

4

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

A. ControlToValidate

B. ControlToBind

C. ValidateControl

D. Validate

What is the correct answer?

4

Caching type supported by ASP.Net

A. Output Caching

B. DataCaching

C. a and b

D. none of the above

What is the correct answer?

4

To count the number of times an user visited a page, use

A. Session variables

B. Application variables

C. Cookies

D. Server variables

What is the correct answer?

4

Anything appearing before ________ is cleared

A. Response.Flush

B. Response.End

C. Response.Buffer

D. Response.Clear

What is the correct answer?

4

____________ enables you to set a particular date when a page should no longer be cached by a browser or proxy server

A. Response.Expires

B. Session.Timeout

C. Response.ExpiresAbsolute

D. Response.CacheControl

What is the correct answer?

4

____________ converts virtual path to default path

A. Server.MapPath and Request.MapPath

B. Server.MapPath and Response.MapPath

C. Response.MapPath and Request.MapPath

D. All of the above

What is the correct answer?

4

File extension used for ASP.NET files.

A. .Web

B. .ASP

C. .ASPX

D. None of the above

What is the correct answer?

4

ASP.NET can be installed on Windows 98 machine

A. True

B. False