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 7 of 14
- A. To configure the web server
- B. To configure the web browser
- C. Configures the time that the server-side codebehind module is called
- D. To store the global information and variable definitions for the application Choose Cloud Servers
Explanation: Web.config contains application-level configuration such as authentication, session settings, connection strings, and app settings.
Correct answer: To store the global information and variable definitions for the application Choose Cloud Servers- A. Response object
- B. Application object
- C. Session object
- D. Server object
Explanation: The Application object stores data shared by all users of an ASP.NET application.
Correct answer: Application object- A. Page_Load()
- B. Page_Init()
- C. Page_click()
- D. Page_doubleclick()
Explanation: Page_Init is the earliest listed ASP.NET page event in the normal page lifecycle, occurring before Page_Load.
Correct answer: Page_Init()- A. 10 mins
- B. 20 mins
- C. 2 mins
- D. Exists for the Life of the current page
Explanation: ViewState is stored with the page and is recreated when that page is posted back, so it lasts for the life of the current page.
Correct answer: Exists for the Life of the current page- A. Microsoft SQL Server
- B. Session State Service
- C. In-process storage
- D. All of the above
Explanation: ASP.NET supports in-process session storage, the ASP.NET State Service, and SQL Server session storage.
Correct answer: All of the above- A. needs to be available to the public
- B. must be platform-independent
- C. has a thin front end (client)
- D. All of the above
Explanation: Web applications are suitable when users need public access, different client platforms must be supported, or only a thin client should…
Correct answer: All of the above- A. Webforms
- B. Winforms
- C. HTMLForms
- D. None of these
Explanation: A postback is the process by which an ASP.NET Web Forms page submits data back to the server for processing.
Correct answer: Webforms- A. aspnet_wp.exe
- B. aspnet_isapi.dll
- C. inetinfo.exe
- D. None of these
Explanation: In the classic ASP.NET worker-process model, aspnet_wp.exe executes and manages ASP.NET application requests.
Correct answer: aspnet_wp.exe- A. VBScript
- B. EcmaScript
- C. JavaScript
- D. PERL
Explanation: VBScript was the default scripting language in classic ASP unless another language was specified with a language directive.
Correct answer: VBScript- A. After the webform loads
- B. Before Page_init event of web form
- C. After the page_init event of webform
- D. None of the above
Explanation: A user control participates in the page lifecycle and its load-related code runs after the containing web form's Page_Load event.
Correct answer: After the webform loads- A. By Debugging
- B. Can not be done
- C. By Tracing
- D. By Stopping
Explanation: The application_End event runs as the ASP.NET application domain shuts down, when normal request-based tracing is no longer available.
Correct answer: Can not be done- A. DataList
- B. Button
- C. Panel
- D. None of the Above
Explanation: DataList displays data-bound records with more control over layout and supports features such as item formatting and editing.
Correct answer: DataList- A. pipeline
- B. Handler
- C. IHttpHandlerFactory
- D. None of the above
Explanation: IHttpHandlerFactory is used by ASP.NET to create and return HTTP handler instances for processing requests.
Correct answer: IHttpHandlerFactory- A. single-file
- B. code-behind
- C. Both A and B
- D. None of the Above
Explanation: ASP.NET supports both the single-file model, where markup and code share a file, and the code-behind model, where they are separated.
Correct answer: Both A and B- A. 128
- B. 126
- C. 16382
- D. 2113658
Explanation: Using the traditional classful-addressing convention, the usable network-ID counts are 126 for Class A, 16,382 for Class B, and 2,097,150…
Correct answer: 2113658- A. /etc/services
- B. /etc/nsorder
- C. /etc/nsswitch.conf/
- D. /etc/hosts
Explanation: `/etc/services` maps service names such as HTTP and FTP to their port numbers and protocols, and inetd uses this information.
Correct answer: /etc/services- A. 128.10.2.30
- B. 210.20.2.64
- C. 164.100.9.61
- D. 148.20.2.30
Explanation: Split the binary address into four 8-bit groups and convert each group: 10000000 is 128, 00001010 is 10, 00000010 is 2, and 00011110 is…
Correct answer: 128.10.2.30- A. data link layer
- B. transport layer
- C. network layer
- D. session layer
Explanation: The OSI session layer manages dialogue control, including who may transmit, and token management, which coordinates access to shared…
Correct answer: session layer- A. apached
- B. httpd
- C. html
- D. shttp
Explanation: `httpd` is the Apache HTTP Server daemon, with the name meaning HTTP daemon.
Correct answer: httpd- A. /etc/ftpusers
- B. /etc/hosts.deny
- C. /etc/ftpaccess
- D. All of the above
Explanation: The traditional /etc/ftpusers file lists users who must be denied FTP login, commonly including privileged accounts.
Correct answer: /etc/ftpusers