Name: 
 

JavaScript6



True/False
Indicate whether the sentence or statement is true or false.
 

 1. 

A JavaScript variable is nothing more than another name for a rollover graphic.
 

 2. 

Arrays are available in every modern computer language.
 

 3. 

The <SCRIPT> </SCRIPT> tags must appear in the body section of the HTML document instead of the header section.
 

 4. 

Today, only large corporations, banks, and airline reservation agencies can afford to install client/server architecture.
 

 5. 

To provide Internet security against viruses, JavaScript prevents users from loading images into memory as the program launches.
 

 6. 

JavaScript can make graphical hyperlinks respond to mouse movements.
 

 7. 

There is little difference between a method and a function, except that methods have already been defined, whereas programmers will write new functions.
 

 8. 

JavaScript is case sensitive.
 

 9. 

A hyperlink rollover is triggered when the user moves the mouse over a hyperlink, rather than when the mouse rolls over an image.
 

 10. 

An event is another word for a JavaScript function.
 

Completion
Complete each sentence or statement.
 

 11. 

In JavaScript, a real number is also called a(n) ____________________-point number.
 

 

 12. 

The term ____________________ means to subtract 1 from a value.
 

 

 13. 

A(n) ____________________ is a segment of JavaScript code that can be called just like the document.write() method, but is written by the programmer.
 

 

 14. 

A(n) ____________________ is simply an integer variable that identifies which element of an array is being referenced.
 

 

 15. 

The term ____________________ means to add 1 to a value.
 

 

 16. 

A(n) ____________________ is a system-level response to the occurrence of some specific condition.
 

 

 17. 

JavaScript is frequently used on the ____________________ side of client/server applications.
 

 

 18. 

An array can be accessed by means of a(n) ____________________ name.
 

 

 19. 

A(n) ____________________ is a collection of similar objects that can be accessed by means of a variable name.
 

 

 20. 

A(n) ____________________ banner is a sequence of graphic images that are displayed one after another.
 

 

Matching
 
 
Match the event name with the event trigger.
a.
onMouseOver
f.
onClick
b.
onMouseOut
g.
onError
c.
onAbort
h.
onFocus
d.
onBlur
i.
onLoad
e.
onChange
j.
onSelect
 

 21. 

The Web browser finished loading a page.
 

 22. 

The user activated an object (the object received focus).
 

 23. 

The JavaScript interpreter encountered a script error.
 

 24. 

The user clicked the mouse on an object.
 

 25. 

The user changed the object in some way.
 

 26. 

The mouse pointer moved off an object.
 

 27. 

The user aborted the loading of a Web page.
 

 28. 

The user selected (highlighted) the contents of an object.
 

 29. 

The mouse pointer passed over an object.
 

 30. 

The user deactivated an object (the object lost focus).
 



 
Check Your Work     Reset Help