ASP.NET Web Development Fundamentals
Test your knowledge of ASP.NET web development including server controls, configuration, caching, and .NET framework concepts.
Questions
What important standard is used to connect client browsers with web servers ?
- HTTP
- TCP/IP
- ASP.NET
- HTML
Given an ASP.NET Web Form called WebForm1, what class does the WebForm1 class inherit from by default ?
- System.Web.Form
- System.Web.GUI.Page
- System.Web.UI.Page
- System.Web.UI.Form
What tool is used to manage the GAC ?
- GacMgr.exe
- GacSvr32.exe
- GacUtil.exe
- RegSvr.exe
What is the file extension used for ASP.NET files ?
- .ASP
- .ASPX
- .Web
- None of the above
What ASP.NET object is used to get information about the web servers ?
- The Server object
- The Application object
- The Request object
- The Response object
What method(s) must be used with the Application object to ensure that only one process accesses a variable at a time ?
- Synchronize()
- Lock() and UnLock()
- Lock()
- Asynchroize()
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 ?
- The event registration
- A protected class member for the control
- A default event handler for the click event
- A default class that inherits from the control’s base class
What is the Web.config file used for ?
- To store the global information and variable definitions for the application
- Configures the time that the server-side codebehind module is called
- To configure the web server
- To configure the web browser
After capturing the SelectedIndexChanged event for a ListBox control, you find that the event handler doesn’t execute. What could the problem be ?
- The AutoEventWireup attribute is set to False
- The AutomaticPostBack attribute is set to False
- The codebehind module is not properly compiled
- The ListBox must be defined WithEvents
What HTML element is the asp:Label control rendered as when the target is Netscape Communicator ?
- <label>
- <table>
What method must be overridden in a custom control ?
- The Paint() method
- The Control_Build() method
- The Render() method
- The default constructor
What is used to validate complex string patterns like an e-mail address ?
- Extended expressions
- Regular expressions
- Irregular expressions
- Basic expressions
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 ?
- Use the output cache
- Use the cache object
- Use the ASP.NET central cache
- Use the client cache
Which is not ture about Smartnavigation ?
- retain only the last page visited in the browser's history
- eliminate any flash caused by navigation
- Doesn't work with sites protected with SSL
- persist scroll position when moving from page to page
Can two different .net programming languages be mixed in a single ASPX file ?
- Yes
- No
- May be
- None of the above
Which is true about ASP.net support ?
- ASP.NET doesn't support server-side includes
- ASP.NET doesn't support server-side includes but supports server-side object tags
- ASP.NET doesn't server-side object tags
- ASP.NET support server-side includes and server-side object tags
What HTML element is the asp:Label control rendered as when the target is Netscape Communicator ?
- <label>
- <table>
What tool is used to manage the GAC ?
- GacMgr.exe
- GacSvr32.exe
- GacUtil.exe
- RegSvr.exe
What is the Web.config file used for ?
- To store the global information and variable definitions for the application
- Configures the time that the server-side codebehind module is called
- To configure the web server
- To configure the web browser
After capturing the SelectedIndexChanged event for a ListBox control, you find that the event handler doesn’t execute. What could the problem be ?
- The AutoEventWireup attribute is set to False
- The AutomaticPostBack attribute is set to False
- The codebehind module is not properly compiled
- The ListBox must be defined WithEvents