Name: 
 

JavaScriptLesson5



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

 1. 

JavaScript was introduced by Microsoft in 1996.
 

 2. 

Syntax is another way to say "binary code."
 

 3. 

JavaScript was created before the Java programming language.
 

 4. 

JavaScript is a programming language.
 

 5. 

HTML can affect the look of text created with the JavaScript document.write() method.
 

 6. 

JavaScript code is converted into a machine-readable form on-the-fly.
 

 7. 

A parameter list is never empty.
 

 8. 

The status line displays messages at the bottom of a window.
 

 9. 

JavaScript requires a compiler.
 

 10. 

JavaScript is interpreted at run time.
 

Completion
Complete each sentence or statement.
 

 11. 

A(n) ____________________ is specialized software that converts human-readable form to machine-readable form.
 

 

 12. 

JavaScript objects contain special functions, called ____________________, that perform various tasks.
 

 

 13. 

A(n) ____________________ is an invisible entity that contains a well-defined set of capabilities.
 

 

 14. 

JavaScript must adhere to specific rules of grammar for programs called ____________________.
 

 

 15. 

JavaScript is accurately called a(n) ____________________ language.
 

 

 16. 

_________________________ is the term programmers use to describe the line-by-line conversion process that occurs at run time.
 

 

 17. 

The { or open ____________________ indicates the beginning of a statement block.
 

 

 18. 

A JavaScript condition will always consist of two ____________________.
 

 

 19. 

The browser converts the script into its equivalent machine-readable form called ____________________ code.
 

 

 20. 

The ____________________ () method displays a dialog box that informs users that an expected event has occurred.
 

 

Matching
 
 
Match the letter with the correct definition.
a.
<SCRIPT> tag
f.
==
b.
</SCRIPT> tag
g.
!=
c.
document.write
h.
<
d.
("A string of text.");
i.
>
e.
if, else, return
j.
<=
 

 21. 

Sample keywords that cannot be used as a variable.
 

 22. 

A sample method statement.
 

 23. 

A sample parameter list.
 

 24. 

Operator: is greater than.
 

 25. 

Operator: is not equal to.
 

 26. 

Marks the beginning of a JavaScript section of code.
 

 27. 

Operator: is less than or equal to.
 

 28. 

Operator: is less than.
 

 29. 

Marks the end of a JavaScript section of code.
 

 30. 

Operator: is equal to.
 



 
Check Your Work     Reset Help