1. How does a FOR loop start?
  2. In the following code, what does z equal? var x = 12; var y = 2; var z = x / y;
  3. What comes after an if statement if the outcome is false?
  4. Which of these is NOT a comparison operator?
  5. What is the correct JavaScript syntax to change the content of the HTML element below?

    This is a demonstration.

  6. Which is the standard form for writing function declarations?
  7. What should always follow a function name?
  8. Which of the following would change the first element of fruits to "Kiwi"? var fruits = ["Banana", "Orange", "Apple", "Mango"];
  9. Operators like + and * are called what?
  10. In JavaScript, what does = do?
  11. What is the correct way to write a JavaScript array/list?
  12. Which of the following is NOT a part of a function declaration?
  13. How do you create a function in JavaScript?
  14. JavaScript allows setting the initial value as part of the declaration, this is called what?
  15. Which of the following is the correct JavaScript file extension?


Back