Software Engineering Mcqs » ASP.net
Which of the following is TRUE about Windows Authentication in ASP.NET ?

A. Role membership determined only by user programming
B. Automatically determines role membership
C. Asp.net does not support windows authentication
D. None of these

Which of the following allow writing formatted output ?

A. Response.output.write()
B. Response.write()
C. Both a and b
D. None of these

In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this ?

A. Use the imagemap control and randomly select a hotspot to show or hide.
B. Use the adserver control and create an xml file with configuration of the control.
C. Use an imagebutton control to predict randomness of the image to be loaded based on the clicks of the control.
D. Use the image control to hold the image and a calendar control to randomly select a date for each image to be displayed.

How to find out what version of ASP.NET I am using on my machine ?

A. Response.write(version.tostring() );
B. Response.write(system.version.tostring() );
C. Response.write(system.environment.version.tostring() );
D. Not possible

Which language is used to create an ASP.NET code file ?

A. Visual basic
B. C#
C. C++
D. All of the above

What is the significance of Response.AddHeaders( ) ?

A. Adds HTTP headers to output stream
B. Adds tag to rendered page
C. Add headers to the web site
D. None of the above