1. How do you call a function in JavaScript.

    result myFunction()
    call myFunction()
    result = myFunction()
    myFunction
  2. How do you test for two variables not being equal.

    if (a != b)
    if (a <> b)
    if (a not b)
    if (a,b,ne)
  3. What can't you do with Javascript.

    Validate a form
    Protect your page source
    Create animated effects
    Dynamically change the page
  4. What does isNaN function do.

    Chnages letters to numbers
    Converts images to Numbers
    Checks for Numbers
    validates signals
  5. In JavaScript, a line beginning with // is a(n)

    comment
    comparison
    function
    assignment
  6. The event associated with the input control is

    sparechange
    textchange
    onClick
    textchange
  7. Random numbers in JavaScript are generated by using

    Rnd
    Math.rnd
    Math.Random()
    Random.Math()
  8. In HTML, href

    is a file location of money
    is he extension for a web page
    creates a web link
    creates an image
  9. The building blocks of programming are

    variables and events
    functions
    HTML and JavaScript
    programming languages
  10. The JavaScript Date() function

    returns the date and time as a number
    is decimal
    none of the above


Back To Top