ASP.NET MCQ Questions And Answers

This section focuses on "ASP.NET" in C#. These Multiple Choice Questions (MCQs) should be practiced to improve the C# skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. ASP stands for?

A. Active Server Pages
B. Access Server Pages
C. Active Server Platform
D. Active Server Programming

View Answer


2. ASP (aka Classic ASP) was introduced in?

A. 1997
B. 1998
C. 1999
D. 2000

View Answer


3. Classic ASP pages have the file extension?

A. .aspx
B. .net
C. .asp
D. .cs

View Answer


4. Which of the following is true?

A. ASP.NET Web Forms is not a part of the new ASP.NET Core.
B. ASP.NET Web Forms is an event driven application model.
C. ASP.NET MVC is an MVC application model (Model-View-Controller).
D. All of the above

View Answer


5. ASP.NET is?

A. client side technologies
B. server side technologies
C. Both A and B
D. None of the above

View Answer


6. Web.config file is used

A. Configures the time that the server-side codebehind module is called
B. To store the global information and variable definitions for the application
C. To configure the web server
D. To configure the web browser

View Answer


7. Difference between Response.Write() andResponse.Output.Write().

A. Response.Output.Write() allows you to buffer output
B. Response.Output.Write() allows you to write formatted output
C. Response.Output.Write() allows you to flush output
D. Response.Output.Write() allows you to stream output

View Answer


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

A. System.Web.UI.Page
B. System.Web.UI.Form
C. System.Web.GUI.Page
D. System.Web.Form

View Answer


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

A. ControlToValidate
B. ControlToBind
C. ValidateControl
D. Validate

View Answer


10. Default Session data is stored in ASP.Net.

A. StateServer
B. Session Object
C. InProcess
D. All of the above

View Answer





Discussion



* You must be logged in to add comment.