asp quiz

15
The namespace within the Microsoft .NET framework which provides the functionality to implement transaction processing is System.EnterpriseServices ANSWER System.Security System.Diagnostics System.Data Suppose a .NET programmer wants to convert an object into a stream of bytes then the process is called Serialization ANS Threading RCW AppDomain The technique that allow code to make function calls to .NET applications on other processes and on other machines is .NET Threading .NET Remoting ANS .NET RMT None of the above

Upload: karthik-kumar

Post on 28-Nov-2014

128 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: asp quiz

The namespace within the Microsoft .NET framework which provides the functionality to implement transaction processing is

System.EnterpriseServices ANSWER

System.Security

System.Diagnostics

System.Data

Suppose a .NET programmer wants to convert an object into a stream of bytes then the process is called

Serialization ANS

Threading

RCW

AppDomain

The technique that allow code to make function calls to .NET applications on other processes and on other machines is

.NET Threading

.NET Remoting ANS

.NET RMT

None of the above

Page 2: asp quiz

Which of the following must be done in order to connect data from some data resource to Repeater control?

Set the DataSource property

Call the DataBind method

Both A) and B) ANS

None of the Above

Find the term: The .NET framework which provides automatic memory management using a technique called

Serialization

Garbage Collection ANS

Assemblies

Overriding

GIVE ONE WORD: In .NET the operation of reading metadata and using its contents is known as

Reflection ANS

Enumeration

Binding

Serialization

Page 3: asp quiz

Which of the following is used to send email message from my ASP.NET page?

System.Web.Mail.MailMessage

System.Web.Mail.SmtpMail

Both A) and B) ANS

None of the Above

The type of code found in Code-Behind class is

Server-side code ANS

Client-side code

Both A) and B)

None of the above

Which of the following method is used to obtain details about information types of assembly?

GetTypes

GetType

Both A) and B) ANS

None of the Above

Page 4: asp quiz

Which of the following allow writing formatted output?

Response.Write()

Response.Output.Write() ANS

Both A) and B)

None of the Above

In ASP.NET in form page the object which contains the user name is

Page.User.Identity ANS

Page.User.IsInRole

Page.User.Name

None of the Above

Which of the following can be used to add alternating color scheme in a Repeater control?

AlternatingItemTemplate

DataSource

ColorValidator

None of the Above

http://www.geekinterview.com/quiz/review/41/2774.html

Page 5: asp quiz

Suppose one wants to modify a SOAP message in a SOAP extension then how this can be achieved. Choose the correct option from below:

One must override the method ReceiveMessage ANS

One must override the method InitializeMethod

Both A) and B)

One must override the method ProcessMessage

How many classes can a single .NET DLL contain?

One

Two

None

Many ANS

Which of the following transfer execution directly to another page?

Server.Transfer ANS

Response.Redirect

Both A) and B)

None of the Above

Which of the following is TRUE about Windows Authentication in ASP.NET?

Automatically determines role membership ANS

Role membership determined only by user programming

ASP.NET does not support Windows Authentication

None of the Above

Page 6: asp quiz

In my .NET Framework I have threads. Which of the following denote the possible priority level for the threads?

Normal

AboveNormal

Highest

All the Above ANS

Which of the following denote ways to manage state in an ASP.Net Application?

Session objects

Application objects

ViewState

All the Above ANS

WSDL stands for

Web Server Description Language

Web Server Descriptor Language

Web Services Description Language ANS

Web Services Descriptor Language

In ASP.NET the sessions can be dumped by using

Session.Dump

Session.Abandon ANS

Session.Exit

None of the Above

What is the base class from which all Web forms inherit?

Master Page

Page 7: asp quiz

Page Class ANS

Session Class

None of the Above

Which of the following denote the property in every validation control?

ControlToValidate property

Text property

Both A) and B) ANS

None of the Above

What tags one need to add within the asp:datagrid tags to bind columns manually?

Set AutoGenerateColumns Property to false on the datagrid tag

Set AutoGenerateColumns Property to true on the datagrid tag

It is not possible to do the operation

Set AutomaunalColumns Property to true on the datagrid tag

If one has two different web form controls in a application and if one wanted to know whether the values in the above two different web form control match what control must be used?

