Finals QUIZ 1 Flashcards
(106 cards)
What is JavaScript?
A dynamic computer programming language, lightweight and commonly used for web pages
What was JavaScript originally known as?
LiveScript
In which year did JavaScript make its first appearance?
1995
What does the ECMA-262 Specification define?
A standard version of the core JavaScript language
What programming capabilities does JavaScript have?
Object-oriented capabilities
What is client-side JavaScript?
The most common form of JavaScript, included in or referenced by an HTML document
What is a major advantage of client-side JavaScript?
It allows web pages to be dynamic and interactive
Name one advantage of using JavaScript.
Less server interaction
What is one limitation of JavaScript?
It cannot read or write files
What is required to start developing JavaScript?
A simple text editor like Notepad
What is the purpose of JavaScript development tools like Microsoft FrontPage?
To assist in the creation of interactive websites
What is the ECMAScript Edition 5 standard?
The first update to JavaScript in over four years
What types of data types does JavaScript support?
Primitive data types and composite data types
List the three primitive data types in JavaScript.
- Numbers
- Strings
- Boolean
What are the two trivial data types in JavaScript?
- null
- undefined
What is a variable in JavaScript?
A named container for storing data
How do you declare a variable in JavaScript?
Using the var keyword
What is variable initialization?
Storing a value in a variable
What is the scope of a variable?
The region of the program in which it is defined
What are the two scopes of variables in JavaScript?
- Global Variables
- Local Variables
What is an operator?
A symbol that performs operations on operands
What types of operators does JavaScript support?
- Arithmetic Operators
- Comparison Operators
- Logical Operators
- Assignment Operators
- Conditional Operators
What is an example of an arithmetic operator in JavaScript?
+ (Addition)
What does the modulus operator (%) do?
Outputs the remainder of an integer division