Name:     ID: 
 
    Email: 

Web Page Design-Chapter 10-Forms

True/False
Indicate whether the sentence or statement is true or false.
 

 1. 

A form is used to collect some type of information from the user.
 

 2. 

Forms need additional files, specified by the ACTION attribute, which will process the form data.
 

 3. 

Forms can be submitted through the POST method or the GET method.
 

 4. 

The value of the METHOD attribute can specify the page to which the form data will be sent.
 

 5. 

A text box allows a user to type in a value for items such as a name or an e-mail address.
 

 6. 

A check box menu displays several items in a list from which a user may choose one.
 

 7. 

A pull-down menu allows the user to choose more than one option from a list of options.
 

 8. 

Many online exams use check boxes to present the answer choices to the user.
 

 9. 

All of the choices for a group of check boxes or radio buttons must have the same value for the TYPE attribute.
 

 10. 

A text area must define the number of rows and columns that the text area will occupy on the screen.
 

 11. 

Buttons can be used to trigger the submission of a form.
 

 12. 

Hidden fields can pass values from the form to the ACTION page without being displayed on the form itself.
 

 13. 

Text areas are used to allow users to enter a great deal of information.
 

 14. 

A password field replaces all of the user’s data with question marks on the screen.
 

 15. 

You can create two different types of buttons: a submit button or a reset button.
 

Multiple Choice
Identify the letter of the choice that best completes the statement or answers the question.
 

 16. 

Which would be the best form element to allow a user to enter their e-mail address?
a.
text box
c.
check box
b.
text area
d.
radio button
 

 17. 

Which would be the best form element to allow a user to choose one item from a list of items?
a.
text box
c.
check box
b.
text area
d.
radio button
 

 18. 

Which would be the best form element to allow a user to choose more than one item from a list of items?
a.
text box
c.
check box
b.
text area
d.
radio button
 

 19. 

Which would be the best form element to allow a user to enter the contents of a one-page article that they have written?
a.
text box
c.
check box
b.
text area
d.
radio button
 

 20. 

Which would be the best form element to allow a user to enter their password?
a.
text box
c.
hidden field
b.
password field
d.
text area
 

 21. 

Which might be a use of a form on a Web site?
a.
log in to a password-protected area
b.
enter shipping information for a purchase
c.
request a product catalog
d.
all of the above
 

 22. 

In an URL such as the following, what is the name given to the portion of the URL after the question mark: http://search.yahoo.com/bin/search?p=computers?
a.
action Page
c.
querystring
b.
METHOD attribute
d.
search string
 

 23. 

The following line of code generates an option for which form element: <OPTION VALUE= “option1”>Option 1</OPTION>?
a.
check box
c.
pull-down menu
b.
radio button
d.
all of the above
 

 24. 

The following line of code generates an option for which form element: <INPUT TYPE="RADIO" NAME="Example" VALUE="FirstValue">Text?
a.
check box
c.
pull-down menu
b.
radio button
d.
all of the above
 

 25. 

The following line of code generates an option for which form element: <INPUT TYPE="CHECKBOX" NAME="Example" VALUE="FirstValue">Text?
a.
check box
c.
pull-down menu
b.
radio button
d.
all of the above
 

 26. 

What do check boxes and radio buttons have in common?
a.
Both allow the user to choose only one answer.
b.
Both allow the user to choose more than one answer.
c.
Both allow the user to choose from a list of preset options.
d.
Both allow the user to type in the text of their choice.
 

 27. 

What is a key difference between radio buttons and check boxes?
a.
Radio buttons allow many choices and check boxes allow only one.
b.
Radio buttons allow one choice and check boxes allow many.
c.
Radio buttons allow user-entered text and check boxes do not.
d.
Check boxes allow user-entered text and radio buttons do not.
 

 28. 

Which attribute of the form tag is used to point to a script file that will process the form data?
a.
METHOD
c.
ACTION
b.
POST
d.
GET
 

 29. 

Which form element requires a name and a value pair in order to pass the values of the element to the processing page?
a.
radio buttons
c.
text areas
b.
check boxes
d.
all of the above
 

 30. 

Which form element is passed from the form to the processing page without the knowledge of the form user?
a.
radio buttons
c.
hidden fields
b.
text areas
d.
text boxes
 



 
Submit          Reset Help