- _____ are used to check for the presence or absence of something.
- Check boxes - correct answer
- Option boxes
- Group boxes
- Text boxes
- _____ buttons can be placed into a group so that selecting one deselects all of the others.
- Check box
- Image
- Command
- Radio - correct answer
- _____ sets are used to organize form elements.
- Option
- Radio
- Text
- Field - correct answer
- A _____ should be used to provide visual indication that option buttons belong in the same group.
- fieldset - correct answer
- label
- table
- value
- A password text box hides text entered by the user.
- True - correct answer
- False
- A single Web page can contain at most one form.
- True
- False - correct answer
- Among the attributes included with the <form> tag> are attributes that include information on how to process the form.
- True - correct answer
- False
- An access key is a single key that you type in conjunction with the Alt key for Macintosh users.
- True
- False - correct answer
- Another way you can specify the width is to use the _____ attribute.
- size
- maximum - correct answer
- length
- characters
- As shown in the accompanying figure, the form contains _____ elements, which are commonly used in Web page forms.
- control - correct answer
- formula
- access
- box
- Because it is more flexible, the _____ method is considered the preferred way of sending data to a Web server.
- put
- get
- post - correct answer
- keep
- Before specifying a name or id for your field, you need to learn what the _____ requires.
- server script - correct answer
- user
- form layout
- Web designer
- By default, all input boxes are _____ characters wide.
- 5
- 7
- 20 - correct answer
- 50
- Case 6-1: Benjamin owns Ben's Paintball Shop. He wants to create a Web form to allow users to specify the type of paintball gun they would like to buy. This includes the make, model, paintball holder type and color, and the optional sight and gun holder options. Ben's paintball holders come in 50, 100 and 150 paintball holder sizes. People often buy more than one size of paintball holder. Ben's guns only come in red, blue or black colors. He has over 50 makes and models of guns. Ben should use _____ to allow users to select the paintball holders.
- radio buttons
- check boxes - correct answer
- command buttons
- group boxes
- Case 6-1: Benjamin owns Ben's Paintball Shop. He wants to create a Web form to allow users to specify the type of paintball gun they would like to buy. This includes the make, model, paintball holder type and color, and the optional sight and gun holder options. Ben's paintball holders come in 50, 100 and 150 paintball holder sizes. People often buy more than one size of paintball holder. Ben's guns only come in red, blue or black colors. He has over 50 makes and models of guns. For the color, Ben should most likely use _____.
- Radio buttons - correct answer
- Check boxes
- Command buttons
- Group boxes
- Case 6-1: Benjamin owns Ben's Paintball Shop. He wants to create a Web form to allow users to specify the type of paintball gun they would like to buy. This includes the make, model, paintball holder type and color, and the optional sight and gun holder options. Ben's paintball holders come in 50, 100 and 150 paintball holder sizes. People often buy more than one size of paintball holder. Ben's guns only come in red, blue or black colors. He has over 50 makes and models of guns. Since make and model are normally lists, Ben should use a _____ tag to specify the lists.
- <checkbox>
- <file>
- <select> - correct answer
- <command>
- Case 6-2: Wendy's Dazzling Designs desires to have a Web site built for customers to order custom-made jeans. They can pick from jeans, jean shorts and jean jackets. Customers can specify one of their existing patterns which are about 100 designs. They can also choose a custom pattern instead and then provide information about the pattern they want for Wendy to custom create. Wendy wants to label each group. Which element would be the best for her to use.
- caption
- legend - correct answer
- label
- text
- Case 6-2: Wendy's Dazzling Designs desires to have a Web site built for customers to order custom-made jeans. They can pick from jeans, jean shorts and jean jackets. Customers can specify one of their existing patterns which are about 100 designs. They can also choose a custom pattern instead and then provide information about the pattern they want for Wendy to custom create. For her address she wants to make sure the zipcode is set to 5 characters only. Which attribute of a text box will allow her to do this?
- maxlength - correct answer
- length
- characters
- size
- Case 6-2: Wendy's Dazzling Designs desires to have a Web site built for customers to order custom-made jeans. They can pick from jeans, jean shorts and jean jackets. Customers can specify one of their existing patterns which are about 100 designs. They can also choose a custom pattern instead and then provide information about the pattern they want for Wendy to custom create. Wendy wants to separate the different options for jeans, jean shorts, and jean jackets. Which element can she use to create these groups?
- select
- radio
- check box
- fieldset - correct answer
- Case 6-2: Wendy's Dazzling Designs desires to have a Web site built for customers to order custom-made jeans. They can pick from jeans, jean shorts and jean jackets. Customers can specify one of their existing patterns which are about 100 designs. They can also choose a custom pattern instead and then provide information about the pattern they want for Wendy to custom create. In order to provide customers plenty of room to enter the information for a custom pattern, which type of field should Wendy provide for the user?
- textarea - correct answer
- radio
- text
- select
- Case 6-3: Bob has just bought an online Web hosting solution from a popular ISP. He knows the ISP provides some scripts to allow people to create logon pages for their Web site if they want to have a password-protected blog, for example. Bob wants to create such a page for his blog about video games. Before Bob builds his form, which of the following should he consult concerning required fields?
- his ISP - correct answer
- his other Web pages
- his desired form design
- none of the above
- Case 6-3: Bob has just bought an online Web hosting solution from a popular ISP. He knows the ISP provides some scripts to allow people to create logon pages for their Web site if they want to have a password-protected blog, for example. Bob wants to create such a page for his blog about video games. Which element will Bob most likely use to create the password element?
- select
- input - correct answer
- textarea
- option
- Case is important in field names.
- true - correct answer
- false
- Check boxes are selected by default.
- true
- false - correct answer
- Each control element in which the user can enter information is called a(n) _____.
- field - correct answer
- index
- value
- area
- For a contiguous selection in a selection list, select the first firm, press and hold the _____ key, and then select the last item in the range.
- Ctrl
- Shift - correct answer
- Esc
- Alt
- For most browsers, if no value for the wrap attribute of a text area is specified, a value of _____ is used.
- hard
- off
- soft - correct answer
- none
- For noncontiguous selections from a selection list, press and hold the _____ key while you make your selections.
- Ctrl - correct answer
- Shift
- Esc
- Alt
- Forms are created using the _____ element.
- <field>
- <form> - correct answer
- <html>
- <input>
- HTML allows you to formally link a label with an associated text box element for scripting purposes.
- true - correct answer
- false
- HTML supports tags that allow you to create forms and analyze the information submitted on forms.
- True
- False - correct answer
- In a text area, if wrap is set to _____, all the text is displayed on a single line.
- single
- none
- off - correct answer
- one
- In a text area, if wrap is set to _____, the text is sent to the CGI script in a single line without any information about how the text was wrapped within the text box, but the text automatically wraps to the next row when it extends beyond the width of the text box.
- soft - correct answer
- hard
- off
- either a or b
- In the general syntax for the <select> and <option> tags, each _____ tag represents an individual item in the selection.
- <option> - correct answer
- <item>
- <index>
- <each>
- Information entered into a field is called the field _____.
- index
- attribute
- value - correct answer
- rating
- Input boxes are a form control element used for text and numerical entries.
- true - correct answer
- false
- Like selection list items, only one radio button can be selected at a time.
- true
- false - correct answer
- One way of organizing a form is to group similar fields into field sets.
- true - correct answer
- false
- Option buttons are sometimes called _____ buttons.
- group
- cluster
- radio - correct answer
- aggregate
- PHP and ASP are popular languages widely used today for writing server-based programs.
- true - correct answer
- false
- Press the _____ key to move between input boxes.
- Shift
- Tab - correct answer
- Ctrl
- Alt
- Selection lists usually appear in a _____ box.
- value list
- radio
- form
- drop-down list - correct answer
- Setting the width of an input box limits the numbers of characters the box can hold.
- true
- false - correct answer
- Some CGI scripts require a particular field or group of fields.
- true - correct answer
- false
- Text _____ are used for extended entries that can include several lines of text.
- areas - correct answer
- buttons
- rosters
- matrices
- The _____ attribute of the <form> tag represents the older standard for identifying each form on the page.
- id
- identification
- name - correct answer
- what
- The _____ attributes define the dimensions of a text area.
- hieght and width
- rows and cols - correct answer
- top and bottom
- high and wide
- The _____ button type control element is used to create a button used to select files.
- command
- file - correct answer
- input
- button
- The _____ control element is used to create a custom button.
- command
- file
- input
- button - correct answer
- The _____ method of the <form> tag send form data in a separate data stream, allowing the Web server to receive the data through what is called "standard input".
- put
- get
- post - correct answer
- keep
Friday, December 27, 2013
Tutorial 6: Questions 1 through 50
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment