WEB150: Final Exam

    Multiple Choice:

  1. What is a correct way to create an array in JavaScript?
  2. What is a correct way to create an object in JavaScript?
  3. How can you apply the css property 'background-color' in JavaScript? (assuming myEl is a valid DOM element)
  4. DOM is an acronym for:
  5. What will the variable 'count' be strictly (===) after this code is run:
    var count = 27+'1';
  6. What method do you use to open a popup window?
  7. A JavaScript function without a name is commonly referred to as:
  8. &&, !, and || are examples of:
  9. Which control structure(s) can you use to iterate through an array of items?
  10. True or False:

  11. Unobtrusive JavaScript is kept apart from document style and structure.
  12. JavaScript Libraries are books on the JavaScript language meant to help you learn to code.
  13. JavaScript is a scripted version of the Java programming language.
  14. Choose All that Apply:

  15. Which of the following JavaScript code snippits will result in a JavaScript runtime error?
  16. Which of the following are examples of comments in JavaScript?

All finished? Check, double-check and triple-check your answers (and make sure you chose your instructor up top)