All Free Software Engineering MCQs with Answers

Every Software Engineering question in the bank, across all chapters, each with the correct answer and a written explanation. Free and unlimited, with no account needed.

1,731 questions · page 75 of 87

  • A. Avoid page to be cached
  • B. Clears the buffer area
  • C. The session expires
  • D. None of the Above

Explanation: These settings disable browser and proxy caching by setting an already-expired date, zero expiry, and a no-cache directive.

Correct answer: Avoid page to be cached
  • A. Cross Page Posting
  • B. Code-front
  • C. Theme
  • D. None of the above

Explanation: Cross-page posting lets a form submit normally to another ASP.NET page, where the target page can access the previous page's controls and…

Correct answer: Cross Page Posting
  • A. Visual Basic
  • B. C#
  • C. C++
  • D. All of the above

Explanation: ASP.NET code-behind can be written in .NET languages such as Visual Basic and C#, and managed C++ can also target the .NET runtime.

Correct answer: All of the above
  • A. Response.Write(Version.ToString() );
  • B. Response.Write(System.Version.ToString() );
  • C. Response.Write(System.Environment.Version.ToString() );
  • D. not possible

Explanation: System.Environment.Version returns the version of the CLR running the application, which commonly identifies the installed ASP.NET/.NET…

Correct answer: Response.Write(System.Environment.Version.ToString() );
  • A. The GridView control
  • B. The DetailsView control
  • C. The FormView control
  • D. The Table control

Explanation: GridView displays multiple records in tabular form, supports paging such as ten clients per page, and provides row editing features.

Correct answer: The GridView control
  • 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

Explanation: Windows Authentication obtains the user's Windows identity and group membership, allowing ASP.NET to determine roles from the Windows…

Correct answer: Automatically determines role membership
  • A. Automatic paging
  • B. Automatic data binding
  • C. Both A and B
  • D. None of the above

Explanation: GridView supports built-in paging and can bind automatically when connected to a data source through its DataSourceID property.

Correct answer: Both A and B
  • A. It is not possible to set automatically page events and methods
  • B. AutoEventWireup attribute of the Page directive is set to False
  • C. AutoEventWireup attribute of the Page directive is set to true
  • D. All of the above

Explanation: Setting the Page directive's AutoEventWireup attribute to true automatically connects page events such as Page_Load with their matching…

Correct answer: AutoEventWireup attribute of the Page directive is set to true
  • A. String
  • B. Integer
  • C. Date
  • D. All of the above

Explanation: RangeValidator can compare values of several types, including strings, integers, and dates, using its Type property.

Correct answer: All of the above
  • A. The default constructor
  • B. The Control_Build() method
  • C. The Paint() method
  • D. The Render() method

Explanation: A custom ASP.NET server control commonly overrides Render to write its HTML output to the response.

Correct answer: The Render() method
  • A. Assemblies
  • B. Serialization
  • C. Overriding
  • D. Garbage Collection

Explanation: Garbage collection automatically identifies objects that are no longer reachable and reclaims their memory.

Correct answer: Garbage Collection
  • A. AboveNormal
  • B. Normal
  • C. Highest
  • D. All of the above

Explanation: ThreadPriority includes AboveNormal, Normal, and Highest, along with BelowNormal and Lowest.

Correct answer: All of the above
  • A. Session.Abandon
  • B. Session.Dump
  • C. Session.Exit
  • D. None of these

Explanation: Session.Abandon() ends the current session and discards its stored session state. Dump and Exit are not standard ASP.NET Session methods.

Correct answer: Session.Abandon
  • A. Windows
  • B. Anonymous
  • C. Basic Authentication
  • D. None of these

Explanation: IIS commonly has Anonymous Authentication enabled by default, allowing access without users supplying credentials.

Correct answer: Anonymous
  • A. Viewstate can store onlys string
  • B. Viewstate can store anything
  • C. Viewstate can store only serilizable object
  • D. None of these

Explanation: ViewState is serialized before being stored in the page, so its values must be serializable objects rather than arbitrary objects or…

Correct answer: Viewstate can store only serilizable object
  • A. app_offline.html
  • B. app_offline.htm
  • C. appoffline.html
  • D. None of these

Explanation: ASP.NET recognizes the specially named app_offline.htm file in the application root and serves it while taking the application offline.

Correct answer: app_offline.htm
  • A. DataList
  • B. TableRow
  • C. ListBox
  • D. All the Above

Explanation: TableRow is the ASP.NET server control used to represent a row inside a Table control.

Correct answer: TableRow
  • A. SqlDataSource
  • B. FormView
  • C. GridView
  • D. All of the above

Explanation: SqlDataSource supplies data, while FormView and GridView display or edit bound data, so all three are ASP.NET data-bound controls.

Correct answer: All of the above
  • A. Visual Basic
  • B. C
  • C. C#
  • D. All of the above

Explanation: ASP.NET supports C# as a server-side language, and Visual Basic is also commonly supported.

Correct answer: C#
  • A. System
  • B. ROOT
  • C. Application
  • D. None of the Above

Explanation: Global.asax belongs in the application's root directory, where ASP.NET can detect application-level events such as startup and session…

Correct answer: ROOT