No products in the cart.

New Perspectives on HTML5, CSS3, and JavaScript 6th Edition by Patrick M. Carey - Test Bank

New Perspectives on HTML5, CSS3, and JavaScript 6th Edition by Patrick M. Carey - Test Bank   Instant Download - Complete Test Bank With Answers     Sample Questions Are Posted Below   True / False   1. The most common way of accepting user input is through a web form.   a. True   b. …

$19.99

New Perspectives on HTML5, CSS3, and JavaScript 6th Edition by Patrick M. Carey – Test Bank

 

Instant Download – Complete Test Bank With Answers

 

 

Sample Questions Are Posted Below

 

True / False

 

1. The most common way of accepting user input is through a web form.

  a. True
  b. False

 

ANSWER:   True
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 502
QUESTION TYPE:   True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.01 – Explore web forms
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

2. Once the field values have been entered by the user, they are processed by a program running on the user’s computer or on a web server in a secure location.

  a. True
  b. False

 

ANSWER:   True
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 503
QUESTION TYPE:   True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.02 – Work with form servers
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

3. A form element must be placed only within the header tag of a web page.

  a. True
  b. False

 

ANSWER:   False
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 504
QUESTION TYPE:   True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Starting a Web Form
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

4. By default, legends are placed in the top-right corner of the field set box.

  a. True
  b. False

 

ANSWER:   False
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 508
QUESTION TYPE:   True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Field Set
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

5. For url type data, the virtual keyboard includes a key that inserts the .com character string.

  a. True
  b. False

 

ANSWER:   False
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 514
QUESTION TYPE:   True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating Input Boxes
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

6. When for attribute is used, the label text can be placed anywhere within the page and it will still be associated with the control.

  a. True
  b. False

 

ANSWER:   True
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 515
QUESTION TYPE:   True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Adding Field Labels
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

7. There are predefined CSS styles to format the appearance of a placeholder.

  a. True
  b. False

 

ANSWER:   False
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 525
QUESTION TYPE:   True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.05 – Explore form layout
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Defining Default Values and Placeholders
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

8. The second option in a selection list is selected by default and therefore contains the field’s default value.

  a. True
  b. False

 

ANSWER:   False
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 532
QUESTION TYPE:   True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.07 – Create a selection list
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Selection List
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

9. A default value need not be specified; the text area box can be left empty or the placeholder attribute can be used to provide a hint to users about what to enter into the text box.

  a. True
  b. False

 

ANSWER:   True
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 542
QUESTION TYPE:   True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.09 – Create check boxes and text area boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Text Area Box
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

10. The appearance of a command, submit, and reset button is determined by the browser.

  a. True
  b. False

 

ANSWER:   True
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 559
QUESTION TYPE:   True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.12 – Create form buttons
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Working with Form Buttons
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

Modified True / False

 

11. Option buttons are also called selection lists as they select data values from a more extensive list of options.

ANSWER:   False – radio buttons
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 502
QUESTION TYPE:   Modified True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.01 – Explore web forms
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

12. In a form element, attributes specify how the form should be processed by the browser.

ANSWER:   True
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 504
QUESTION TYPE:   Modified True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.03 – Create forms and field sets
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Starting a Web Form
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

13. The post method is the default method that tells the browser to append the form data to the end of the URL specified in the action attribute.

ANSWER:   False – get method
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 505
QUESTION TYPE:   Modified True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.03 – Create forms and field sets
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Starting a Web Form
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

14. The id attribute is required only when it is needed to reference the control element.

ANSWER:   True
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 510
QUESTION TYPE:   Modified True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating Input Boxes
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

15. ​There is no need to include a for attribute within a label element while nesting a control, if the association is made implicitly.

ANSWER:   True
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 515
QUESTION TYPE:   Modified True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Adding Field Labels
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

16. The placeholder automatically disappears as soon as a user selects the control and begins to enter a value.

ANSWER:   True
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 524
QUESTION TYPE:   Modified True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.05 – Explore form layout
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Defining Default Values and Placeholders
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

17. The default behavior of the selection list is to allow only one selection from the list of options.

