ASP Operators - Quiz Explanation

The corect answers are indicated below, along with the text that explains the correct answers.
 
1. Which delimiters tell the ASP interpreter where the ASP script begins and ends?
Please select the best answer.
  A. /* and */
  B. <% and %>
  C. <ASP> and </ASP>
  D. {" and "}
  The correct answer is B.
The ASP delimiters may be on the same line of code or on different lines, as appropriate. A is incorrect because these delimiters are used for comments. C and D are incorrect because they are invalid delimiters in ASP or HTML.

2. How does the user's browser interpret an ASP page?
Please select the best answer.
  A. ASP script segments appear on the browser just the way they appear in the ASP page.
  B. ASP script segments are ignored by the browser and appear as HTML comments.
  C. The HTML results of the interpreted ASP script are displayed on the browser.
  D. The ASP script segments are displayed on the browser in a different color.
  The correct answer is C.
The server interprets the ASP code and outputs HTML to the browser. A is incorrect because the user cannot view the ASP code, even by viewing the source in the browser. B is incorrect because the browser does not receive ASP code, just the interpreted HTML. D is incorrect, again because the user's browser does not receive the ASP code itself.


3. Where are ASP scripts executed?
Please select the best answer.
  A. Entirely in the user's browser.
  B. It depends on the ASP functions used in the script.
  C. Entirely on the Web server.
  D. On either the browser or server, as set by the user.
  The correct answer is C.
ASP is a server-side technology. A is incorrect for this reason. B is incorrect because ASP server-side scripting does not depend on specific functions.
D is incorrect because the user cannot control where a server-side technology executes the scripts.