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

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

1.DataList

2.GridView

3.CompareValidator

4.Listview


Question:
 In .NET the operation of reading metadata and using its contents is known as ______?

1.Reflection

2.Enumeration

3. Binding

4. Serialization


Question:
 In ASP.NET the < authorization > section contain which of the following elements?

1.< deny >

2.< allow >

3. Both A. and B.

4. None of the above


Question:
 Web.config file is used...

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

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

3. To configure the web server

4.To configure the web browser


Question:
 Where do we include the user lists for windows authentication?

1.< Credential>

2.< authorization>

3. < identity>

4.< authentiation>


Question:
 Which object can help you maintain data across users?

1. Application object

2.Session object

3. Response object

4. Server object


Question:
 Which of the following is not the way to maintain state?

1. View state

2.Cookies

3.Hidden fields

4. Request object


Question:
 Which of the following transfer execution directly to another page?

1.Server.Transfer

2. Response.Redirect

3.Both A. and B.

4.none of the above


Question:
A web application can contain _______ .

1.Only One Web.Config File

2. Only Two Web.Config File

3.more than one Web.config file

4.No file.


Question:
An alternative way of displaying text on web page using

1. asp:label

2. asp:listitem

3.asp:button

4.None of the mentioned


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

1. ControlToValidate

2.ControlToBind

3.ValidateControl

4. Validate


Question:
By default, code written with the Debug class is stripped out of release builds.

1. Yes

2. no

3.all of the above

4.None of the mentioned


Question:
Caching type supported by ASP.Net

1.Output Caching

2. DataCaching

3. a and b

4. None of the above


Question:
Choose the form in which Postback occur

1. HTMLForms

2. Webforms

3.Winforms

4.None of the mentioned


Question:
Default scripting language in ASP.

1. EcmaScript

2. VBScript

3. PERL

4.JavaScript


Question:
Difference between Response.Write() andResponse.Output.Write().

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

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

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

4. Response.Output.Write() allows you to stream output


Question:
File extension used for ASP.NET files.

1. .Web

2..ASP

3..ASPX

4. None of the above


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

1. Serialization

2. Garbage Collection

3.Assemblies

4. Overriding


Question:
How do we create a FileSystemObject?

1. Server.CreateObject("Scripting.FileSystemObject")

2. Create("FileSystemObject")

3.Create Object:"Scripting.FileSystemObject"

4.Server.CreateObject("FileSystemObject")


Question:
How do you get information from a form that is submitted using the "post" method?

1. Request.QueryString

2.Request.Form

3.Response.write

4. Response.writeln


Question:
In ASP.NET in form page the object which contains the user name is ______ ?

1.Page.User.Identity

2.Page.User.IsInRole

3.Page.User.Name

4. None of the above


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

1. Normal

2. AboveNormal

3. Highest

4. all the above


Question:
Mode of storing ASP.NET session

1. InProc

2. StateServer

3. SQL Server

4. All of the above


Question:
The .NET Framework provides a runtime environment called..... ?

1.RMT

2. CLR

3. RCT

4.RC


Question:
The first event triggers in an aspx page is.

1.Page_Init()

2. Page_Load()

3.Page_click()

4.None of the mentioned


Question:
The ________ property affects how the .Net Framework handles dates, currencies, sorting and formatting issues.

1. CurrentUICulture

2.CurrentCulture

3.all of the above

4.None of the mentioned


Question:
We can manage states in asp.net application using

1. Session Objects

2.Application Objects

3. Viewstate

4. All of the above


Question:
What attributes do you use to hide a public .Net class from COM?

1. DLLImport Attributes

2.ComVisible attributes

3. COM Interop

4.All of the Mentioned


Question:
What class does the ASP.NET Web Form class inherit from by default?

1. System.Web.UI.Page

2. System.Web.UI.Form

3.System.Web.GUI.Page

4. System.Web.Form


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

1.Master Page

2.Page Class

3.Session Class

4.none of the above


Question:
What is used to validate complex string patterns like an e-mail address?

1. Extended expressions

2. Basic expressions

3. Regular expressions

4. Irregular expressions


Question:
Which DLL translate XML to SQL in IIS?

1. SQLISAPI.dll

2. SQLXML.dll

3. LISXML.dll

4.SQLIIS.dll


Question:
Which of the following ASP.NET object encapsulates the state of the client?

1.Session object

2. Application object

3. Response object

4.Server object


Question:
Which of the following authentication is best suited for a corporate network?

1. Windows

2. Form

3. User

4. All of the mentioned


Question:
Which of the following control is used to validate that two fields are equal?

1. RegularExpressionValidator

2. CompareValidator

3.equals() method

4.RequiredFieldValidator


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

1.Session objects

2. Application objects

3. ViewState

4.All the above


Question:
Which of the following is FALSE?

1. ASP.NET applications run without a Web Server

2. ASP+ and ASP.NET refer to the same thing

3. ASP.NET is a major upgrade over ASP

4.none of the above


Question:
Which of the following is faster and consume lesser memory?

1.SQLDataReader

2.Data Set

3.all of the above

4.None of the mentioned


Question:
Which of the following is the performance attributes of processModel?

1.requestQueue limit

2. maxWorkerThreads

3. maxIdThreads

4.All of the Mentioned


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

1.System.Web.Mail.MailMessage

2.System.Web.Mail.SmtpMail

3. Both A. and B.

4.None of the above.


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

1. The Paint() method

2. The Control_Build() method

3. The default constructor

4.The Render() method


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

1. Set the DataSource property

2.Call the DataBind method

3.Both A. and B.

4. None of the above


Question:
Which of the following object is not an ASP component?

1.LinkCounter

2. Counter

3. AdRotator

4.File Access


Question:
Which of the following object is used along with application object in order to ensure that only one process accesses a variable at a time?

1. Synchronize

2. Synchronize()

3.ThreadLock

4. Lock()


Question:
Which of the following tool is used to manage the GAC?

1. RegSvr.exe

2. GacUtil.exe

3.GacSvr32.exe

4.GacMgr.exe


Question:
Why is Global.asax is used?

1. Declare Global variables

2.Implement application and session level events

3. No use

4.None of the mentioned


Question:
You can have only one Global.asax file per project.

1.Yes

2. no

3.all of the above

4.None of the mentioned


Question:
______ element in the web.config file to run code using the permissions of a specific user

1. < credential> element

2. < authentication> element

3.< authorization> element

4. < identity> element


Question:
______ tests make sure that new code does not break existing code.

1. Regression tests

2. Integration tests

3. Unit tests

4. Load test


Question:
_______ is a special subfolder within the windows folder that stores the shared .NET component.

1. /bin

2. GAC

3.Root

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
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite 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!