ANSWER:   True
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 534
QUESTION TYPE:   Modified True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.07 – Create a selection list
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Selection List
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

18. A spinner control can be used to limit a numeric field to a range of possible values, thus allowing the user to drag a marker horizontally across the possible field values.

ANSWER:   False – slider control
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 550
QUESTION TYPE:   Modified True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.10 – Create spinners and range sliders
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Entering Numeric Data
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

19. Command buttons are created using an input element with the type attribute set to range.​

ANSWER:   False – button
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 556
QUESTION TYPE:   Modified True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.12 – Create form buttons
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Working with Form Buttons
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

20. Client-side validation takes place on the user’s browser.

ANSWER:   True
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 559
QUESTION TYPE:   Modified True / False
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.13 – Validate a form
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Validating a Web Form
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

Multiple Choice

 

21. A _____ is a control used to enter text strings that may include several lines of content.

  a. ​spin box
  b. ​check box
  c. ​Text area box
  d. ​Selection list

 

ANSWER:   c
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 502
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.01 – Explore web forms
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

22. Identify a widget that allows the user to interact with the form for entering numeric values confined to a specified range.​

  a. ​Reset button
  b. ​Slider control
  c. ​Calendar control
  d. ​Option button

 

ANSWER:   b
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 502
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.01 – Explore web forms
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

23. ​A form contains _____, also called widgets, which are the objects that allow the user to interact with the form.

  a. ​controls
  b. ​extensions
  c. ​pages
  d. ​processes

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 502
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.01 – Explore web forms
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

 

24. In the accompanying figure, Box B points to _____.

  a. ​option buttons
  b. selection lists
  c. input boxes
  d. spin boxes

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 503
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
PREFACE NAME:   Figure 7-1
LEARNING OBJECTIVES:   07.02 – Work with form servers
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

25. In the accompanying figure, Box E represents a _____.​

  a. ​slider control
  b. ​spin box
  c. ​calendar control
  d. ​check box

 

ANSWER:   b
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 502
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
PREFACE NAME:   Figure 7-1
LEARNING OBJECTIVES:   07.01 – Explore web forms
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

26. ​A data entry control is associated with a _____ in which data values supplied by the user are stored.​

  a. ​web server
  b. ​data store
  c. ​data field
  d. ​desktop

 

ANSWER:   c
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 503
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.02 – Work with form servers
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

27. Identify the significance of “text” in <form id=”text“>.​

  a. ​It identifies the form.
  b. ​It is the content of the form.
  c. ​It controls the form process.
  d. ​It identifies the form attributes.

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 504
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.03 – Create forms and field sets
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Starting a Web Form
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

28. get and post are two possible values for the _____ attribute.​

  a. ​action
  b. ​enctype
  c. ​class
  d. ​method

 

ANSWER:   d
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 505
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.03 – Create forms and field sets
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Starting a Web Form
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

29. Identify a true statement of a JavaScript program in a web form.​

  a. ​JavaScript intercepts the content of the form before the browser attempts to contact the CGI script and report whether the data contained in the survey form has been correctly filled out or not.
  b. ​JavaScript is a closed-source programming language, which provides tools and a programming environment for communicating the strategy and overall administration of distributed applications.
  c. ​JavaScript is extracted by all layout engines in a similar way; as a consequence, this grounds consistency in terms of functionality and interface.
  d. ​JavaScript is a bug-free Visual Basic scripting language, which is used only for networking applications.

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 506
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.02 – Work with form servers
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Starting a Web Form
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

30. Which of the following is true of field sets?​

  a. ​Field sets can contain a maximum of two fields.
  b. ​Field sets are created using the <area> tag.
  c. ​Field sets act like control elements that are also called widgets.
  d. ​Field sets act like block elements that can expand to accommodate their content.

 

ANSWER:   d
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 508
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.03 – Create forms and field sets
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Field Set
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

31. Every field set must contain the _____ element, which should have only text and no nested elements for describing its content.​

  a. ​legend
  b. ​enctype
  c. ​script
  d. ​form

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 508
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.03 – Create forms and field sets
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Field Set
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

