JavaScript Introduction Test Notes

 

Using JavaScript, you can enhance a Web page by adding  pop-up windows,  interactive quizzes and  data input forms

 

The interpreter  translates each line of a language and converts it, line by line, into machine code as it is executed.

 

Dead-ends are sections on the Web site a user visits, which apparently cause them to leave the Web site for lack of interest.

 

JavaScript uses Boolean type variables that represent a state or condition as being True or False (Yes or No).

 

Reserved  words are predefined words that have special meaning to JavaScript.

 

Idnumber is a valid variable name.

 

 

The  alert() method is used to display messages in a dialog box.

 

 Concatenation is used to join string literals or variables together as one variable.

 

 

To validate data, you compare or test the data entered to a desired value; this test is called a(n) conditional

 

A(n) function is a way to write several lines of script and use them repeatedly as needed.

 

An object instance is the actual object used.

 

When you execute the code associated with an event handler, you are triggering

the event.

 

Focus means that a(n) check box, text box , option button and has attention drawn to it.

 

The SRC attribute in the FRAMESET tag identifies the HTML document you want to load.

 

The  length of an array indicates the number of items stored, not how many characters are being stored.

 

Like an applet, a JavaScript statement is which is embedded in the HTML document  

 

You can not use JavaScript to create applets and stand-alone applications.

 

Unlike Java, JavaScript is an interpreted language, meaning that it does not end up as an executable file.

 

HTML tags and attributes are not case sensitive.

 

To use JavaScript or any scripting language, in the HTML code, the browser needs to be told that a script language is being used.

 

A CGI script is any program that runs on a Web server for the purpose of processing data.

 

2000 is not a valid variable name.

 

The result of the JavaScript statement var answer = "3" + "2" is "32".

 

A document is an object on its own and can be a property of the Window object.

 

The Document object is not the top-level object in the hierarchy.

 

If you have ever filled out a request for information on a Web site, you have worked with a form.

 

Blur means that the attention has moved from a given object to another object.

 

Frames actually are created with the HTML tags <FRAMESET> and </FRAMESET>.

 

It is recommended always to leave element [0] of an array empty and start with element [1].

 

Unique to JavaScript arrays is that you can add more items to the array than originally defined.


 

1