A(n) _____ is any group of characters enclosed within either double or single quotation marks
in JavaScript.
a. entity
b. text string
c. object
d. null value CORRECT ANS-b. text string
Identify a statement that is added to the first line of the file to run a script in strict mode.
a. "use strict";
b. "mode strict";
c. mode: strict
d. use: strict CORRECT ANS-a. "use strict";
JavaScript is used as a programming tool for:
a. providing virtual reality, diagnosis, and nonlinear controls.
b. managing databases.
c. designing style sheets for websites.
, ISDS 3105 Final Exam Quizzes 100% Solved
d. creating interactive web forms and animated graphics. CORRECT ANS-d. creating
interactive web forms and animated graphics.
A command that indicates an action for the browser to take should end with a _____.
a. backslash
b. semicolon
c. colon
d. forward slash CORRECT ANS-b. semicolon
A _____ occurs after a script has been successfully loaded with no syntax errors and is being
executed by a browser.
a. logical error
b. load-time error
c. fatal error
d. run-time error CORRECT ANS-d. run-time error
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. text area
, ISDS 3105 Final Exam Quizzes 100% Solved
b. selection list
c. option button
d. check box CORRECT ANS-b. selection list
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. form
d. script CORRECT ANS-a. legend
get and post are two possible values for the _____ attribute.
a. method
b. enctype
c. class
d. action CORRECT ANS-a. method
Identify a syntax that displays a selection list as a scroll box with 5 options visible in the web
form.