98-361 practice questions, page 5 of 7, with answer review and explanations.
Question 21
The purpose of the Catch section in an exception handler is to:
Break out of the error handler.
Conclude the execution of the application.
Execute code only when an exception is thrown.
Execute code regardless of whether an exception is thrown.
Question 22
You execute the following code. How many times will the word Hello be printed?
5
6
10
12
Question 23
In the life cycle of an ASP. NET Web page, which phase follows the SaveStateComplete phase?
PostBack
Postlnit
Load
Render
Question 24
You are creating an ASP. NET Web application. Which line of code should you use to require a control to process on the computer that hosts the application?
defaultRedirect="ServerPage. htm"
redirect="HostPage. htm"
AutoEvencWireup="true"
runat="server"
Question 25
In this XHTML code sample, what will cause an error?