Practice Quiz 2

  1. When information is passed by the GET METHOD, CGIs get the information from
    A. Standard Input (STDIN)
    B. Standard Output (STDOUT)
    C. QUERY_STRING
    D. none of the above
  1. Environment Variables are used to pass data about the CGI request from the server to the "script"
    A. true
    B. false
  1. Environment Variable names are case sensitive
    A. true
    B. false
  1. number ="123-456\\789 0";
    number = number.replace(/-|\s/g, ""); // number will be
    A. 1234567890
    B. 123456\\7890
    C. 123-456\\789 0
    D. 123456\7890
  1. You can use the GET METHOD to pass information from one HTML page to another HTML page without using a CGI "script"
    A. true
    B. false
  1. location.search does not includes the ?
    A. true
    B. false
  1. JavaScript's split(); is "essentially" equivalent to Perl's split()
    A. true
    B. false
  1. Perl's s/%([\dA-Fa-f]{2})/pack("C", hex($1))/eg; 
    is a way to change %21 to !
    A. true
    B. false
  1. JavaScript's unescape() is a way to change %21 to !
    A. true
    B. false
  1. join() concatenates an Array's elements together into a string
    A. true
    B. false

You have:    answers correct out of a possible ten.

The question numbers that were not correct are: