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 78 of 87

  • A. Response.Cache.SetNoServerCaching();
  • B. Response.Cache.SetNoCaching();
  • C. Response.Cache.SetNoStore();
  • D. None of these

Explanation: Response.Cache.SetNoStore() instructs clients and intermediary caches not to store the response, making it the standard choice when…

Correct answer: Response.Cache.SetNoStore();
  • A. Webforms
  • B. HTMLForms
  • C. Winforms
  • D. None of these

Explanation: A postback is the process by which an ASP.NET Web Forms page submits a request back to the server for processing.

Correct answer: Webforms
  • A. System.EnterpriseServices
  • B. System.Diagnostics
  • C. System.Data
  • D. All of the above

Explanation: The System.Diagnostics namespace contains event-logging classes such as EventLog, which can write errors and other entries to the Windows…

Correct answer: System.Diagnostics
  • A. DataSource
  • B. ColorValidator
  • C. AlternatingItemTemplate
  • D. None of these

Explanation: Repeater uses AlternatingItemTemplate to define the markup and styling for every other data item, allowing alternating colors or formats.

Correct answer: AlternatingItemTemplate
  • A. XmlNew
  • B. XmlConvert
  • C. XmlSettings
  • D. XmlDocument

Explanation: XmlDocument represents an XML document in memory and can be instantiated and populated with elements, attributes, and text from scratch.

Correct answer: XmlDocument
  • A. Display
  • B. Page_Load
  • C. Render
  • D. The Prerender

Explanation: A custom ASP.NET control produces its visible output by overriding or using the Render method, which writes the control's markup to the…

Correct answer: Render
  • A. Session.Exit
  • B. Session.Close( )
  • C. Session.Discard( )
  • D. Session.Abandon

Explanation: Session.Abandon() explicitly ends the current ASP.NET session and causes its session-state data to be discarded.

Correct answer: Session.Abandon
  • A. RangeValidator
  • B. PatternValidator
  • C. RegularExpressionValidator
  • D. FieldValidator

Explanation: RegularExpressionValidator checks whether input matches a specified pattern, such as an email address or postal code.

Correct answer: RegularExpressionValidator
  • A. HTML
  • B. WML
  • C. JSP
  • D. XML

Explanation: An ASP.NET page ultimately sends markup that browsers render as HTML, even though the server-side page may contain controls and code.

Correct answer: HTML
  • A. Call FOCUS method
  • B. Call SETCONTROL
  • C. Call SETFOCUS
  • D. None of the above

Explanation: ASP.NET controls expose a Focus() method, commonly called as control.Focus(), to move browser focus to that control.

Correct answer: Call FOCUS method
  • A. Top-down
  • B. Bottom-up
  • C. Waterfall
  • D. Pipeline

Explanation: ASP.NET request processing follows a pipeline of ordered stages and modules, such as authentication, authorization, handler execution, and…

Correct answer: Pipeline
  • A. The access is restricted only to ASP.NET files
  • B. The access is restricted only to static files and non-ASP.NET resources.
  • C. Both A and B
  • D. None of the Above

Explanation: ASP.NET authorization rules are processed for resources handled by ASP.NET, such as .aspx pages, but normally do not protect static files…

Correct answer: The access is restricted only to ASP.NET files
  • A. Page Class
  • B. Master Page
  • C. Session Class
  • D. None of these

Explanation: An ASP.NET Web Forms page derives from the System.Web.UI.Page class, which supplies the page lifecycle, controls, and event handling.

Correct answer: Page Class
  • A. XmlSettings
  • B. XmlConvert
  • C. XmlCast
  • D. XmlType

Explanation: System.Xml.XmlConvert provides conversions between common .NET types and their XML Schema representations, including strings, dates…

Correct answer: XmlConvert
  • A. The default time interval is 5 minutes
  • B. Programmers has to take care of delete sessions after configurable timeout interval
  • C. ASP.NET automatically delete sessions after configurable timeout interval
  • D. None of the Above

Explanation: ASP.NET uses the session timeout setting, 20 minutes by default, and expires inactive session state automatically.

Correct answer: ASP.NET automatically delete sessions after configurable timeout interval
  • A. System.Activator
  • B. ProxyWebPartManager
  • C. WebPartManager
  • D. None of these

Explanation: ProxyWebPartManager is used in a content page to define static connections whose actual providers and consumers may be declared elsewhere…

Correct answer: ProxyWebPartManager
  • A. Application objects
  • B. Session objects
  • C. ViewState
  • D. All of the above

Explanation: ASP.NET state can be maintained at application scope through Application objects, at user-session scope through Session objects, and at…

Correct answer: All of the above
  • A. Global variable
  • B. Cookies
  • C. Database
  • D. Database

Explanation: ASP.NET stores the session identifier in a cookie by default, usually named ASP.NET_SessionId.

Correct answer: Cookies
  • A. CurrentUICulture
  • B. CurrentCulture
  • C. All of the above
  • D. None of these

Explanation: CurrentCulture controls culture-sensitive dates, numbers, currencies, sorting, and formatting, while CurrentUICulture primarily selects…

Correct answer: CurrentCulture
  • A. To create a customized control that needs to display data in a tabular fashion
  • B. To create and populate a Table in Design view
  • C. To create and populate a Table with images
  • D. To display a tabular result set

Explanation: The Table, TableRow, and TableCell server controls are most useful when code must construct or customize a tabular display dynamically.

Correct answer: To create a customized control that needs to display data in a tabular fashion