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

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.AdRotator

2. LinkButton

3.Both A and B

4.none of the above

Posted Date:-2022-02-03 10:45:19


Question:
.Give One word: Common type system is built into which of the following

1. CLR

2.RCT

3.RCW

4.GAC

Posted Date:-2022-02-03 10:49:46


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

1.. Reflection

2.Enumeration

3.Binding

4.Serialization

Posted Date:-2022-02-03 10:55:03


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

1.RMT

2.CLR

3.RCT

4.RC

Posted Date:-2022-02-03 10:49:19


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

1.Set AutoGenerateColumns Property to false on the datagrid tag

2. Set AutoGenerateColumns Property to true on the datagrid tag

3. It is not possible to do the operation

4.Set AutomaunalColumns Property to true on the datagrid tag

Posted Date:-2022-02-03 10:53:06


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

1.Public

2.Private

3.no-cache

4.. All the Above

Posted Date:-2022-02-03 10:41:12


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

1.GetTypes

2.GetType

3.Both A and B

4.none of the above

Posted Date:-2022-02-03 10:58:31


Question:
.Which of the following method of the command object is best suited when you have
aggregate functions in a SELECT statement?

1.ExecuteScalar

2.ExecuteReader

3.ExecuteNonQuery

4.None of the mentioned

Posted Date:-2022-02-03 11:27:58


Question:
An e-shopping web portal has a shopping basket control where the list of available
items meant for shopping is displayed.The item list remains unchanged for all users
irrespective of scenerios and it always populates from a database look up table every
time when the page is loaded.For getting better performance and memory
effectiveness,it is appropriate to store the data in

1.Session

2.Cache

3. Server registry

4.All of the Mentioned

Posted Date:-2022-02-03 11:38:45


Question:
Between Windows authentication and SQL Server Authentication, SQL Server
authentication is the trusted one.

1.True

2.False

3.all of the above

4.None of the mentioned

Posted Date:-2022-02-03 11:37:23


Question:
By default, the pooling property with connection string is set as True/False

1. True

2.False

3.all of the above

4.None of the mentioned

Posted Date:-2022-02-03 11:37:04


Question:
DataAdapter object populates a DataSet and resolves updates with the data source.
Yes or No?

1.. Yes

2.No

3.all of the above

4.None of the mentioned

Posted Date:-2022-02-03 11:01:46


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

Posted Date:-2022-02-03 10:50:11


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.Cookie Authentication

2.Passport Authentication

3. Windows Authentication

4.None of the above.

Posted Date:-2022-02-03 10:47:44


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.PreRender( )

2.Load()

3.Unload( )

4.none of the above

Posted Date:-2022-02-03 10:43:53


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

1.IHttpHandlerFactory

2.Handler

3.Pipeline

4.none of the above

Posted Date:-2022-02-03 10:43:29


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

Posted Date:-2022-02-03 10:55:41


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

Posted Date:-2022-02-03 10:50:32


Question:
List the types of Authentication supported by ASP.NET

1. Windows (default)

2.Forms

3.Passport

4.All of the above

Posted Date:-2022-02-03 10:58:59


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

1.Serialization

2.Threading

3.RCW

4.AppDomain

Posted Date:-2022-02-03 10:58:08


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

1.. One must override the method ReceiveMessage

2. One must override the method InitializeMethod

3.Both A and B

4.One must override the method ProcessMessage

Posted Date:-2022-02-03 10:56:06


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.none of the above

Posted Date:-2022-02-03 10:40:49


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

1. System.EnterpriseServices

2. System.Security

3.System.Diagnostics

4.System.Data

Posted Date:-2022-02-03 10:54:06


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

1..NET Threading

2..NET Remoting

3..NET RMT

4..None of the above

Posted Date:-2022-02-03 10:51:01


Question:
There are two classes named TEACHER and STUDENTS.When TEACHER goes
out of the class,STUDENTS should make noise.The scemario best befits to the
concept of "association of two classes behavior-where one class watches another
class for a behavior change and triggers an action from inside itself based on the
behavior change".Which pattern of design it could be?

1. Singleton patter

2.Template pattern

3. Observer pattern

4.None

Posted Date:-2022-02-03 11:38:14


Question:
To improve the performance and scalability of your .NET application. Which one
of the following techniques would help?

1.Connection Strings

2.Connection Pooling

3.SQL Injection

4.Data Adapter

Posted Date:-2022-02-03 11:31:34


Question:
To perform asynchronous data access, what must be added to the connection
string?

1.BeginExecute=true

2.MultiThreaded=true

3.MultipleActiveResultSets=true

4.. Asynchronous=true

Posted Date:-2022-02-03 11:30:19


Question:
When you create a relationship between tables in ADO.NET DataSet

1.a UniqueConstraint is added to the parent table

2.a ForeignKeyConstraint is added to the child table by default

3. Both 1 and 2

4.NONE

Posted Date:-2022-02-03 11:02:16


Question:
Which method is used to commit all changes in the DataSet or DataTable?

1.Update()

2. AcceptChanges()

3.GetChanges()

4.None of the mentioned

Posted Date:-2022-02-03 11:32:01


Question:
Which method is used to Get a value indicating whether the column contains nonexistent or missing values?

1.GetType()

2.IsDBNull ()

3.GetValues ()

4. all the above

Posted Date:-2022-02-03 11:31:11


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

1.AlternatingItemTemplate

2.DataSource

3.ColorValidator