32. The _____ element is used to mark the form controls that are designed to receive user responses.​

  a. ​fieldset
  b. ​legend
  c. ​input
  d. ​script

 

ANSWER:   c
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 510
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating Input Boxes
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

33. If no _____ value is specified, the browser assumes a default value of text and adds a simple text input box to the web form.​

  a. ​id
  b. ​type
  c. ​name
  d. ​class

 

ANSWER:   b
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 510
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating Input Boxes
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

 

34. ​In the accompanying figure, what does Box A represent?​​

  a. ​Check box
  b. ​Radio button
  c. ​Input box
  d. ​Label button

 

ANSWER:   c
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 513
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
PREFACE NAME:   Figure 7-2
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating Input Boxes
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

35. By default, browsers display input boxes as _____ elements with a default length of 20 characters.​

  a. ​inline
  b. ​page
  c. ​block
  d. ​form

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Moderate
REFERENCES:   HTML 513
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating Input Boxes
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

36. To associate a text string entered above each input element with a control, the text string should be enclosed within the _____ element.​

  a. ​script
  b. ​label
  c. ​legend
  d. ​fieldset

 

ANSWER:   b
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 514
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Adding Field Labels
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

37. Which of the following is true of nesting a control within a label?​

  a. ​It allows the user to move both the label text and the control as a single unit around the page.
  b. ​It treats both the label and control as separate objects.
  c. ​It restricts the association of label text with the control explicitly.
  d. ​It restricts the movement of the insertion point into the control on the selection of the linked label.

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Moderate
REFERENCES:   HTML 515
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Adding Field Labels
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

38. _____ are text strings that appear within a form control, providing a hint about the kind of data that should be entered into the field.​

  a. ​Placeholders
  b. ​Labels
  c. ​Scripts
  d. ​Widgets

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 524
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.05 – Explore form layout
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Defining Default Values and Placeholders
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

39. Identify the cross-browser style sheet that changes the text color of the placeholder text for every input box to light red for the moz extension.​

  a. ​input:-moz-input-placeholder {color: rgb (255, 151, 151);}
  b. ​input::-moz-placeholder {color: rgb(255, 151, 151);}
  c. ​input:-moz-placeholder {color: rgb (255, 151, 151);}
  d. ​input:: moz-placeholder-webkit {color: rgb(255, 151, 151);}

 

ANSWER:   b
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 525
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.05 – Explore form layout
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Defining Default Values and Placeholders
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

40. Identify a syntax that sets the data type of the registerDate field to “date”.​

  a. ​<label for=”register”>Date of registration</label>

<input name=”Date” id=”register” />

  b. ​<label for=”register”>Date of registration</label>

<input name=”registerDate” id=”date” />

  c. <label for=”register”>Date of registration</label>​

<input name=”registerDate” id=”register” type=”date” />

  d. ​<label for=”register”>Date of registration</label>

<input name=”registerDate” id=”date” type=”register” />

 

ANSWER:   c
POINTS:   1
DIFFICULTY:   Moderate
REFERENCES:   HTML 531
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.06 – Work with date and time fields
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Entering Date and Time Values
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

41. A(n) _____ is created using the select and option elements that present users with a group of predefined possible values for the data field.​

  a. ​option button
  b. ​selection list
  c. ​check box
  d. ​text area

 

ANSWER:   b
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 531
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.07 – Create a selection list
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Selection List
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

42. ​Identify a syntax of the option element that contains an attribute to make an option as default in a selection list.​

  a. ​<opt​ion value=”value” for>text</option>
  b. <option value=”value” enctype>text</option>
  c. ​<option value=”value” selected>text</option>
  d. ​<option value=”value” default>text</option>

 

ANSWER:   c
POINTS:   1
DIFFICULTY:   Moderate
REFERENCES:   HTML 532
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.07 – Create a selection list
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Selection List
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

43. Identify a syntax that displays a selection list as a scroll box with 5 options visible in the web form.​

  a. ​<select size=”5”> … </select>
  b. ​<option size=”5”> … </option>
  c. ​<select value=”5”> … </select>
  d. ​<option value=”5”> … </option>

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 533
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.07 – Create a selection list
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Selection List
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

