Home
Current Affairs January 2024

What is the correct answer?

4

A _____________ is a logical naming scheme for grouping related types of

A. objects together.

B. class

C. namespace

D. interface

Correct Answer :

C. namespace


Related Questions

What is the correct answer?

4

To redirect an user to a particular page when a user logs in use

A. Use Response.Redirect in Session_Start event of Global.asax file

B. Use Response.Redirect in Application_Start event of Global.asax file

C. Use Server.MapPath in Session_Start event of Global.asax file

D. Use Server.MapPath in Application_Start event of Global.asax file

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

Checkboxes have same name and different values while Radio Buttons have the reverse

A. True

B. False

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

Cookies can be created with mentioning the expiry date
True

A.

B. False

What is the correct answer?

4

One difference between ASP.NET and ASP is that ASP is more structure than ASP.NET

A. True

B. False

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

In ___________ records are locked when the update method is called

A. LockReadOnly

B. LockPessimistic

C. LockOptimistic

D. LockDynamic

What is the correct answer?

4

To send attachments using SMTP use

A. MailAttachment and MailMessage

B. CDO

C. Any one of the above

D. None of the above

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

In a DataSet if multible tables are used, they are identified by their

A. Names

B. Indexes

C. Any one of the above

D. None of the above

What is the correct answer?

4

Anything appearing after ________ is cleared

A. Response.Flush

B. Response.End

C. Response.Buffer

D. Response.Clear

What is the correct answer?

4

If someone accidentally deletes the Page Directive of an ASP.NET page say "First.aspx" under "Sales", what will you do?

A. <%@ Page Language="vb" Codebehind="FirstQuarter.aspx.vb" Inherits="FirstQuarter"%>

B. <%@ Page Language="vb" Codebehind="FirstQuarter.aspx.vb" ClassName="Sales.FirstQuarter"%>

C. <%@ Page Language="vb" Codebehind="FirstQuarter.aspx.vb" Inherits="Sales.FirstQuarter"%>

D. <%@ Page Language="vb" Codebehind="FirstQuarter.aspx.vb" ClassName="Sales.FirstQuarter" Inherits="FirstQuarter"%>

What is the correct answer?

4

An error handling is Structured when we use

A. On Error GoTo

B. Try Catch

C. Both of the above

D. Any one of the above

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

You can specify a function name in

A. CustomValidator

B. RequiredFieldValidator

C. RangeValidator

D. ValidationSummary

What is the correct answer?

4

To save an XML file from ASP.NET use

A. Save

B. Update

C. SaveXML

D. UpdateXML

What is the correct answer?

4

What class does a Web Service Inherit?

A. System.Web.Services

B. System.Web

C. System.Services

D. System.Web.Page

What is the correct answer?

4

In case of RangeValidator, a TextBox's value can be compared to the values taken from two other TextBoxes

A. True

B. False

What is the correct answer?

4

To set text programmatically without adding extra HTML tags use

A. Literal

B. Response.Write

C. Both of the above

D. None of the above

What is the correct answer?

4

What keyword is necessary to expose a public function as a method of a Web Service?

A. WebSub()

B. WebFunction()

C. WebMethod()

D. WebClass

What is the correct answer?

4

Can you have more than one form declaration on a web form?

A. Yes

B. No

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

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

A. Response

B. Request

C. Session

D. Application

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

A web server control is written as

A. <asp-TextBox ......

B. <asp TextBox ......

C. <aspTextBox ........

D. <asp:TextBox ........

What is the correct answer?

4

Default event handler for Link Label is

A. LinkClicked

B. Clicked

C. LinkActivated

D. ActiveLinkClicked

What is the correct answer?

4

If a page name is WebForm1.aspx and it resides in ../Test/, then it will inherit from

A. WebForm1

B. WebForm1/Test

C. Test/WebForm1

D. Test.WebForm1

What is the correct answer?

4

Choose the form in which Postback occur

A. HTMLForms

B. Webforms

C. Winforms

D. None of these

What is the correct answer?

4

HTML tag equivalent to Panel is

A. Div

B. Br

C. P

D. Span