Free Web and Mobile Development MCQs with Answers

268 Web and Mobile Development MCQs from Software Engineering, each with the correct answer and a written explanation of why it is correct. Free and unlimited, with no account needed.

Last updated

268 questions · page 4 of 14

  • A. ControlName
  • B. Designation
  • C. ID
  • D. Name

Explanation: The ID property gives an ASP.NET server control its unique name within the page.

Correct answer: ID
  • A. Response.ViewState
  • B. Response.Cookies
  • C. Session
  • D. Application

Explanation: Application state is shared across all users and remains available to the web application, whereas Session stores data separately for each…

Correct answer: Application
  • A. Response.Redirect
  • B. Server.Transfer
  • C. Both A and B
  • D. None of these

Explanation: Server.Transfer moves execution to another page on the server without a new browser request.

Correct answer: Server.Transfer
  • A. GAC
  • B. Root
  • C. /bin
  • D. None of theseExplore Design Agencies

Explanation: The Global Assembly Cache, or GAC, stores shared .NET assemblies so that multiple applications can use them.

Correct answer: GAC
  • A. AdRotator
  • B. File Access
  • C. LinkCounter
  • D. CounterCompare Developer Tools

Explanation: AdRotator, File Access, and other listed built-in components belong to classic ASP component support, but LinkCounter is not a standard…

Correct answer: LinkCounter
  • A. securityPolicy
  • B. authentication
  • C. authorization
  • D. None of the above

Explanation: The authorization section specifies which users or roles are permitted to access resources.

Correct answer: authorization
  • A. Open
  • B. Execute
  • C. Transfer
  • D. HTMLDecode

Explanation: The ASP.NET Server object provides methods such as Execute and Transfer, while HTMLDecode belongs to the HttpServerUtility API in related…

Correct answer: Open
  • A. Page_Init()
  • B. Page_Load()
  • C. Page_click()
  • D. None of the above

Explanation: Among the listed handlers, Page_Init runs before Page_Load during the ASP.NET page lifecycle.

Correct answer: Page_Init()
  • A. Windows explorer
  • B. Java Virtual Machine
  • C. Common Language Runtime
  • D. All of the above

Explanation: ASP.NET code executes under the .NET Common Language Runtime, which supplies services such as execution, type safety, and memory…

Correct answer: Common Language Runtime
  • A. Add reference of dll file and place the code where ever required
  • B. By add/Remove items in the project menu
  • C. Cannot add 3rd party component to asp.net
  • D. None of the above

Explanation: A third-party ASP.NET component is normally added by referencing its assembly, usually a DLL, and then using its namespace or controls in…

Correct answer: Add reference of dll file and place the code where ever required
  • A. AdRotator
  • B. LinkButton
  • C. Both A and B
  • D. None of the Above

Explanation: AdRotator can display graphical banner advertisements by rotating through image-based ad entries.

Correct answer: AdRotator
  • A. Combination Of both Public,Private key and digital signature
  • B. Public Key
  • C. Private Key
  • D. Digital signature

Explanation: A strong name identifies an assembly using its name, version, culture, and public key, with the assembly signed using the corresponding…

Correct answer: Combination Of both Public,Private key and digital signature
  • A. RCT
  • B. GAC
  • C. CLR
  • D. RCW

Explanation: The Common Type System is a core part of the .NET Common Language Runtime and defines how types are declared, used, and managed across…

Correct answer: CLR
  • A. Reflection
  • B. Enumeration
  • C. Serialization
  • D. Binding

Explanation: Reflection is the .NET mechanism for inspecting assemblies, types, methods, properties, and other metadata at runtime.

Correct answer: Reflection
  • A. EventLogTraceListener
  • B. TextWriterTraceListener
  • C. DefaultTraceListener
  • D. All of the above

Explanation: ASP.NET provides several predefined TraceListener implementations, including EventLogTraceListener, TextWriterTraceListener, and…

Correct answer: All of the above
  • A. Clears all the section value from rendered HTML File
  • B. Clears the content of the Rendered page
  • C. Clears all Headers from the buffer stream
  • D. None of the above

Explanation: Response.ClearHeaders() removes the HTTP headers currently stored in the response buffer, while leaving the page content itself unchanged.

Correct answer: Clears all Headers from the buffer stream
  • A. . EXE
  • B. . COM
  • C. . DLL
  • D. None of the above

Explanation: ASP.NET applications are compiled into assemblies, normally producing a dynamic-link library with a .dll extension rather than an…

Correct answer: . DLL
  • 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