Friday, December 27, 2013

Tutorial 6: Questions 1 through 50



  1. _____ are used to check for the presence or absence of something.
    1. Check boxes - correct answer
    2. Option boxes
    3. Group boxes
    4. Text boxes
  2. _____ buttons can be placed into a group so that selecting one deselects all of the others.
    1. Check box
    2. Image
    3. Command
    4. Radio - correct answer
  3. _____ sets are used to organize form elements.
    1. Option
    2. Radio
    3. Text
    4. Field - correct answer
  4. A _____ should be used to provide visual indication that option buttons belong in the same group.
    1. fieldset - correct answer
    2. label
    3. table
    4. value
  5. A password text box hides text entered by the user.
    1. True - correct answer
    2. False
  6. A single Web page can contain at most one form.
    1. True
    2. False - correct answer
  7. Among the attributes included with the <form> tag> are attributes that include information on how to process the form.
    1. True - correct answer
    2. False
  8. An access key is a single key that you type in conjunction with the Alt key for Macintosh users.
    1. True
    2. False - correct answer
  9. Another way you can specify the width is to use the _____ attribute.
    1. size
    2. maximum - correct answer
    3. length
    4. characters
  10. As shown in the accompanying figure, the form contains _____ elements, which are commonly used in Web page forms.
    1. control - correct answer
    2. formula
    3. access
    4. box

  11. Because it is more flexible, the _____ method is considered the preferred way of sending data to a Web server.
    1. put
    2. get
    3. post - correct answer
    4. keep
  12. Before specifying a name or id for your field, you need to learn what the _____ requires.
    1. server script - correct answer
    2. user
    3. form layout
    4. Web designer
  13. By default, all input boxes are _____ characters wide.
    1. 5
    2. 7
    3. 20 - correct answer
    4. 50
  14. 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.
    1. radio buttons
    2. check boxes - correct answer
    3. command buttons
    4. group boxes
  15. 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 _____.
    1. Radio buttons - correct answer
    2. Check boxes
    3. Command buttons
    4. Group boxes
  16. 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.
    1. <checkbox>
    2. <file>
    3. <select> - correct answer
    4. <command>
  17. 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.
    1. caption
    2. legend - correct answer
    3. label
    4. text
  18. 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?
    1. maxlength - correct answer
    2. length
    3. characters
    4. size
  19. 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?
    1. select
    2. radio
    3. check box
    4. fieldset - correct answer
  20. 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?
    1. textarea - correct answer
    2. radio
    3. text
    4. select

  21. 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?
    1. his ISP - correct answer
    2. his other Web pages
    3. his desired form design
    4. none of the above
  22. 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?
    1. select
    2. input - correct answer
    3. textarea
    4. option
  23. Case is important in field names.
    1. true - correct answer
    2. false
  24. Check boxes are selected by default.
    1. true 
    2. false - correct answer
  25. Each control element in which the user can enter information is called a(n) _____.
    1. field - correct answer
    2. index
    3. value
    4. area
  26. 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.
    1. Ctrl
    2. Shift - correct answer
    3. Esc
    4. Alt
  27. For most browsers, if no value for the wrap attribute of a text area is specified, a value of _____ is used.
    1. hard
    2. off
    3. soft - correct answer
    4. none
  28. For noncontiguous selections from a selection list, press and hold the _____ key while you make your selections.
    1. Ctrl - correct answer
    2. Shift
    3. Esc
    4. Alt
  29. Forms are created using the _____ element.
    1. <field>
    2. <form> - correct answer
    3. <html>
    4. <input>
  30. HTML allows you to formally link a label with an associated text box element for scripting purposes.
    1. true - correct answer
    2. false
  31. HTML supports tags that allow you to create forms and analyze the information submitted on forms.
    1. True
    2. False - correct answer
  32. In a text area, if wrap is set to _____, all the text is displayed on a single line.
    1. single
    2. none
    3. off - correct answer
    4. one
  33. 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.
    1. soft - correct answer
    2. hard
    3. off
    4. either a or b
  34. In the general syntax for the <select> and <option> tags, each _____ tag represents an individual item in the selection.
    1. <option> - correct answer
    2. <item>
    3. <index>
    4. <each>
  35. Information entered into a field is called the field _____.
    1. index
    2. attribute
    3. value - correct answer
    4. rating
  36. Input boxes are a form control element used for text and numerical entries.
    1. true - correct answer
    2. false
  37. Like selection list items, only one radio button can be selected at a time.
    1. true
    2. false - correct answer
  38. One way of organizing a form is to group similar fields into field sets.
    1. true - correct answer
    2. false
  39. Option buttons are sometimes called _____ buttons.
    1. group
    2. cluster
    3. radio - correct answer
    4. aggregate
  40. PHP and ASP are popular languages widely used today for writing server-based programs.
    1. true - correct answer
    2. false
  41. Press the _____ key to move between input boxes.
    1. Shift
    2. Tab - correct answer
    3. Ctrl
    4. Alt
  42. Selection lists usually appear in a _____ box.
    1. value list
    2. radio
    3. form
    4. drop-down list - correct answer
  43. Setting the width of an input box limits the numbers of characters the box can hold.
    1. true
    2. false - correct answer
  44. Some CGI scripts require a particular field or group of fields.
    1. true - correct answer
    2. false
  45. Text _____ are used for extended entries that can include several lines of text.
    1. areas - correct answer
    2. buttons
    3. rosters
    4. matrices
  46. The _____ attribute of the <form> tag represents the older standard for identifying each form on the page.
    1. id
    2. identification
    3. name - correct answer
    4. what
  47. The _____ attributes define the dimensions of a text area.
    1. hieght and width
    2. rows and cols - correct answer
    3. top and bottom
    4. high and wide
  48. The _____ button type control element is used to create a button used to select files.
    1. command
    2. file - correct answer
    3. input
    4. button
  49. The _____ control element is used to create a custom button.
    1. command
    2. file
    3. input
    4. button - correct answer
  50. 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".
    1. put
    2. get
    3. post - correct answer
    4. keep

No comments:

Post a Comment