Web1 Chp-14 Quiz (JavaScript)

25 July 2022
4.7 (114 reviews)
40 test answers

Unlock all answers in this set

Unlock answers (36)
question
The _______________property can set the background color of the document.
answer
document.bgcolor
question
The code to access the contents of an input box named email on a form is:
answer
document.forms[0].email.value
question
Which of the following will assign the value Smith to the variable customerName?
answer
customerName = Smith ;
question
Select an appropriate use of Java Script
answer
form validation
question
JavaScript is an object-based client-based scripting language interpreted by a Web browser.
answer
True
question
JavaScript is basically a subset of the Java programming language.
answer
False
question
Which symbol is used for the href value in the anchor tag to signify that we don't need the functionality of loading another Web page when we use the onmouseover or onmouseout event handlers?
answer
# symbol (the number, or hashtag, symbol)
question
JavaScript can be described as:
answer
an object-oriented scripting language
question
In the context of web page interactivity, an _________ can be described as an action taken by the user.
answer
event
question
Image swapping describes the effect when the user positions the mouse pointer on top of an image and the original image is swapped for a new image and then when the user moves the mouse away from the image, the original image appears. This is commonly used for navigation button bars.
answer
True
question
A ______ is a reusable block of JavaScript statements.
answer
function
question
The __________ event handler is triggered when the visitor places their mouse on an object.
answer
onmouseover
question
An example of a Document Object Model property is:
answer
lastModified - the trick word for this question is "property"
question
The _______ defines every object and element on a web page.
answer
Document Object Model
question
Select the technology that was developed by a joint effort between Netscape and Sun Microsystems.
answer
JavaScript
question
A Web-server performs which of the following functions?
answer
sending email, storing items in a database, and tracking items in shopping cart
question
Popular uses for JavaScript are:
answer
all of these ( alert messages, jump menus, all of these, pop-up windows )
question
Select the valid JavaScript variable name below:
answer
myName
question
A _____ is an action that can be performed with an object.
answer
method
question
How many scripts can be embedded in an XHTML document?
answer
As many as you need
question
Select the true statement from those listed below.
answer
All of the statements these are true