ASP.Net/ASP.Net Mcq Question Set 8 Sample Test,Sample questions

Question:
 A Web Application Running On Multiple Servers Is Called As

1.Webfarm

2.WebForm

3.Website

4.None of the mentioned


Question:
 Can A Dll Run As Stand Alone Application ?

1. No

2. Yes

3. Sometimes we can make it by introducing some code

4.None of the mentioned


Question:
 How Many Configuration Files Can An ASP.NET Projects Have?

1. More Than One

2. One

3.None of the above

4.None of the mentioned


Question:
 If In An ASP.NET Application One Want To Create Http Handlers Which Of The Interface Is Used

1.pipeline

2. Handler

3.IHttpHandlerFactory

4.None of the mentioned


Question:
 In ASP.NET If One Uses Windows Authentication The Current Request Attaches An Object Called As

1.Serialization

2.WindowsPrincipal

3. WindowDatset

4.None of the mentioned


Question:
 In ASP.NET If One Wants To Set The Focus On A Particular Control

1. Call SETFOCUS

2.Call SETCONTROL

3.Call FOCUS method

4.None of the mentioned


Question:
 It Is Possible To Set Maximum Length For A Text Box Through Code

1. True

2.False

3.None of the above

4.All of the Mentioned


Question:
 The Control Used In ASP.NET To Display Information From Data Set But With Better Formatting And Editing Behavior Is

1.Panel

2. Button

3.DataList

4.None of the mentioned


Question:
 The Following Are The Minimum Requirement To Run Asp.Net Pages

1. Java Virtual Machine

2. Common Language Runtime

3.Windows explorer

4.None of the mentioned


Question:
 The Interface Used By ASP.Net To Create Unique Id’s?

1.AppDomainsetup

2. System.UI.Naming.Container

3. IAsyncResult

4.None of the mentioned


Question:
 What Is The Default Session Out Time

1. 20 Sec

2.20 Min

3.1 hr

4.None of the mentioned


Question:
 When A .Aspx Page Is Requested From The Web Server, The Out Put Will Be Rendered To Browser In Following Format.

1. HTML

2. XML

3.WML

4.None of the mentioned


Question:
< Asp : Listitem > Tag Replaces Which Of The Following HTML Tags

1.< Option >

2.< UL >

3.< List >

4.None of the mentioned


Question:
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?

1. LinkButton

2.AdRotator

3.Both

4.All of the Mentioned


Question:
An Organization Has Developed A Web Service In Which The Values Of The Forms Are Validated Using ASP.NET Application. Suppose This Web Service Is Got And Used By A Customer Then In Such A Scenario Which Of The Following Is TRUE

1. Such a situation cannot happen at all

2.The customer must be having technology that run ASP.

3.The customer can run on any platform. (ANS)

4.None of the mentioned


Question:
ASP.NET Separates The HTML Output From Program Logic Using A Feature Named As

1. Exception

2.Code-behind

3.Code-front

4.All of the Mentioned


Question:
Asp:dropdownlist> Tag Replaces Which Of The HTML Tags

1. < Option >

2.< Select >

3. < List >

4.None of the mentioned


Question:
Does The “EnableViewState” Allows The Page To Save The Users Input On A Form

1. Yes

2.No

3.None of the above

4.None of the mentioned


Question:
Forms Based Authentication Is Otherwise Called In ASP.NET As Cookie Authentication Because Forms Authentication Uses Cookies To Allow Applications To Track Users Throughout Their Visit.

1.Windows Authentication

2.Passport Authentication

3.Cookie Authentication

4.None of the mentioned


Question:
Give One Word: What Model Does ASP.NET Request Processing Is Based On

1.Bottom-up

2.Waterfall

3. Pipeline

4.None of the mentioned


Question:
How ASP.Net Different From ASP

1. Scripting is separated from the HTML, Code is interpreted seperately

2.Scripting is separated from the HTML, Code is compiled as a DLL, the DLLs can be executed on server

3.Code is separated from the HTML and interpreted Code is interpreted separately

4.None of the mentioned


Question:
How Do You Disable Client Side Validation ?

1. Set the language property to C#

2. Set the Runat property to server

3. Set the ClientTarget property to Downlevel

4.None of the mentioned


Question:
How Do You Trace The Application_End Event On Runtime?

1.By Debugging

2.By Tracing

3.Can not be done

4.None of the mentioned


Question:
I Have An ASP.NET Application. I Have A Page Loaded From Server Memory. At This Instance Which Of The Following Methods Gets Fired

1. Unload( )

2. Load()

3.PreRender( )

4.None of the mentioned


Question:
If A Developer Of ASP.NET Defines Style Information In A Common Location. Then That Location Is Called As

1.Master Page

2.Theme

3.Customization

4.None of the mentioned


Question:
If One Uses ASP.NET Configuration System To Restrict Access Which Of The Following Is TRUE?

1.The access is restricted only to ASP.NET files

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

3.Both

4.None of the mentioned


Question:
In ASP.NET Application The Global.Asax File Lie In Which Directory

