Practice Quiz 2

  1. if you press Cancel on the prompt() what is returned:
    A. null
    B. cancel
    C. false
    D. none of the above
  1. You have to declare variables in JavaScript
    A. true
    B. false
  1. In JavaScript you have to end statements with Semicolons
    A. true
    B. false
  1. confirm() returns the following:
    A. true
    B. OK
    C. false
    D. null
  1. JavaScript allows you to manipulate files on the client's computer
    A. true
    B. false
  1. Which one(s) is/are correct?
    A. alert()
    B. document.alert()
    C. window.alert()
    D. none of the above
  1. Which of the following are window Methods
    A. write()
    B. open()
    C. prompt()
    D. alert()
  1. history.go(-1) and history.back() do the same thing
    A. true
    B. false
  1. MS Internet Explorer fully supports the navigator Object
    A. true
    B. false
  1. Which of the Objects are on the "same level"
    A. document
    B. history
    C. navigator
    D. location

You have:    answers correct out of a possible ten.

The question numbers that were not correct are: