Practice Quiz 2

  1. defaultStatus is equal to true unless there is an error when loading the page
    A. true
    B. false
  1. You can display Status Bar messages when using Image Maps
    A. true
    B. false

<A HREF="mouseover.htm"
  onMouseOver="document.display.src='images/displayOn.gif'"
  onMouseOut="document.display.src='images/displayOff.gif'">
<IMG NAME="display" SRC="images/displayOff.gif" >
</A>

  1. Some possible concern with the code above
    A. The user might not use a JavaScript 1.1 "compatible browser"
    B. The above works under all circumstances
    C. The second image is not being pre-loaded
    D. none of the above
  1. Array() Methods
    A. join()
    B. reverse()
    C. sort()
    D. none of the above
  1. JavaScript does not support Multi-Dimensional Arrays
    A. true
    B. false

var ArrayName = new Array(4);

  1. ArrayName can never have more than four elements
    A. true
    B. false
  1. Arrays have no Properties, just Methods
    A. true
    B. false

numbers[0] = 5
numbers[1] = 4000
numbers[2] = 100
numbers[3] = 59

numbers.sort() results in:

numbers[0] = 5
numbers[3] = 59
numbers[2] = 100
numbers[1] = 4000

  1. The statement above is
    A. true
    B. false
  1. Arrays may contain ANY type of JavaScript data
    A. true
    B. false
  1. Math.round(2.500000) will equal
    A. 3
    B. 2
    C. 2.5
    D. none of the above

You have:    answers correct out of a possible ten.

The question numbers that were not correct are: