JavaScript Fundamentals Quiz

Test your knowledge of JavaScript basics including syntax, objects, events, browser compatibility, and web development concepts.

13 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

You are working on a JavaScript project. What is used to restart the inner most loop?

  1. Abort
  2. Breakloop
  3. Stop
  4. Continue label
Question 2 Multiple Choice (Single Answer)

You work on a JavaScript project. Which of the following correctly describe the relationships of JavaScript and "objects"?

  1. JavaScript is Object-oriented
  2. JavaScript is Object-based
  3. JavaScript is Object-driven
  4. JavaScript has no relationship with objects
Question 3 Multiple Choice (Single Answer)

Which of the following is the minimum browser version that supports JavaScript

  1. Navigator v2.0
  2. Mozilla V1.5
  3. IE 2.0
  4. Navigator V1.0
Question 4 Multiple Choice (Single Answer)

Under which of the following conditions will you need to include semi colons on a line of code?

  1. When you have multiple statements on multiple lines
  2. When you have multiple statements on a line
  3. When you have single statement on multiple lines
  4. When you have single statement on a line
Question 5 Multiple Choice (Single Answer)

Which of the following are the valid JavaScript versions?

  1. Version 1.2
  2. Version 1.1
  3. Version 1.3
  4. Version 1.4
  5. All of the above
Question 6 Multiple Choice (Single Answer)

Which of the following languages will you consider as being similar to JavaScript?

  1. C
  2. C++
  3. Pascal
  4. PHP
  5. Either A & C
Question 7 Multiple Choice (Single Answer)

You plan the coding of your project. When must the object references be ready?

  1. at run time
  2. at compile time
  3. at debug time
  4. at code time
Question 8 Multiple Choice (Single Answer)

Which of the following correctly describe cookies ?

  1. Often referred to as "persistent cookies"
  2. Often referred to as "persistent HTML"
  3. Small memory-resident pieces of information sent from a server to the client
  4. Small memory-resident pieces of information sent from a client to the server
  5. Either AB&C
Question 9 Multiple Choice (Single Answer)

A program written by JavaScript is driven by

  1. Events
  2. Classes
  3. Objects
  4. DLL
  5. Components
Question 10 Multiple Choice (Single Answer)

What are JavaScript relations with the underlying operating platform?

  1. Platform dependent
  2. Platform linkage
  3. Platform independent
  4. Platform binding
Question 11 Multiple Choice (Single Answer)

When you plan for the JavaScript variable names, the first character must be?

  1. Underscore
  2. Comma
  3. Hyphen
  4. Letter
  5. Either A&D
Question 12 Multiple Choice (Single Answer)

Which of the following correctly describe JavaScript as a language?

  1. It is based on object creation
  2. It focuses on component building
  3. It focuses on logic flow
  4. It emphasis on SCRIPTING
Question 13 Multiple Choice (Single Answer)

When authoring web page with Javascript, why should you explicitly include the window object into your codes?

  1. this is a good practice
  2. this is REQUIRED
  3. this ensures browser compatibility
  4. this ensures OS compatibility