LSU ISDS 3105 FINAL EXAM QUESTIONS AND ANSWERS
a. check box
b. selection list Correct
c. option button
d. text area - Answers-A _____ is created using the select and option elements that
present users with a group of predefined possible values for the data field.
a. enctype
b. form
c. legend Correct
d. script - Answers-Every field set must contain the _____ element, which should have
only text and no nested elements for describing its content.
b. <select size="5"> ... </select> - Answers-Identify a syntax that displays a selection list
as a scroll box with 5 options visible in the web form.
Select one:
a. <option size="5"> ... </option>
b. <select size="5"> ... </select>
c. <option value="5"> ... </option>
d. <select value="5"> ... </select>
b. method - Answers-get and post are two possible values for the _____ attribute.
Select one:
a. class
b. method
c. enctype
d. action
b. Slider control - Answers-Identify a widget that allows the user to interact with the form
for entering numeric values confined to a specified range.
Select one:
a. Reset button
b. Slider control
c. Option button
d. Calendar control
d. pattern="regex" - Answers-Identify an attribute that can be added to the input element
to validate a text value against a regular expression.
Select one:
a. legend="text"
b. method="text"
c. enctype="regex"
d. pattern="regex"
c. A form button - Answers-Identify the type of control that performs an action.
, Select one:
a. An input box
b. A text area
c. A form button
d. A selection list
c. Field sets act like block elements that can expand to accommodate their content. -
Answers-Which of the following is true of field sets?
Select one:
a. Field sets act like control elements that are also called widgets.
b. Field sets are created using the <area> tag.
c. Field sets act like block elements that can expand to accommodate their content.
d. Field sets can contain a maximum of two fields.
a. option buttons - Answers-In the accompanying figure, Box B points to _____.
Select one:
a. option buttons
b. spin boxes
c. input boxes
d. selection lists
b. spin box - Answers-In the accompanying figure, Box E represents a _____.
Select one:
a. slider control
b. spin box
c. calendar control
d. check box
b. text string - Answers-A _____ is any group of characters enclosed within either
double or single quotation marks in JavaScript.
Select one:
a. object
b. text string
c. entity
d. null value
c. "use strict"; - Answers-Identify a statement that is added to the first line of the file to
run a script in strict mode.
Select one:
a. use: strict
b. mode: strict
c. "use strict";
d. "mode strict";
a. creating interactive web forms and animated graphics - Answers-JavaScript is used
as a programming tool for:
a. check box
b. selection list Correct
c. option button
d. text area - Answers-A _____ is created using the select and option elements that
present users with a group of predefined possible values for the data field.
a. enctype
b. form
c. legend Correct
d. script - Answers-Every field set must contain the _____ element, which should have
only text and no nested elements for describing its content.
b. <select size="5"> ... </select> - Answers-Identify a syntax that displays a selection list
as a scroll box with 5 options visible in the web form.
Select one:
a. <option size="5"> ... </option>
b. <select size="5"> ... </select>
c. <option value="5"> ... </option>
d. <select value="5"> ... </select>
b. method - Answers-get and post are two possible values for the _____ attribute.
Select one:
a. class
b. method
c. enctype
d. action
b. Slider control - Answers-Identify a widget that allows the user to interact with the form
for entering numeric values confined to a specified range.
Select one:
a. Reset button
b. Slider control
c. Option button
d. Calendar control
d. pattern="regex" - Answers-Identify an attribute that can be added to the input element
to validate a text value against a regular expression.
Select one:
a. legend="text"
b. method="text"
c. enctype="regex"
d. pattern="regex"
c. A form button - Answers-Identify the type of control that performs an action.
, Select one:
a. An input box
b. A text area
c. A form button
d. A selection list
c. Field sets act like block elements that can expand to accommodate their content. -
Answers-Which of the following is true of field sets?
Select one:
a. Field sets act like control elements that are also called widgets.
b. Field sets are created using the <area> tag.
c. Field sets act like block elements that can expand to accommodate their content.
d. Field sets can contain a maximum of two fields.
a. option buttons - Answers-In the accompanying figure, Box B points to _____.
Select one:
a. option buttons
b. spin boxes
c. input boxes
d. selection lists
b. spin box - Answers-In the accompanying figure, Box E represents a _____.
Select one:
a. slider control
b. spin box
c. calendar control
d. check box
b. text string - Answers-A _____ is any group of characters enclosed within either
double or single quotation marks in JavaScript.
Select one:
a. object
b. text string
c. entity
d. null value
c. "use strict"; - Answers-Identify a statement that is added to the first line of the file to
run a script in strict mode.
Select one:
a. use: strict
b. mode: strict
c. "use strict";
d. "mode strict";
a. creating interactive web forms and animated graphics - Answers-JavaScript is used
as a programming tool for: