ASP   «Prev  Next»

ASP Component Parts - Quiz

Each question is worth one point. Select the best answer for each question.
 
1. How many Case tests can the Select/Case statement contain?
Please select the best answer.
  A. A minimum of two and a maximum of five.
  B. A minimum of 3 and a maximum of 15.
  C. As many values as were defined when the variable was initialized.
  D. No limit to the number of Case tests.


2. When would you place an End If statement at the end of an If/Then/Else decision structure?
Please select the best answer.
  A. When the Else branch takes you to another .asp script.
  B. When the If/Then statement and the Else statement is written on multiple lines.
  C. When the If part compares two or more variables.
  D. When the Then branch performs a calculation with a mathematical operator.



3. Which of these is equivalent to putting <% Response.Write ("Hello") %> into a script?
Please select the best answer.
  A. <% Write "Hello" %>
  B. <% ("Hello") %>
  C. <%= "Hello" %>
  D. <% Response.Write "Hello" %>

Your score is 0.0