1. Application

2.System

3. Root

4.All of the Mentioned


Question:
In ASP.NET If One Wants To Maintain Session Then Which Of The Following Is Used?

1.In-process storage

2. Microsoft SQL Server

3.All the above

4.None of the mentioned


Question:
In ASP.NET If You Want To Allows Page Developers A Way To Specify Static Connections In A Content Page Then The Class Used Is

1.WebPartManager

2.ProxyWebPartManager

3.System.Activator

4.None of the mentioned


Question:
In ASP.NET Page Framework An Automatic Way To Associate Page Events And Methods Is

1.AutoEventWireup attribute of the Page directive is set to true

2. AutoEventWireup attribute of the Page directive is set to False

3. It is not possible to set automatically page events and methods

4.None of the mentioned


Question:
In ASP.NET What Does The Following Return < % Response.Write(System.Environment.WorkingSet.ToString()) % >

1.Gives Error

2.Return Null value

3.Gives the memory working set

4.None of the mentioned


Question:
Select The Validation Control Used For “PatternMatching”

1. FieldValidator

2.RangeValidator

3.RegularExpressionValidator

4.None of the mentioned


Question:
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"

1. Avoid page to be cached

2. Clears the buffer area

3. The session expires

4.None of the mentioned


Question:
The Best Way To Delimit ASP.Net Code From HTML Code In Your Pages Is By Using --------------- Tags.

1. < Body >

2. < Head >

3.< Script >

4.None of the mentioned


Question:
The Feature In ASP.NET 2.0 That Is Used To Fire A Normal Postback To A Different Page In The Application Is Called

1.Theme

2. Cross Page Posting

3.Code-front

4.All of the Mentioned


Question:
The GridView Control In ASP.NET Has Which Of The Following Features

1. Automatic data binding

2.Automatic paging

3.Both

4.None of the mentioned


Question:
To Set Page Title Dynamically In ASP.NET Which Of The Following Is Used?

1.< sheet > section

2.< tail > section

3. < head > section

4.All of the Mentioned


Question:
What Executable Unit Gets Created When We Build An ASP.Net Application?

1.. DLL

2. . EXE

3. . COM

4.None of the mentioned


Question:
What Is The Extension Of A Web User Control File ?

1. .Asmx

2. .Ascx

3..aspx

4.None of the mentioned


Question:
What Is The Transport Protocol Used To Call A Webservice

1.HTTP

2.SOAP

3.TCP

4.None of the mentioned


Question:
What’s The Difference Between Response.Write() AndResponse.Output.Write()?

1.Response.Output.Write() allows you to flush output

2. Response.Output.Write() allows you to buffer output

3. Response.Output.Write() allows you to write formatted output

4.None of the mentioned


Question:
Which Of The Following Can Be Used To Debug .NET Application?

1. Systems.Diagnostics classes

2. Runtime Debugger

3.All the above

4.None of the mentioned


Question:
Which Of The Following Denote New Data-Bound Controls Used With ASP.NET

1. GridView

2.FormView

3.All the above

4.All of the Mentioned


Question:
Which Of The Following Denote Page Code Model In ASP.NET?

1.single-file

2. code-behind

3. Both A & B

4.None of the mentioned


Question:
Which Of The Following Denote The Web Control Associated With Table Control Function Of ASP.NET?

1.DataList

2. ListBox

3. TableRow

4.None of the mentioned


Question:
Which Of The Following Denote Value That Can Be Taken By Cache-Control Of ASP.NET?

1.Public

2. Private

3.All the above

4.None of the mentioned


Question:
Which Of The Following Is True About Session In ASP.NET?

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

2. ASP.NET automatically delete sessions after configurable timeout interval

3.None of the above

4.All of the Mentioned


Question:
Which Of The Following Is Used To Write Error Message In Event Log File?

1. System.Data

2.System.EnterpriseServices

3.System.Diagnostics

4.None of the mentioned


Question:
Which Property Of The Session Object Is Used To Set The Local Identifier ?

1. SessionId

2.LCID

3.Item

4.None of the mentioned


Question:
Who Can Access Session State Variables

1.All Users of an application

2. A Single session

3. All users within a single tunnel

4.None of the mentioned


More MCQS

  1. ASP.Net Mcq Question Set 1
  2. ASP.Net Mcq Question Set 2
  3. ASP.Net Mcq Question Set 3
  4. ASP.Net Mcq Question Set 4
  5. ASP.Net Mcq Question Set 5
  6. ASP.Net Mcq Question Set 6
  7. ASP.Net Mcq Question Set 7
  8. ASP.Net Mcq Question Set 8
  9. ASP.Net Mcq Question Set 9
  10. ASP.Net Mcq Question Set 10
  11. ASP.Net Mcq Question Set 11
  12. ASP.Net Mcq Question Set 12
  13. ASP.Net Mcq Question Set 13
  14. ASP.Net Mcq Question Set 14
  15. Silverlight mcq questios and answer
  16. Microsoft Silverlight MCQ Questions & Answers
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!