Edition Patrick Carey
Notes
1- The file is chapter after chapter.
2- We have shown you 10 or five pages.
3- The file contains all Appendix and Excel
sheet if it exists.
4- We have all what you need, we make
update at every time. There are many
new editions waiting you.
5- If you think you purchased the wrong file
You can contact us at every time, we can
replace it with true one.
Our email:
,Name: Class: Date:
Chapter 1 - Introduction to Javascript
1. A key characteristic that sets scripting languages apart from other programming languages is that
_____.
a. scripting languages must be compiled before they are run
b. scripting languages are run directly from a program, not compiled
c. non-scripting languages require an interpreter to run
d. non-scripting languages are not converted into machine code
ANSWER: b
FEEDBACK: a. Incorrect. A scripting language belongs to a subcategory of
programming languages that do not require compiling but instead
are run directly from a program or script. Scripting languages
need to be interpreted, in which the code is read line-by-line by
an interpreter that scans the code for errors even as it runs.
Before the instructions of a non-scripting programming language
can be performed, they need to be compiled, a process by which
those instructions are transformed into machine code that can be
understood by the computer or computer device.
b. Correct. A scripting language belongs to a subcategory of
programming languages that do not require compiling but instead
are run directly from a program or script. Scripting languages
need to be interpreted, in which the code is read line-by-line by
an interpreter that scans the code for errors even as it runs.
Before the instructions of a non-scripting programming language
can be performed, they need to be compiled, a process by which
those instructions are transformed into machine code that can be
understood by the computer or computer device.
c. Incorrect. A scripting language belongs to a subcategory of
programming languages that do not require compiling but instead
are run directly from a program or script. Scripting languages
need to be interpreted, in which the code is read line-by-line by
an interpreter that scans the code for errors even as it runs.
Before the instructions of a non-scripting programming language
can be performed, they need to be compiled, a process by which
those instructions are transformed into machine code that can be
understood by the computer or computer device.
d. Incorrect. A scripting language belongs to a subcategory of
programming languages that do not require compiling but instead
are run directly from a program or script. Scripting languages
need to be interpreted, in which the code is read line-by-line by
an interpreter that scans the code for errors even as it runs.
Before the instructions of a non-scripting programming language
can be performed, they need to be compiled, a process by which
those instructions are transformed into machine code that can be
understood by the computer or computer device.
POINTS: 1
DIFFICULTY: Moderate
REFERENCES: 1.1 Exploring the JavaScript Language
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: JASC.CARE.22.1.1.2 - Explain the use of compilers and compiling
KEYWORDS: Bloom's: Understand
DATE CREATED: 7/5/2021 2:07 PM
DATE MODIFIED: 7/16/2021 12:02 PM
Copyright Cengage Learning. Powered by Cognero. Page 1
,Name: Class: Date:
Chapter 1 - Introduction to Javascript
2. A(n) _____ transforms a set of instructions written in a programming language into machine code,
which can be understood by a computer.
a. browser
b. scripter
c. interpreter
d. compiler
ANSWER: d
FEEDBACK: a. Incorrect. Before the instructions written in a programming
language can be performed, they need to be transformed into
machine code that can be understood by the computer or
computer device by a program called a compiler. This process is
called compilation. Scripting languages, a subset of programming
languages, need to be interpreted, in which the code is read line-
by-line by an interpreter that scans the code for errors even as it
runs. A JavaScript interpreter is built into every web browser, so
to create a JavaScript program you only need a text editor to
write the code and a web browser to run it.
b. Incorrect. Before the instructions written in a programming
language can be performed, they need to be transformed into
machine code that can be understood by the computer or
computer device by a program called a compiler. This process is
called compilation. Scripting languages, a subset of programming
languages, need to be interpreted, in which the code is read line-
by-line by an interpreter that scans the code for errors even as it
runs. A JavaScript interpreter is built into every web browser, so
to create a JavaScript program you only need a text editor to
write the code and a web browser to run it.
c. Incorrect. Before the instructions written in a programming
language can be performed, they need to be transformed into
machine code that can be understood by the computer or
computer device by a program called a compiler. This process is
called compilation. Scripting languages, a subset of programming
languages, need to be interpreted, in which the code is read line-
by-line by an interpreter that scans the code for errors even as it
runs. A JavaScript interpreter is built into every web browser, so
to create a JavaScript program you only need a text editor to
write the code and a web browser to run it.
d. Correct. Before the instructions written in a programming
language can be performed, they need to be transformed into
machine code that can be understood by the computer or
computer device by a program called a compiler. This process is
called compilation. Scripting languages, a subset of programming
languages, need to be interpreted, in which the code is read line-
by-line by an interpreter that scans the code for errors even as it
runs. A JavaScript interpreter is built into every web browser, so
to create a JavaScript program you only need a text editor to
write the code and a web browser to run it.
POINTS: 1
DIFFICULTY: Moderate
REFERENCES: 1.1 Exploring the JavaScript Language
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: JASC.CARE.22.1.1.2 - Explain the use of compilers and compiling
KEYWORDS: Bloom's: Understand
Copyright Cengage Learning. Powered by Cognero. Page 2
,Name: Class: Date:
Chapter 1 - Introduction to Javascript
DATE CREATED: 7/5/2021 2:13 PM
DATE MODIFIED: 7/23/2021 10:46 AM
3. A(n) _____ reads the code of a program line by line, scanning for errors, as the program is run.
a. interpreter
b. compiler
c. script
d. CSS
ANSWER: a
FEEDBACK: a. Correct. Scripting languages, a subset of programming
languages, need to be interpreted, in which the code is read line-
by-line by an interpreter that scans the code for errors even as it
runs. A scripting language belongs to a subcategory of
programming languages that do not require compiling but instead
are run directly from a program or script. A programming
language is a set of instructions directing the actions of the
computer or computer device. For a non-scripting language,
before these instructions can be performed, they need to be
compiled, a process by which those instructions are transformed
into machine code that can be understood by the computer or
computer device. CSS (Cascading Style Sheets) are used to
define how a web page will appear on a specified device.
b. Incorrect. Scripting languages, a subset of programming
languages, need to be interpreted, in which the code is read line-
by-line by an interpreter that scans the code for errors even as it
runs. A scripting language belongs to a subcategory of
programming languages that do not require compiling but instead
are run directly from a program or script. A programming
language is a set of instructions directing the actions of the
computer or computer device. For a non-scripting language,
before these instructions can be performed, they need to be
compiled, a process by which those instructions are transformed
into machine code that can be understood by the computer or
computer device. CSS (Cascading Style Sheets) are used to
define how a web page will appear on a specified device.
c. Incorrect. Scripting languages, a subset of programming
languages, need to be interpreted, in which the code is read line-
by-line by an interpreter that scans the code for errors even as it
runs. A scripting language belongs to a subcategory of
programming languages that do not require compiling but instead
are run directly from a program or script. A programming
language is a set of instructions directing the actions of the
computer or computer device. For a non-scripting language,
before these instructions can be performed, they need to be
compiled, a process by which those instructions are transformed
into machine code that can be understood by the computer or
computer device. CSS (Cascading Style Sheets) are used to
define how a web page will appear on a specified device.
d. Incorrect. Scripting languages, a subset of programming
languages, need to be interpreted, in which the code is read line-
by-line by an interpreter that scans the code for errors even as it
runs. A scripting language belongs to a subcategory of
programming languages that do not require compiling but instead
are run directly from a program or script. A programming
language is a set of instructions directing the actions of the
Copyright Cengage Learning. Powered by Cognero. Page 3
,Name: Class: Date:
Chapter 1 - Introduction to Javascript
computer or computer device. For a non-scripting language,
before these instructions can be performed, they need to be
compiled, a process by which those instructions are transformed
into machine code that can be understood by the computer or
computer device. CSS (Cascading Style Sheets) are used to
define how a web page will appear on a specified device.
POINTS: 1
DIFFICULTY: Moderate
REFERENCES: 1.1 Exploring the JavaScript Language
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: JASC.CARE.22.1.1.3 - Describe interpreters for scripting languages
KEYWORDS: Bloom's: Understand
DATE CREATED: 7/5/2021 2:14 PM
DATE MODIFIED: 7/16/2021 12:02 PM
4. Which statement is correct?
a. A markup language called JavaScript provides tools for interacting with web pages.
b. A scripting language called Java is used to create and compile web browsers.
c. A markup language called HTML is used to define the content and structure of a web page.
d. A scripting language called CSS is used to define how a web page will appear on a device.
ANSWER: c
FEEDBACK: a. Incorrect. Common markup languages include HTML (Hypertext
Markup Language), used to define the content and structure of
your web page, and CSS (Cascading Style Sheets), used to
define how that web page will appear on a specified device.
Examples of scripting languages include JavaScript, PHP, Perl,
and Python. The browser that interacts with the web was created
and compiled using a programming language like C++.
b. Incorrect. Common markup languages include HTML (Hypertext
Markup Language), used to define the content and structure of
your web page, and CSS (Cascading Style Sheets), used to
define how that web page will appear on a specified device.
Examples of scripting languages include JavaScript, PHP, Perl,
and Python. The browser that interacts with the web was created
and compiled using a programming language like C++.
c. Correct. Common markup languages include HTML (Hypertext
Markup Language), used to define the content and structure of
your web page, and CSS (Cascading Style Sheets), used to
define how that web page will appear on a specified device.
Examples of scripting languages include JavaScript, PHP, Perl,
and Python. The browser that interacts with the web was created
and compiled using a programming language like C++.
d. Incorrect. Common markup languages include HTML (Hypertext
Markup Language), used to define the content and structure of
your web page, and CSS (Cascading Style Sheets), used to
define how that web page will appear on a specified device.
Examples of scripting languages include JavaScript, PHP, Perl,
and Python. The browser that interacts with the web was created
and compiled using a programming language like C++.
POINTS: 1
DIFFICULTY: Moderate
Copyright Cengage Learning. Powered by Cognero. Page 4
,Name: Class: Date:
Chapter 1 - Introduction to Javascript
REFERENCES: 1.1 Exploring the JavaScript Language
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: JASC.CARE.22.1.1.4 - Compare scripting languages and markup languages
KEYWORDS: Bloom's: Understand
DATE CREATED: 7/5/2021 2:15 PM
DATE MODIFIED: 7/16/2021 12:02 PM
5. JavaScript _____.
a. was once supported by Internet Explorer only in a different form called JScript
b. was developed by the European Computer Manufacturers Association
c. has benefited from a single set of governing standards since it was introduced
d. was not supported by major browsers for the first 11 years that it existed
ANSWER: a
FEEDBACK: a. Correct. Shortly after its development, JavaScript was supported
by Microsoft’s Internet Explorer browser in a slightly different
form called JScript. In the beginning, JavaScript was developed
for the Netscape browser by the Netscape developer Brendan
Eich. Unlike with a programming language such as C, from 1995
to 1997 there was no single set of governing standards for
JavaScript.
b. Incorrect. Shortly after its development, JavaScript was
supported by Microsoft’s Internet Explorer browser in a slightly
different form called JScript. In the beginning, JavaScript was
developed for the Netscape browser by the Netscape developer
Brendan Eich. Unlike with a programming language such as C,
from 1995 to 1997 there was no single set of governing
standards for JavaScript.
c. Incorrect. Shortly after its development, JavaScript was
supported by Microsoft’s Internet Explorer browser in a slightly
different form called JScript. In the beginning, JavaScript was
developed for the Netscape browser by the Netscape developer
Brendan Eich. Unlike with a programming language such as C,
from 1995 to 1997 there was no single set of governing
standards for JavaScript.
d. Incorrect. Shortly after its development, JavaScript was
supported by Microsoft’s Internet Explorer browser in a slightly
different form called JScript. In the beginning, JavaScript was
developed for the Netscape browser by the Netscape developer
Brendan Eich. Unlike with a programming language such as C,
from 1995 to 1997 there was no single set of governing
standards for JavaScript.
POINTS: 1
DIFFICULTY: Moderate
REFERENCES: 1.1 Exploring the JavaScript Language
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: JASC.CARE.22.1.1.5 - Discuss the history of the development of JavaScript
KEYWORDS: Bloom's: Remember
DATE CREATED: 7/5/2021 2:16 PM
DATE MODIFIED: 7/16/2021 12:02 PM
Copyright Cengage Learning. Powered by Cognero. Page 5
,Name: Class: Date:
Chapter 1 - Introduction to Javascript
6. What is the relationship between JavaScript and ECMAScript?
a. JavaScript and ECMAScript are two different scripting languages for web pages.
b. JavaScript is the most important implementation of ECMAScript.
c. ECMAScript is the most recent version of JavaScript.
d. Changes to JavaScript are adopted by ECMAScript within a few years of their release.
ANSWER: b
FEEDBACK: a. Incorrect. JavaScript is just one implementation of the
ECMAScript standard, but it is the most important. In 1997, a
technical committee composed of developers from the major
browser manufacturers was tasked with the goal of developing a
set of standards for the language. The specification for this
scripting language is called ECMAScript or ECMA-262. Every
year a different version or edition of ECMAScript is released.
Within a few years of release, most browsers will implement the
changes in that edition.
b. Correct. JavaScript is just one implementation of the ECMAScript
standard, but it is the most important. In 1997, a technical
committee composed of developers from the major browser
manufacturers was tasked with the goal of developing a set of
standards for the language. The specification for this scripting
language is called ECMAScript or ECMA-262. Every year a
different version or edition of ECMAScript is released. Within a
few years of release, most browsers will implement the changes
in that edition.
c. Incorrect. JavaScript is just one implementation of the
ECMAScript standard, but it is the most important. In 1997, a
technical committee composed of developers from the major
browser manufacturers was tasked with the goal of developing a
set of standards for the language. The specification for this
scripting language is called ECMAScript or ECMA-262. Every
year a different version or edition of ECMAScript is released.
Within a few years of release, most browsers will implement the
changes in that edition.
d. Incorrect. JavaScript is just one implementation of the
ECMAScript standard, but it is the most important. In 1997, a
technical committee composed of developers from the major
browser manufacturers was tasked with the goal of developing a
set of standards for the language. The specification for this
scripting language is called ECMAScript or ECMA-262. Every
year a different version or edition of ECMAScript is released.
Within a few years of release, most browsers will implement the
changes in that edition.
POINTS: 1
DIFFICULTY: Moderate
REFERENCES: 1.1 Exploring the JavaScript Language
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: JASC.CARE.22.1.1.6 - Discuss the relationship between JavaScript and
ECMAScript
KEYWORDS: Bloom's: Understand
DATE CREATED: 7/5/2021 2:19 PM
DATE MODIFIED: 7/16/2021 12:02 PM
Copyright Cengage Learning. Powered by Cognero. Page 6
,Name: Class: Date:
Chapter 1 - Introduction to Javascript
7. The Document Object Model _____.
a. is an important part of ECMAScript
b. specifications are managed by the European Computer Manufacturers Association
c. describes how to access the contents of a web page and user actions within that page
d. describes how to access the features and behaviors of a browser
ANSWER: c
FEEDBACK: a. Incorrect. The Document Object Model (DOM) describes how to
access the contents of the web page and user actions within that
page. The Browser Object Model (BOM) describes how to
access the features and behaviors of the browser itself.
ECMAScript is the scripting language, but it does not tell you how
to interact with the contents of a website or the browser. The
specifications for the DOM are managed by the World Wide Web
Consortium (W3C), the same group managing the development
of HTML and CSS.
b. Incorrect. The Document Object Model (DOM) describes how to
access the contents of the web page and user actions within that
page. The Browser Object Model (BOM) describes how to
access the features and behaviors of the browser itself.
ECMAScript is the scripting language, but it does not tell you how
to interact with the contents of a website or the browser. The
specifications for the DOM are managed by the World Wide Web
Consortium (W3C), the same group managing the development
of HTML and CSS.
c. Correct. The Document Object Model (DOM) describes how to
access the contents of the web page and user actions within that
page. The Browser Object Model (BOM) describes how to
access the features and behaviors of the browser itself.
ECMAScript is the scripting language, but it does not tell you how
to interact with the contents of a website or the browser. The
specifications for the DOM are managed by the World Wide Web
Consortium (W3C), the same group managing the development
of HTML and CSS.
d. Incorrect. The Document Object Model (DOM) describes how to
access the contents of the web page and user actions within that
page. The Browser Object Model (BOM) describes how to
access the features and behaviors of the browser itself.
ECMAScript is the scripting language, but it does not tell you how
to interact with the contents of a website or the browser. The
specifications for the DOM are managed by the World Wide Web
Consortium (W3C), the same group managing the development
of HTML and CSS.
POINTS: 1
DIFFICULTY: Moderate
REFERENCES: 1.1 Exploring the JavaScript Language
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: JASC.CARE.22.1.1.7 - Describe the fundamentals of the Document Object
Model (DOM)
KEYWORDS: Bloom's: Understand
DATE CREATED: 7/5/2021 2:22 PM
DATE MODIFIED: 7/16/2021 12:02 PM
Copyright Cengage Learning. Powered by Cognero. Page 7
, Name: Class: Date:
Chapter 1 - Introduction to Javascript
8. Which statement about the BOM is correct?
a. JavaScript does not directly interact with the BOM.
b. A formal set of standards for the BOM is maintained by the W3C.
c. The BOM describes how to access a web page’s contents.
d. The BOM is largely the same among the various browsers currently available.
ANSWER: d
FEEDBACK: a. Incorrect. Each browser is different and implements its own
version of the BOM, but the BOM is largely the same from one
browser to the next because it is to everyone’s advantage to
adhere to a common standard. There is no formal set of
standards for the Browser Object Model. The Browser Object
Model (BOM) describes how to access the features and
behaviors of the browser itself. The full implementation of
JavaScript is built on three foundations: ECMAScript, the DOM,
and the BOM.
b. Incorrect. Each browser is different and implements its own
version of the BOM, but the BOM is largely the same from one
browser to the next because it is to everyone’s advantage to
adhere to a common standard. There is no formal set of
standards for the Browser Object Model. The Browser Object
Model (BOM) describes how to access the features and
behaviors of the browser itself. The full implementation of
JavaScript is built on three foundations: ECMAScript, the DOM,
and the BOM.
c. Incorrect. Each browser is different and implements its own
version of the BOM, but the BOM is largely the same from one
browser to the next because it is to everyone’s advantage to
adhere to a common standard. There is no formal set of
standards for the Browser Object Model. The Browser Object
Model (BOM) describes how to access the features and
behaviors of the browser itself. The full implementation of
JavaScript is built on three foundations: ECMAScript, the DOM,
and the BOM.
d. Correct. Each browser is different and implements its own
version of the BOM, but the BOM is largely the same from one
browser to the next because it is to everyone’s advantage to
adhere to a common standard. There is no formal set of
standards for the Browser Object Model. The Browser Object
Model (BOM) describes how to access the features and
behaviors of the browser itself. The full implementation of
JavaScript is built on three foundations: ECMAScript, the DOM,
and the BOM.
POINTS: 1
DIFFICULTY: Moderate
REFERENCES: 1.1 Exploring the JavaScript Language
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
LEARNING OBJECTIVES: JASC.CARE.22.1.1.8 - Describe the fundamentals of the Browser Object
Model (BOM)
KEYWORDS: Bloom's: Understand
DATE CREATED: 7/5/2021 2:23 PM
DATE MODIFIED: 7/16/2021 12:02 PM
Copyright Cengage Learning. Powered by Cognero. Page 8