DataList

GridView

CompareValidator ANS

Listview

The actual work process of ASP.NET is taken care by

inetinfo.exe

aspnet_isapi.dll

aspnet_wp.exe ANS

None of the Above

Page 8: asp quiz

In ASP.NET application the Global.asax file lie in which directory

ROOT ans

System

Application

None of the Above

In ASP.NET what does the following return< % Response.Write(System.Environment.WorkingSet.ToString())% >

Gives the memory working set ans

Return Null value

Gives Error

None of the Above

Which of the following denote the web control associated with Table control function of ASP.NET?

DataList

ListBox

TableRow ans

All the Above

The control used in ASP.NET to display information from data set but with better formatting and editing behavior is

Panel

Button

DataList ans

None of the Above

In ASP.NET if one wants to maintain session then which of the following is used?

Page 9: asp quiz

In-process storage

Session State Service

Microsoft SQL Server

All the Above ans

Which of the following denote value that can be taken by Cache-Control of ASP.NET?

Public

Private

no-cache

All the Above ans

In ASP.NET if one uses Windows authentication the current request attaches an object called as

Serialization

WindowsPrincipal ans

WindowDatset

None of the AboveIn ASP.NET if you want to allows page developers a way to specify static connections in a content page then the class used is

WebPartManager

ProxyWebPartManagerbbbbbbbbbbb

System.Activator

None of the Above

If in an ASP.NET application one want to create http handlers which of the interface is used

IHttpHandlerFactoryjjjjjjjjjjjjjjjjj

Handler

Page 10: asp quiz

pipeline

None of the above

Which of the following is used to write error message in event Log File?

System.Diagnosticsffffffffffffffff

System.EnterpriseServices

System.Data

None of the Above

The feature in ASP.NET 2.0 that is used to fire a normal postback to a different page in the application is called

Theme

Cross Page Postingggggggggggg

Code-front

None of the above

In ASP.NET page framework an automatic way to associate page events and methods is

AutoEventWireup attribute of the Page directive is set to true ans

AutoEventWireup attribute of the Page directive is set to False

It is not possible to set automatically page events and methods

None of the Above

There is a requirement as follows:A client side already has 25 COM objects and if the requirement is to add a 26th function

Page 11: asp quiz

that must exists only for .NET object without affecting the existing one how to achieve the above?

By CCW ans

By RCW

By RCA

None of the Above

Setting the following properties for object in ASP.NET results in Response.Buffer = True Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0)) Response.Expires = 0 Response.CacheControl = "no-cache"

The session expires

Clears the buffer area

Avoid page to be cachedccccccccccc

None of the Above

Which of the following is true about session in ASP.NET?

ASP.NET automatically delete sessions after configurable timeout intervalgggggggggg

Programmers has to take care of delete sessions after configurable timeout interval

The default time interval is 5 minutes

None of the Above

In ASP.NET if one wants to set the focus on a particular control

Call SETFOCUS

Call SETCONTROL

Call FOCUS methodjhhhhhhhh

None of the above

ASP.NET separates the HTML output from program logic using a feature named as

Exception

Code-behindjjjjjjjjjjjj

Code-front

Page 12: asp quiz

None of the above

If a developer of ASP.NET defines style information in a common location. Then that location is called as

Master Page

Themehhhhhhhhhh

Customization

None of the Above

If one uses ASP.NET configuration system to restrict access which of the following is TRUE?

The access is restricted only to ASP.NET files ans

The access is restricted only to static files and non-ASP.NET resources.

Both A) and B)

None of the Above

Give one word: What model does ASP.NET request processing is based on

Pipeline ans

Waterfall

Top-down

Bottom-up

I have an ASP.NET application. I have a page loaded from server memory. At this instance which of the following methods gets fired

PreRender( )

Load() ans

Unload( )

None of the Above

Page 13: asp quiz

A developer wanted to achieve graphics in his display using ASP.NET. Which of the following web controls are available in ASP.NET to achieve the above?

AdRotator ans

LinkButton

Both A) and B)

None of the Above

What is the Server.MachineName does

Gets the Server’s Machine Name

Gets the Referred Web site name on the server

Gets the Client Machine Name

None