- | Page
LSU ISDS 3105 FINAL EXAM
QUESTIONS & ANSWERS
Question: A _____ is created using the select and option
elements that present users with a group of predefined possible values for the data field.
CORRECT ANSWER : selection list
Question: Every field set must contain the _____ element,
which should have only text and no nested elements for describing its content.
CORRECT ANSWER : legend
Question: get and post are two possible values for the
_____ attribute.
CORRECT ANSWER : method
Question: Identify a syntax that displays a selection list as
a scroll box with 5 options visible in the web form.
CORRECT ANSWER :
- | Page
Question: Identify a widget that allows the user to interact
with the form for entering numeric values confined to a specified range.
CORRECT ANSWER: Slider control
Question: Identify an attribute that can be added to the
input element to validate a text value against a regular expression.
CORRECT ANSWER : pattern="regex"
Question: Identify the type of control that performs an
action.
CORRECT ANSWER: A form button
Question: Which of the following is true of field sets?
CORRECT ANSWER : Field sets act like block
elements that can expand to accommodate their content.
Question: In the accompanying figure, Box B points to
_____.
- | Page
CORRECT ANSWER : option buttons
Question: In the accompanying figure, Box E represents a
_____.
CORRECT ANSWER : Spin box
Question: A _____ is any group of characters enclosed
within either double or single quotation marks in JavaScript.
CORRECT ANSWER : text string
Question: Identify a statement that is added to the first
line of the file to run a script in strict mode.
CORRECT ANSWER : "use strict";
Question: JavaScript is used as a programming tool for:
CORRECT ANSWER : creating interactive web forms
and animated graphics.
- | Page
Question: A command that indicates an action for the
browser to take should end with a _____.
CORRECT ANSWER : semicolon
Question: A _____ occurs after a script has been
successfully loaded with no syntax errors and is being executed by a browser.
CORRECT ANSWER : run-time error
Question: A _____ is a collection of commands that
performs an action or returns a value.
CORRECT ANSWER : function
Question: A _____ is a named item in a program that
stores a data value, such as a number or text string, or an object, such as a part of the web browser or browser window.