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

  • A. equals() method
  • B. RegularExpressionValidator
  • C. RequiredFieldValidator
  • D. CompareValidator

Explanation: CompareValidator checks one control's value against another, such as confirming that a password and its confirmation match.

Correct answer: CompareValidator
  • A. Implement application and session level events
  • B. Declare Global variables
  • C. No use
  • D. All of the above

Explanation: Global.asax handles application-level and session-level events such as Application_Start and Session_Start.

Correct answer: Implement application and session level events
  • A. Server.CreateObject("Scripting.FileSystemObject")
  • B. Create Object:"Scripting.FileSystemObject"
  • C. Server.CreateObject("FileSystemObject")
  • D. Create("FileSystemObject")

Explanation: In classic ASP, Server.CreateObject creates COM objects, and the ProgID for the file-system object is Scripting.FileSystemObject.

Correct answer: Server.CreateObject("Scripting.FileSystemObject")
  • A. Windows XP Professional
  • B. Windows 2000
  • C. Both A and B
  • D. None of these

Explanation: ASP.NET can run on both Windows 2000 and Windows XP Professional when the required .NET Framework and IIS support are installed.

Correct answer: Both A and B
  • A. ControlToValidate property
  • B. Text property
  • C. Both A and B
  • D. None of these

Explanation: Typical ASP.NET validator controls expose ControlToValidate to identify the input being checked and Text to specify the validation…

Correct answer: Both A and B
  • A. Web Server Descriptor Language
  • B. Web Server Description Language
  • C. Web Services Description Language
  • D. Web Services Descriptor Language

Explanation: WSDL expands to Web Services Description Language, the XML-based language used to describe a web service's operations, messages, and…

Correct answer: Web Services Description Language
  • A. CompareValidator
  • B. DataList
  • C. Listview
  • D. GridView

Explanation: CompareValidator compares the value of one input control with another, such as confirming a password.

Correct answer: CompareValidator
  • A. CLR
  • B. RMT
  • C. RC
  • D. RCT

Explanation: The Common Language Runtime, or CLR, executes .NET applications and provides services such as memory management, type safety, and…

Correct answer: CLR
  • A. Extended expressions
  • B. Irregular expressions
  • C. Regular expressions
  • D. Basic expressions

Explanation: Regular expressions describe structured text patterns, making them suitable for checking formats such as email addresses.

Correct answer: Regular expressions
  • A. 10 sec
  • B. 20 sec
  • C. 20 min
  • D. 40 min

Explanation: ASP.NET's default session-state timeout is 20 minutes after the last request from the user.

Correct answer: 20 min
  • A. Private
  • B. no-cache
  • C. Public
  • D. All of the above

Explanation: ASP.NET Cache-Control can use public, private, and no-cache directives to control whether responses may be stored and reused.

Correct answer: All of the above
  • A. WindowsPrincipal
  • B. WindowDatset
  • C. Serialization
  • D. None of the Above

Explanation: With Windows authentication, ASP.NET associates the request's user with a WindowsPrincipal, which carries the Windows identity and role…

Correct answer: WindowsPrincipal
  • A. Use View State
  • B. Use URL munging
  • C. Disable ViewState and use Session State
  • D. Disable View State and don't use session state

Explanation: View State stores the grid data in each page response, increasing bandwidth and processing overhead for many concurrent users.

Correct answer: Disable View State and don't use session state
  • A. ValidateControl
  • B. ControlToValidate
  • C. ControlToBind
  • D. Validate

Explanation: `ControlToValidate` identifies the input control whose value a validator should check.

Correct answer: ControlToValidate
  • A. Maps the specified absolute path to virtual path
  • B. Maps the specified virtual path to a physical path
  • C. All of the above
  • D. None of the above

Explanation: `Request.MapPath()` converts an application-relative or virtual path, such as `~/Files/a.txt`, into its physical path on the server.

Correct answer: Maps the specified virtual path to a physical path
  • A. Maintain the login state security through a View State.
  • B. Maintain the login state security through a Session.
  • C. Maintain the login state security through a database.
  • D. All of the above

Explanation: With round-robin load balancing, a later request may reach a different server, so in-memory View State or Session State alone is not a…

Correct answer: Maintain the login state security through a database.
  • A. StateServer
  • B. SQL Server
  • C. InProc
  • D. All of the above Try CAD Software

Explanation: ASP.NET supports InProc, StateServer, and SQL Server session-state modes. Therefore, all three listed methods are valid storage options.

Correct answer: All of the above Try CAD Software
  • A. Client-side code
  • B. Server-side code
  • C. Both A and B
  • D. None of these

Explanation: Code-behind runs on the web server and contains the server-side logic associated with a page.

Correct answer: Server-side code
  • A. GacSvr32.exe
  • B. GacUtil.exe
  • C. GacMgr.exe
  • D. RegSvr.exe

Explanation: GacUtil.exe is the .NET Framework command-line utility for installing, removing, and listing assemblies in the Global Assembly Cache.

Correct answer: GacUtil.exe
  • A. User
  • B. Table
  • C. Form
  • D. Windows

Explanation: Windows authentication is well suited to corporate networks because it can use existing Windows domain credentials and policies.

Correct answer: Windows