44. Identify the element that can organize selection list options by placing them in option groups in long selection lists.​

  a. ​optgroup
  b. ​select
  c. ​opgroup
  d. ​selgroup

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 535
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.07 – Create a selection list
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Selection List
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

45. _____ are like selection lists in which they limit fields to a set of possible values; but, unlike selection lists, the options appear as separate controls in the web form.​

  a. ​Text area boxes
  b. ​Slider controls
  c. ​Radio buttons
  d. ​Color pickers

 

ANSWER:   c
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 537
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.08 – Create option buttons
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating Option Buttons
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

46. The check box control is created using the _____ element.​

  a. ​input
  b. ​select
  c. ​option
  d. ​label

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 540
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.09 – Create check boxes and text area boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating Check Boxes
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

47. HTML supports the _____ attributes to set the text area size.​

  a. ​rows and cols
  b. ​x-coords and y-coords
  c. ​blocks and chars
  d. ​headers and footers

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 542
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.09 – Create check boxes and text area boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Text Area Box
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

48. A _____ is used to restrict numeric values by displaying an up or down arrow to increase or decrease the field value by a set amount.​

  a. ​spinner control
  b. ​check box
  c. ​radio button
  d. ​data list

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 548
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.10 – Create spinners and range sliders
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Entering Numeric Data
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

49. Identify a syntax used to create a spinner control using an input element.​

  a. ​<input name=”name” id=”id” type=”number”

value=”value” step=”value” min=”value” max=”value” />

  b. ​<input name=”name” id=”id” type=”number”

value=”value” set=”value” min=”value” max=”value” />

  c. ​<input name=”name” id=”id” type=”number”

value=”value” size=”value” min=”value” max=”value” />

  d. ​<input name=”name” id=”id” type=”number”

value=”value” area=”value” min=”value” max=”value” />

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 548
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.10 – Create spinners and range sliders
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Entering Numeric Data
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

50. Identify the widget that limits a numeric field to a range of possible values by allowing users to drag a marker horizontally across the possible field values.​

  a. ​Spinner control
  b. ​Slider control
  c. ​Data list
  d. ​Selection list

 

ANSWER:   b
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 550
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.10 – Create spinners and range sliders
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Entering Numeric Data
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

51. Identify a data type applied in an input element to create slider controls. ​

  a. ​number
  b. ​range
  c. ​character
  d. ​string

 

ANSWER:   b
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 550
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.10 – Create spinners and range sliders
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Entering Numeric Data
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

52. Identify a list which when applied to an input box, the values appear as a pop-up list of suggested values.​

  a. ​Nested List
  b. ​Data list
  c. ​Ordered list
  d. ​Selection list

 

ANSWER:   b
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 553
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.11 – Use data lists
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Suggesting Options with Data Lists
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

53. Identify the type of control that performs an action.​

  a. ​A selection list
  b. ​A form button
  c. ​An input box
  d. ​A text area

 

ANSWER:   b
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 556
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.12 – Create form buttons
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Working with Form Buttons
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

54. Command buttons are created using the input element with the type attribute set to _____.​

  a. ​range
  b. ​number
  c. ​command
  d. ​button

 

ANSWER:   d
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 556
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.12 – Create form buttons
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Working with Form Buttons
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

55. The ____ element is used to create a custom option.​

  a. ​command
  b. ​file
  c. ​input
  d. ​button

 

ANSWER:   d
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 559
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.12 – Create form buttons
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Working with Form Buttons
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

56. The process of ensuring that the user has supplied correct data is called _____.​

  a. ​validation
  b. ​submission
  c. ​correction
  d. ​identification

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 559
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.13 – Validate a form
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Validating a Web Form
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

57. The _____ attribute must be added to the control to identify whether the data has been supplied to those fields that are opposed to the ones that are optional.​

  a. ​method
  b. ​enctype
  c. ​required
  d. ​default

 

ANSWER:   c
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 559
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.13 – Validate a form
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Validating a Web Form
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

