ASP.NET Web Development Fundamentals

Test your knowledge of ASP.NET web development including server controls, configuration, caching, and .NET framework concepts.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What important standard is used to connect client browsers with web servers ?

  1. HTTP
  2. TCP/IP
  3. ASP.NET
  4. HTML
Question 2 Multiple Choice (Single Answer)

Given an ASP.NET Web Form called WebForm1, what class does the WebForm1 class inherit from by default ?

  1. System.Web.Form
  2. System.Web.GUI.Page
  3. System.Web.UI.Page
  4. System.Web.UI.Form
Question 3 Multiple Choice (Single Answer)

What tool is used to manage the GAC ?

  1. GacMgr.exe
  2. GacSvr32.exe
  3. GacUtil.exe
  4. RegSvr.exe
Question 4 Multiple Choice (Single Answer)

What is the file extension used for ASP.NET files ?

  1. .ASP
  2. .ASPX
  3. .Web
  4. None of the above
Question 5 Multiple Choice (Single Answer)

What ASP.NET object is used to get information about the web servers ?

  1. The Server object
  2. The Application object
  3. The Request object
  4. The Response object
Question 6 Multiple Choice (Single Answer)

What method(s) must be used with the Application object to ensure that only one process accesses a variable at a time ?

  1. Synchronize()
  2. Lock() and UnLock()
  3. Lock()
  4. Asynchroize()
Question 7 Multiple Choice (Single Answer)

When an ASP.NET server control is added to a Web Form, Visual Studio .NET adds one item to the class for the form. What item is added ?

  1. The event registration
  2. A protected class member for the control
  3. A default event handler for the click event
  4. A default class that inherits from the control’s base class
Question 8 Multiple Choice (Single Answer)

What is the Web.config file used for ?

  1. To store the global information and variable definitions for the application
  2. Configures the time that the server-side codebehind module is called
  3. To configure the web server
  4. To configure the web browser
Question 9 Multiple Choice (Single Answer)

After capturing the SelectedIndexChanged event for a ListBox control, you find that the event handler doesn’t execute. What could the problem be ?

  1. The AutoEventWireup attribute is set to False
  2. The AutomaticPostBack attribute is set to False
  3. The codebehind module is not properly compiled
  4. The ListBox must be defined WithEvents
Question 10 Multiple Choice (Single Answer)

What HTML element is the asp:Label control rendered as when the target is Netscape Communicator ?

  1. <label>
  2. <table>
Question 11 Multiple Choice (Single Answer)

What method must be overridden in a custom control ?

  1. The Paint() method
  2. The Control_Build() method
  3. The Render() method
  4. The default constructor
Question 12 Multiple Choice (Single Answer)

What is used to validate complex string patterns like an e-mail address ?

  1. Extended expressions
  2. Regular expressions
  3. Irregular expressions
  4. Basic expressions
Question 13 Multiple Choice (Single Answer)

You are the developer of a web application that is retrieving historical books information from a database server and displays it to the users of your application. What cache strategy will give you the best performance ?

  1. Use the output cache
  2. Use the cache object
  3. Use the ASP.NET central cache
  4. Use the client cache
Question 14 Multiple Choice (Single Answer)

Which is not ture about Smartnavigation ?

  1. retain only the last page visited in the browser's history
  2. eliminate any flash caused by navigation
  3. Doesn't work with sites protected with SSL
  4. persist scroll position when moving from page to page
Question 15 Multiple Choice (Single Answer)

Can two different .net programming languages be mixed in a single ASPX file ?

  1. Yes
  2. No
  3. May be
  4. None of the above
Question 16 Multiple Choice (Single Answer)

Which is true about ASP.net support ?

  1. ASP.NET doesn't support server-side includes
  2. ASP.NET doesn't support server-side includes but supports server-side object tags
  3. ASP.NET doesn't server-side object tags
  4. ASP.NET support server-side includes and server-side object tags
Question 17 Multiple Choice (Single Answer)

What HTML element is the asp:Label control rendered as when the target is Netscape Communicator ?

  1. <label>
  2. <table>
Question 18 Multiple Choice (Single Answer)

What tool is used to manage the GAC ?

  1. GacMgr.exe
  2. GacSvr32.exe
  3. GacUtil.exe
  4. RegSvr.exe
Question 19 Multiple Choice (Single Answer)

What is the Web.config file used for ?

  1. To store the global information and variable definitions for the application
  2. Configures the time that the server-side codebehind module is called
  3. To configure the web server
  4. To configure the web browser
Question 20 Multiple Choice (Single Answer)

After capturing the SelectedIndexChanged event for a ListBox control, you find that the event handler doesn’t execute. What could the problem be ?

  1. The AutoEventWireup attribute is set to False
  2. The AutomaticPostBack attribute is set to False
  3. The codebehind module is not properly compiled
  4. The ListBox must be defined WithEvents