4.none of the above

Posted Date:-2022-02-03 10:59:46


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

1.DataList

2.ListBox

3.TableRow

4.All the above

Posted Date:-2022-02-03 10:44:53


Question:
Which of the following illustrates the benefit of ADO.NET?

1.Interoperability

2.It uses DataSet to represent data in memory that can store data from multiple tables and multiple sources.

3.Disconnected data access

4.All of above

Posted Date:-2022-02-03 11:01:03


Question:
Which of the following is a DataView method?

1.Add

2.Remove

3.Find

4.All the above

Posted Date:-2022-02-03 11:37:46


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.

Posted Date:-2022-02-03 10:52:22


Question:
Which of the following is not the method of DataAdapter?

1.Fill

2.FillSchema

3.ReadData

4.Update

Posted Date:-2022-02-03 11:29:11


Question:
Which of the following is not true about ADO.NET?

1.. ADO.NET enables to create distributed data sharing applications

2.ADO.NET uses XML to transfer data across applications and data source

3.ADO.NET doesn't support disconnected architecture

4.The classes of ADO.NET are defined in the System.Data namespace

Posted Date:-2022-02-03 11:00:39


Question:
Which of the following is not true for ADO.NET DataSet?

1.DataSet provides a disconnected view of a data source

2.Dataset enables to store data from multiple tables and multiple sources

3.We can create relationship between the tables in a DataSet.

4.All of above are true

Posted Date:-2022-02-03 11:02:42


Question:
Which of the following is the event that is exposed by the DataTable object?

1.RowChanged

2.ColumnChanged

3.RowChanging

4.All of above

Posted Date:-2022-02-03 11:28:48


Question:
Which of the following is the method provided by the DataSet object to generate
XML?

1.ReadXML

2.WriteXML

3. GetXML

4.All of above

Posted Date:-2022-02-03 11:29:46


Question:
Which of the following is the object of .NET data provider?

1.Connection

2. Command

3.Data Reader

4.All of above

Posted Date:-2022-02-03 11:01:28


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

Posted Date:-2022-02-03 10:53:45


Question:
You are deploying a Web site to a server managed by a hosting company. The only
access you have to the server is through FTP. You need to precompile and deploy
the Web site without its source files. What should you do?

1.Use the Copy Web tool.

2. Use the Publish Web tool.

3.Use XCOPY

4.Use the Web Setup project Installer

Posted Date:-2022-02-03 10:54:39


Question:
You are working with a DataSet and want to be able to display data, sorted
different ways. How do you do so?

1.Use the Sort method on the DataTable object.

2.Use the DataSet object’s Sort method.

3.Use a DataView object for each sort.

4.Create a DataTable for each sort, using the DataTable object’s Copy method, and then Sort the result.

Posted Date:-2022-02-03 11:30:46


Question:
You are working with a team of developers on a Web site. You copy the Web site
from the staging server to work on it locally. While making changes, you create new
C# source code files and delete old ones. You need to ensure that your changes
propagate to the staging server without affecting any files that you have not
modified. Which tool should you use?

1.XCOPY

2.the Copy Web tool

3.the Publish Web tool

4.a Web Setup project

Posted Date:-2022-02-03 10:48:18


Question:
You create a large, n-tier Web application that has a custom event tracking system.
You need to create a custom event type that enables your event tracking system to
record all relevant event details for all types of events. The events must be stored in
Microsoft SQL Server. From which base type should your custom event type
inherit?

1.IWebEventCustomEvaluator

2.WebEventProvider

3.. WebBaseEvent

4.WebAuditEvent

Posted Date:-2022-02-03 10:42:56


Question:
You create a Web Form. You need to add controls that use adaptive rendering to
display content.The type of content rendered must depend on the device that is
requesting the page. What are two possible ways to achieve this goal? (Each correct
answer presents a complete solution. Choose two.)

1.Add custom controls that emit XHTML to the Web Form

2.. Add custom controls that emit WML to the Web Form.

3.Add mobile controls to the Web Form.

4.Add Web server controls to the Web Form.

Posted Date:-2022-02-03 10:42:31


Question:
You develop a Web application that contains two master pages. You need to
dynamically set the master page when a user views pages in the application. What
should you do?

1.Set Page.MasterPageFile in the Page's Page_Init event

2.Set Page.MasterPageFile in the Page's OnInit event.

3.Set Page.MasterPageFile in the Page's Page_Load event

4. Set Page.MasterPageFile in the Page's Page_PreInit event.

Posted Date:-2022-02-03 10:42:07


Question:
You have a Web application that is configured for personalization. You need to
access personalization data from one of the pages of the Web application by using
the minimum amount of administrative effort. What should you do?

1.Access the personalization data from the Session property of the HttpContext object.

2.Access the personalization data from the Application property of the HttpContext object.

3.Access the personalization data from the Cache property of the HttpContext object.

4.Access the personalization data from the Profile property of the HttpContext object

Posted Date:-2022-02-03 10:41:36


Question:
Your team creates a Web site. The Web site needs to be deployed to a staging
server for performance testing. You plan to make a number of performance
enhancements and then retest.You need to compile and copy the Web site to the
staging server. What should you do?

1. Write a batch file that uses aspnet_compiler.exe

2.Write a batch file that uses InstallUtil.exe.

3.Write a batch file that uses Csc.exe

4.Write a batch file that uses aspnet_wp.exe.

Posted Date:-2022-02-03 10:48:47


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!