58. Identify an attribute that can be added to the input element to validate a text value against a regular expression.​

  a. ​legend=”text”
  b. ​method=”text”
  c. ​enctype=”regex”
  d. ​pattern=”regex”

 

ANSWER:   d
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 562
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.13 – Validate a form
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Validating a Web Form
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

59. The technique of immediate data validation and reporting of errors is known as _____.​

  a. ​server-side validation
  b. ​inline validation
  c. ​online validation
  d. ​client-side validation

 

ANSWER:   b
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 565
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.14 – Apply validation styles
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Applying Inline Validations
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

60. Identify a pseudo-class for a check box or option button whose toggle states cannot be ascertained.​

  a. ​valid
  b. ​optional
  c. ​in-range
  d. ​indeterminate

 

ANSWER:   d
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 566
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.14 – Apply validation styles
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Applying Inline Validations
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

Case-Based Critical Thinking Questions

Case 7-1

Oscar owns Oscar’s Skateboard Shop. He wants to create a web form to allow users to specify the type of skateboards they would like to buy. This includes the make, model, type and color, and board options. Oscar’s skateboards come in Children, Young Adult, and Adult sizes. Oscar’s skateboards come in different colors, patterns, and themes. He has over 25 makes and models of skateboards.

 

61. Oscar wants the web form to allow users to select the delivery date for the items he purchases. To select the dates, Oscar should use a _____.​

  a. ​calendar control
  b. ​check box
  c. ​radio button
  d. ​hover dropdown

 

ANSWER:   b
POINTS:   1
DIFFICULTY:   Challenging
REFERENCES:   HTML 502
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
PREFACE NAME:   Case 7-1
LEARNING OBJECTIVES:   07.01 – Explore web forms
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
KEYWORDS:   Bloom’s: Apply
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

62. Oscar’s skateboards are manufactured in different hues. Which of the following features should Oscar add to allow customers to choose a shade of their choice?​

  a. ​Slider controls
  b. ​Spin boxes
  c. ​Color pickers
  d. ​Selection lists

 

ANSWER:   c
POINTS:   1
DIFFICULTY:   Challenging
REFERENCES:   HTML 502
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
PREFACE NAME:   Case 7-1
LEARNING OBJECTIVES:   07.01 – Explore web forms
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
KEYWORDS:   Bloom’s: Apply
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

63. ​Which of the following can Oscar use to display a list of makes and models of skateboards?

  a. ​Text area boxes
  b. ​Radio buttons
  c. ​Selection lists
  d. ​Slider controls

 

ANSWER:   c
POINTS:   1
DIFFICULTY:   Challenging
REFERENCES:   HTML 531
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
PREFACE NAME:   Case 7-1
LEARNING OBJECTIVES:   07.07 – Create a selection list
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Selection List
KEYWORDS:   Bloom’s: Apply
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

Case 7-2

Wyona, the owner of Wyona’s Hat Designs, desires to have a web site built for customers to order custom-made hats. They can pick from straw, leather, and other material hat collections. Customers can specify one of their existing patterns, which includes about 50 designs. They can also choose a custom pattern instead and then provide information about the pattern they want for Wyona to custom create.

 

64. Which type of field should Wyona provide for the user to provide plenty of space for customers to enter the information for a custom pattern?​

  a. ​Input boxes
  b. ​Check boxes
  c. ​Spin boxes
  d. ​Text area boxes

 

ANSWER:   d
POINTS:   1
DIFFICULTY:   Challenging
REFERENCES:   HTML 502
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
PREFACE NAME:   Case 7-2
LEARNING OBJECTIVES:   07.01 – Explore web forms
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
KEYWORDS:   Bloom’s: Apply
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

65. Wyona wants to ensure that the text box should accept only 5 characters for entering a zip code. Which attribute of a text box will allow her to do this?​

  a. ​maxlength
  b. ​size
  c. ​codevalue
  d. ​character

 

ANSWER:   a
POINTS:   1
DIFFICULTY:   Challenging
REFERENCES:   HTML 564
QUESTION TYPE:   Multiple Choice
HAS VARIABLES:   False
PREFACE NAME:   Case 7-2
LEARNING OBJECTIVES:   07.13 – Validate a form
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Validating a Web Form
KEYWORDS:   Bloom’s: Apply
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

