Your Ad Here

   
  Welcome to online books
  ASP Quiz
 

1. What does ASP stand for?

   Active Standard Pages
  Active Server Pages
  All Standard Pages
  All Server Page

2. ASP server scripts are surrounded by delimiters, which?

  <script>...</script>
  <%...%>
  <%>...</%>
  <%>...</%>

3. How do you write "Hello World" in ASP

  Response.Write("Hello World")
Document.Write("Hello World")
  "Hello World"
  System.ou.println("Hello World")

4. "<%=" is the same as:

  <%Equal
  <%Document.Write
  <%Response.Write
  <%Write

5. What is the default scripting language in ASP?

  JavaScript
  PERL
  EcmaScript
  VBScript

6. How can you script your ASP code in JavaScript?

  Start the document with: <% language="javascript" %;>
  JavaScript is the default scripting language
  End the document with: <% language="javascript" %;>
  Start the document with: <%@ language="javascript" %;>

7. How do you get information from a form that is submitted using the "get" method?

  Request.Form
  Request.QueryString
  Response.write
  Response.writeln

8. How do you get information from a form that is submitted using the "post" method?

  Request.Form
  Request.QueryString
  Response.write
  Response.writeln

9. <a href="page2.asp?color=green">Go</a><br%> How can page2.asp get the "color" parameter?

  Request.QueryString("color")
Response.Parameter("color")
  Response.QueryString("color")
  Get("color")

10. Which ASP property is used to identify a user?

  The Application object
  An ASP Cookie
  The Server object
  The Request

11. What is the correct way to include the file "time.inc" ?

  <% include file="time.inc" %>
<% #include file="time.inc" %>
  <!--#include file="time.inc"-->
<include file="time.inc">

12. Which one of these events is a standard Global.asa event?

  Session_Start
  Session_id
  Session_id
  Application_OnStart

13. Global.asa is required for all Web sites

  True
  Only for ASP Web sites
 
  Only for PHP Web sites

14. Which of these objects is NOT an ASP component

  File Access
AdRotator
  Counter
  LinkCounter

15. ASP comes with a standard component that displays a different advertisement each time a user enters or refreshes a page, what is the name of this component?

  AdRotator
  Advertise
  RotateAds
  Advertisement

16. How do you create a FileSystemObject?

  Server.CreateObject("FileSystemObject")
  Create Object:"Scripting.FileSystemObject"
  Server.CreateObject("Scripting.FileSystemObject")
  Create("FileSystemObject")

17. What does "Option Explicit" do?

  Requires explicit variable declaration
  Makes the computer give you additional errors
  Converts a PG rated programming language into one rated NC-17
  Implicit variable declaration

18. Which of the following is not a valid VBScript looping statement?

Do...Loop
  While...Wend
  For...Next
  If....fi

19. Where does ASP code execute?

  On the web server
  In the client's browser
  On any machine it wants to
  Reportedly somewhere in Washington State

20. Which set of acronyms is not associated with ASP?

  CDO, CDONTS
  ADO, RDS, DAO, ODBC
  IIS, PWS, MMC
  BÖC, OU812, GNR, BTO
 
 
  Today, there have been 3 visitors (5 hits) on this page!  
 
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free