CIW Exam Questions

what URL (and associated query string) will the browser attempt to access?

Given the following HTML form on a Web page:
<FORM ACTION=”http://localhost:7001/phoneBook” METHOD=”GET”>
<H1>Phone Book</H1>
<CENTER>
<p>
Last Name: <INPUT TYPE=”TEXT” NAME=”last” SIZE=”25″ VALUE=”Smith”><p>
First Name: <INPUT TYPE=”TEXT” NAME=”first” SIZE=”25″ VALUE=”John”><p>
Phone Number: <INPUT TYPE=”TEXT” NAME=”phone” SIZE=”17″ VALUE=”4567890″><p>
<p><INPUT TYPE=”SUBMIT”>
</CENTER>
</FORM>
If the user who is presented with this form simply clicks the Submit button without updating any
fields, what URL (and associated query string) will the browser attempt to access?

A.
http://localhost:7001/phoneBook?last=Smith&first=John&phone=4567890

B.
http://localhost:7001/phoneBook (with no associated query string)

C.
http://localhost:7001/phoneBook%last=Smith?first=John?phone=4567890

D.
http://localhost:7001/phoneBook?text=Smith&text=John&number=4567890

E.
http://localhost:7001/phoneBook?Last Name=Smith&First Name=John&Phone
Number=4567890