Completion

 

66. ​The _________ element is an HTML element used to access and run JavaScript programs that will run within the user’s browser.

ANSWER:   script
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 505
QUESTION TYPE:   Completion
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.03 – Create forms and field sets
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Starting a Web Form
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

67. Grouping dozens of different fields into a _________ that a web form can have, makes the form easier to interpret and more accessible.

ANSWER:   field set​
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 507
QUESTION TYPE:   Completion
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.03 – Create forms and field sets
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Field Set
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

68. The _________ attribute is always needed in an input element while submitting the form to a server.​

ANSWER:   ​name
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 510
QUESTION TYPE:   Completion
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating Input Boxes
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

69. Most mobile and tablet devices do not have physical keyboards; instead, they use _________ that exist as software representations of the physical device.​

ANSWER:   virtual keyboards​
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 514
QUESTION TYPE:   Completion
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.04 – Create labels and input boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating Input Boxes
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

70. _________ are text strings that appear within a form control, providing a hint about the kind of data that should be entered into the field.​

ANSWER:   Placeholders​
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 524
QUESTION TYPE:   Completion
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.05 – Explore form layout
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Defining Default Values and Placeholders
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

71. By default, a _________ appears as a drop-down list box.​

ANSWER:   ​selection list
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 533
QUESTION TYPE:   Completion
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.07 – Create a selection list
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating a Selection List
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

72. A check box can be selected automatically by adding the _________ attribute to the input element.​

ANSWER:   checked​
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 540
QUESTION TYPE:   Completion
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.09 – Create check boxes and text area boxes
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Creating Check Boxes
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

73. The _________ attribute is added to the input element to apply a data list.​

ANSWER:   list, <input list=”id”/>​
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 553
QUESTION TYPE:   Completion
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.11 – Use data lists
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Suggesting Options with Data Lists
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

74. A _________ is a button that runs a program, which affects the content of the page or the actions of the browser.​

ANSWER:   command button​
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 556
QUESTION TYPE:   Completion
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.12 – Create form buttons
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Working with Form Buttons
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

75. ​The process of validation that takes place on the web user is called _________.

ANSWER:   server-side validation​
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 559
QUESTION TYPE:   Completion
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.13 – Validate a form
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Validating a Web Form
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

76. _________ refers to the state in which an element has been clicked by the user, making it the active control on the form.​

ANSWER:   Focus​
POINTS:   1
DIFFICULTY:   Easy
REFERENCES:   HTML 566
QUESTION TYPE:   Completion
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.14 – Apply validation styles
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Applying Inline Validation
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

Matching

 

​Identify the letter of the choice that best matches the phrase or definition.

a. ​Input boxes b. ​Selection lists
c. ​Option buttons d. ​Check boxes
e. ​multipart/form-data f. ​application/x-www-form-urlencoded
g. ​Form buttons h. ​text/plain
i. ​get j. enctype
k. ​Option groups l. hidden

 

DIFFICULTY:   Easy
REFERENCES:   HTML 502
HTML 504
HTML 537
HTML 556
HTML 511
HTML 535
HTML 505
QUESTION TYPE:   Matching
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.01 – Explore web forms
07.02 – Work with form servers
07.03 – Create forms and field sets
07.04 – Create labels and input boxes
07.07 – Create a selection list
07.08 – Create option buttons
07.12 – Create form buttons
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Introducing Web Forms
Creating Option Buttons
Starting a Web Form
Working with Form Buttons
Creating Input Boxes
Creating a Selection List
KEYWORDS:   Bloom’s: Remember
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

77. ​Used for selecting data values limited to two possibilities, such as “yes” or “no”

ANSWER:   d
POINTS:   1

 

78. ​Created with a group of input elements with a type attribute value of radio, sharing a common data field name

ANSWER:   c
POINTS:   1

 

79. ​The format in which data is transferred as plain text with spaces replaced with the + character, but no other encoding of the data values occurs

ANSWER:   h
POINTS:   1

 

80. ​Processes the form when clicked

