41. Which of the following is NOT an HTML "form-only" element?

a. INPUT
b. SELECT
c. IMAGEMAP
d. TEXTAREA




















42. SCRIPT elements can appear

a. only in the head of a page
b. only in the body of a page
c. only in the head of a page, or in event handlers
d. in the head or in the body of a page




















43. Which of the following is NOT a way of initiating the execution of a JavaScript function?

a. Define it in the page header.
b. Refer to it by name from a script element in the page header.
c. Refer to it by name from a script element in the page body.
d. Refer to it by name from an event handler.




















44. Local and global variables differ in

a. the size of the values they can refer to
b. their names
c. their scope
d. they types of information they can represent




















45. Describing JavaScript as "loosely typed" means

a. we can use spaces wherever we want in JavaScript code
b. it is not too strict about how we use and combine different types of information
c. variables need not be declared before they are used
d. variables can assume more than one value at a time




















46. Which of these builtin functions returns a boolean value?

a. alert
b. confirm
c. eval
d. prompt




















47. Since a for statement automatically takes care of adjusting and testing its control variable, it is impossible to write an infinite for loop.

a. TRUE
b. FALSE
c.
d.




















48. Which of the following is NOT an array?

a. document.links
b. form.elements
c. select.options
d. window.self




















49. Which of the following is NOT a JavaScript builtin object?

a. Date
b. Writeln
c. Math
d. String




















50. Which of the following is NOT a phase of the software development life cycle?

a. Abstraction
b. Specification
c. Design
d. Testing




















 
Congratulations: you've reached the end of the quiz. Return to the list of quizzes to take another chapter quiz, or to reset your score and start over.

If you'd like more information on Programming, see the Resources for this Module.