Showing posts with label asp.net multiple choice questions. Show all posts
Showing posts with label asp.net multiple choice questions. Show all posts

To add a custom control to a Web form we have to register with.

A.   TagPrefix
B.   Name space of the dll that is referenced
C.   Assemblyname
D.   All of the above

Ans: D

Which of the following ASP.Net is true?

A.   User controls are displayed correctly in the Visual Studio .NET Designer
B.   Custom controls are displayed correctly in VS.Net Designer
C.   User and Custom controls are displayed correctly in the Visual Studio .NET Designer.

Ans: B

How do you register a user control?

A.   Add Tag prefix, Tag name
B.   Add Source, Tag prefix
C.   Add Src, Tagprefix, Tagname

Ans: C

What namespace does the Web page belong in the .NET Framework class hierarchy?

A.   System.web.UI.Page
B.   System.Windows.Page
C.   System.Web.page

Ans: A


The first event to be triggered in an aspx page is.

A.   Page_Load()
B.   Page_Init()
C.   Page_click()

Ans: B

When an .aspx page is requested from the web server, the out put will be rendered to browser in following format.

A.   HTML
B.   XML
C.   WML
D.   JSP

Ans: A

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

A.   Automatically determines role membership
B.   Role membership determined only by user programming
C.   ASP.NET does not support Windows Authentication
D.   None of the Above

Ans: Automatically determines role membership

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

A.   System.EnterpriseServices
B.   System.Security
C.   System.Diagnostics
D.   System.Data

Ans: A


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

A.   .NET Threading
B.   .NET Remoting
C.   .NET RMT
D.   None of the above

Ans:  .NET Threading


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

A.   Serialization
B.   Threading
C.   RCW
D.   AppDomain

Ans: Serialization

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

A.   AlternatingItemTemplate
B.   DataSource
C.   ColorValidator
D.   None of the Above

Ans: AlternatingItemTemplate

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

A.   Control To Validate property
B.   Text property
C.   Both A. and B.
D.   None of the Above
Ans: Both A. and B.

Which of the following allow writing formatted output?

A.   Response.Write()
B.   Response.Output.Write()
C.   Both A. and B.
D.   None of the Above
Ans: Response.Output.Write()

Common type system is built into which of the following:

A.   CLR
B.   RCT
C.   RCW
D.   GAC

Ans: CLR

The type of code found in Code-Behind class is ________ ?

A.   Server-side code
B.   Client-side code
C.   Both A. and B.
D.   None of the above

Ans: Server-side code

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

A.   < deny >
B.   < allow >
C.   Both A. and B.
D.   None of the Above
Ans: Both A. and B.

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

A.   Reflection
B.   Enumeration
C.   Binding
D.   Serialization
Ans: Reflection

Which of the following transfer execution directly to another page?

A.   Server.Transfer
B.   Response.Redirect
C.   Both A. and B.
D.   None of the Above

Ans: Server.Transfer


Which of the following ASP.Net Statement is FALSE?

A.   ASP.NET applications run without a Web Server
B.   ASP+ and ASP.NET refer to the same thing
C.   ASP.NET is a major upgrade over ASP
D.   None of the Above
Ans: None of the Above

WSDL stands for __________ ?

A.   Web Server Description Language
B.   Web Server Descriptor Language
C.   Web Services Description Language
D.   Web Services Descriptor Language
Ans: Web Services Description Language