ANSWER:   g
POINTS:   1

 

81. ​Used for a long sequence of options

ANSWER:   b
POINTS:   1

 

82. ​The default format in which the data is encoded as a long text string with spaces replaced by the + character and special characters replaced with their hexadecimal code values

ANSWER:   f
POINTS:   1

 

83. ​The format used when uploading files in which no encoding of the data values occurs

ANSWER:   e
POINTS:   1

 

84. ​Used to create an email field that is part of the form but not displayed

ANSWER:   l
POINTS:   1

 

85. ​Used to group items on a drop-down list

ANSWER:   k
POINTS:   1

 

86. ​Used to append the form data to the end of the URL

ANSWER:   i
POINTS:   1

 

87. ​Specifies how the form data should be encoded as it is sent to the server

ANSWER:   j
POINTS:   1

 

88. ​Used for text and numerical entries

ANSWER:   a
POINTS:   1

 

Essay

 

89. ​What are the attributes that tell the browser how the form should interact with the web server?

ANSWER:   To specify where to send the form data and how to send it, the following action, method, and enctype attributes are defined.

<form action=”url” method=”type” enctype=”type”>content

</form>

Here, the action attribute provides the location of the web server program that processes the form; the method attribute specifies how the browser should send form data to the server; and the enctype attribute specifies how the form data should be encoded as it is sent to the server. The method attribute has two possible values: get and post. The default is the get method, which tells the browser to append the form data to the end of the URL specified in the action attribute. The post method sends the form data in its own separate data stream. The enctype attribute has three possible values in predefined formats for a specific purpose.

POINTS:   1
DIFFICULTY:   Moderate
REFERENCES:   HTML 505
QUESTION TYPE:   Essay
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.03 – Create forms and field sets
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Starting a Web Form
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

90. Describe the types of layouts that are used to design a form.​

ANSWER:   ​To be effective, the layout of the form should aid the user in interpreting the form and navigating easily from one input control to the next. There are two general layouts, one in which the labels are placed directly above the input controls in a single column and the other in which the labels and controls are placed side by side in two columns.

Usability studies have shown that a single column layout is more accessible because the labels are placed more closely to their input controls. However, for long forms involving many fields, a single column layout can be difficult to work with due to the extensive vertical space required.

The width of an input box is set by adding the following size attribute to the input element in the HTML file as given below:

size=”chars

Here, chars is the width of the input box in characters. For example, the following input element sets the width of the input box for a field to two characters:

<input id=”state” size=”2” type=”text” />

POINTS:   1
DIFFICULTY:   Moderate
REFERENCES:   HTML 516
QUESTION TYPE:   Essay
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.05 – Explore form layout
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Designing a Form Layout
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

91. What are the pseudo-classes for valid and invalid data?​

ANSWER:   The valid and invalid pseudo-classes are used to format controls based on whether their field values pass a validation test or not. For example, the following style rule displays all the input elements containing invalid data with a light red background:

In put: invalid {

background-color: rgb (255, 232, 233);

}

On the other hand, the following style rule displays all the input elements containing valid data with a light green background:

input: valid {

background-color: rgb (220, 255, 220);

}

Both of these style rules set the background color whether the input element has the focus or not. Displaying a form full of input backgrounds with different background colors can be confusing and distracting to the user. As a result, it is better practice to highlight invalid field values only when those input controls have the focus, as shown in the following style rule that combines both the focus and invalid pseudo-classes:

input:focus:invalid {

background-color: rgb (255, 232, 233);

}

POINTS:   1
DIFFICULTY:   Moderate
REFERENCES:   HTML 567
QUESTION TYPE:   Essay
HAS VARIABLES:   False
LEARNING OBJECTIVES:   07.14 – Apply validation styles
NATIONAL STANDARDS:   United States – BUSPROG: Technology
TOPICS:   Applying Inline Validations
KEYWORDS:   Bloom’s: Understand
DATE CREATED:   4/3/2017 9:42 AM
DATE MODIFIED:   4/3/2017 9:42 AM

 

 

Additional information

Add Review

Your email address will not be published. Required fields are marked *