JavaScript Fundamentals Quiz
Test your knowledge of JavaScript basics including syntax, objects, events, browser compatibility, and web development concepts.
Questions
You are working on a JavaScript project. What is used to restart the inner most loop?
- Abort
- Breakloop
- Stop
- Continue label
You work on a JavaScript project. Which of the following correctly describe the relationships of JavaScript and "objects"?
- JavaScript is Object-oriented
- JavaScript is Object-based
- JavaScript is Object-driven
- JavaScript has no relationship with objects
Which of the following is the minimum browser version that supports JavaScript
- Navigator v2.0
- Mozilla V1.5
- IE 2.0
- Navigator V1.0
Under which of the following conditions will you need to include semi colons on a line of code?
- When you have multiple statements on multiple lines
- When you have multiple statements on a line
- When you have single statement on multiple lines
- When you have single statement on a line
Which of the following are the valid JavaScript versions?
- Version 1.2
- Version 1.1
- Version 1.3
- Version 1.4
- All of the above
Which of the following languages will you consider as being similar to JavaScript?
- C
- C++
- Pascal
- PHP
- Either A & C
You plan the coding of your project. When must the object references be ready?
- at run time
- at compile time
- at debug time
- at code time
Which of the following correctly describe cookies ?
- Often referred to as "persistent cookies"
- Often referred to as "persistent HTML"
- Small memory-resident pieces of information sent from a server to the client
- Small memory-resident pieces of information sent from a client to the server
- Either AB&C
A program written by JavaScript is driven by
- Events
- Classes
- Objects
- DLL
- Components
What are JavaScript relations with the underlying operating platform?
- Platform dependent
- Platform linkage
- Platform independent
- Platform binding
When you plan for the JavaScript variable names, the first character must be?
- Underscore
- Comma
- Hyphen
- Letter
- Either A&D
Which of the following correctly describe JavaScript as a language?
- It is based on object creation
- It focuses on component building
- It focuses on logic flow
- It emphasis on SCRIPTING
When authoring web page with Javascript, why should you explicitly include the window object into your codes?
- this is a good practice
- this is REQUIRED
- this ensures browser compatibility
- this ensures OS compatibility