Practice Quiz 2
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
Environment Variables are used to pass data about the CGI request from the server to the "script"
A. true
B. false
Environment Variable names are case sensitive
A. true
B. false
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
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
location.search does not includes the ?
A. true
B. false
JavaScript's split(); is "essentially" equivalent to Perl's split()
A. true
B. false
Perl's s/%([\dA-Fa-f]{2})/pack("C", hex($1))/eg;
is a way to change %21 to !
A. true
B. false
JavaScript's unescape() is a way to change %21 to !
A. true
B. false
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: