,Test Bank For JavaScript: The Web Warrior Series
Chapter 01: Introduction to JavaScript
Chapter 01: Introduction to JavaScript
True / False
1. Although JavaScript is considered a programming language, it is also a critical part of web page design and authoring.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 2
2. Like HTML, XHTML is not case sensitive.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 7
3. You can place script elements in either the document head or in the document body.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 46
4. JavaScript code is always stored in an external file separate from the HTML or XHTML code for a web document.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 47
5. Elements that do not require a closing tag are called empty elements.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 6
Multiple Choice
6. ____ can turn static documents into applications such as games or calculators.
a. HTML b. XHTML
1
,Test Bank For JavaScript: The Web Warrior Series
Chapter 01: Introduction to JavaScript
c. JavaScript d. Cascading Style Sheets
ANSWER: c
POINTS: 1
REFERENCES: 2
7. ____ was established in 1994 at MIT to oversee the development of web technology standards.
a. The University of Illinois b. The W3C
c. Microsoft d. Netscape
ANSWER: b
POINTS: 1
REFERENCES: 4
8. An HTML document is a text document that contains codes called ____.
a. elements b. tags
c. styles d. rules
ANSWER: b
POINTS: 1
REFERENCES: 5
9. In the client/server system, one of the primary roles of the client, or front end, is to ____.
a. carry out complex data processing b. provide for data storage
c. send email d. present an interface to the user
ANSWER: d
POINTS: 1
REFERENCES: 16
10. A system consisting of a client and a server is known as a ____ system.
a. traditional b. three-tier
c. monolithic d. two-tier
ANSWER: d
POINTS: 1
REFERENCES: 16
11. On client/server systems, heavy processing, such as calculations, usually takes place on the ____.
a. client b. server
c. middle-ware d. browser
ANSWER: b
POINTS: 1
REFERENCES: 17
12. A three-tier, or multitier, client/server system consists of three distinct pieces: These are ____.
a. the client tier, the processing tier, and the data storage tier
b. the client tier, the design tier, and the processing tier
2
, Test Bank For JavaScript: The Web Warrior Series
Chapter 01: Introduction to JavaScript
c. the storage tier, the distributing tier, and the processing tier
d. the email tier, the messaging tier, and the data storage tier
ANSWER: a
POINTS: 1
REFERENCES: 17-18
13. Some of the more popular server-side scripting languages include ____.
a. C, C++, and CGI b. JScript, Livescript, and ECMAScript
c. PHP, ASP.NET, and Python d. VBS and JScript
ANSWER: c
POINTS: 1
REFERENCES: 21
14. ____ refers to programming using a scripting language that is executed from a web server.
a. Host-side scripting b. Client-side scripting
c. Servlet-side scripting d. Server-side scripting
ANSWER: d
POINTS: 1
REFERENCES: 21
15. When a client requests a server-side script, a client will never see the server-side script, only the ____ that the web
server software returns from the script.
a. email sent b. program executing
c. HTML d. raw data requested
ANSWER: c
POINTS: 1
REFERENCES: 22
16. An object is ____ that can be treated as an individual unit or component.
a. state and contents b. file and data
c. formatting and color d. programming code and data
ANSWER: d
POINTS: 1
REFERENCES: 26
17. The procedures associated with an object are called ____.
a. methods b. processes
c. attributes d. functions
ANSWER: a
POINTS: 1
REFERENCES: 26
18. ____ are lines of code that are not processed by browsers, which you use to add notes about your code.
3
Chapter 01: Introduction to JavaScript
Chapter 01: Introduction to JavaScript
True / False
1. Although JavaScript is considered a programming language, it is also a critical part of web page design and authoring.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 2
2. Like HTML, XHTML is not case sensitive.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 7
3. You can place script elements in either the document head or in the document body.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 46
4. JavaScript code is always stored in an external file separate from the HTML or XHTML code for a web document.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 47
5. Elements that do not require a closing tag are called empty elements.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 6
Multiple Choice
6. ____ can turn static documents into applications such as games or calculators.
a. HTML b. XHTML
1
,Test Bank For JavaScript: The Web Warrior Series
Chapter 01: Introduction to JavaScript
c. JavaScript d. Cascading Style Sheets
ANSWER: c
POINTS: 1
REFERENCES: 2
7. ____ was established in 1994 at MIT to oversee the development of web technology standards.
a. The University of Illinois b. The W3C
c. Microsoft d. Netscape
ANSWER: b
POINTS: 1
REFERENCES: 4
8. An HTML document is a text document that contains codes called ____.
a. elements b. tags
c. styles d. rules
ANSWER: b
POINTS: 1
REFERENCES: 5
9. In the client/server system, one of the primary roles of the client, or front end, is to ____.
a. carry out complex data processing b. provide for data storage
c. send email d. present an interface to the user
ANSWER: d
POINTS: 1
REFERENCES: 16
10. A system consisting of a client and a server is known as a ____ system.
a. traditional b. three-tier
c. monolithic d. two-tier
ANSWER: d
POINTS: 1
REFERENCES: 16
11. On client/server systems, heavy processing, such as calculations, usually takes place on the ____.
a. client b. server
c. middle-ware d. browser
ANSWER: b
POINTS: 1
REFERENCES: 17
12. A three-tier, or multitier, client/server system consists of three distinct pieces: These are ____.
a. the client tier, the processing tier, and the data storage tier
b. the client tier, the design tier, and the processing tier
2
, Test Bank For JavaScript: The Web Warrior Series
Chapter 01: Introduction to JavaScript
c. the storage tier, the distributing tier, and the processing tier
d. the email tier, the messaging tier, and the data storage tier
ANSWER: a
POINTS: 1
REFERENCES: 17-18
13. Some of the more popular server-side scripting languages include ____.
a. C, C++, and CGI b. JScript, Livescript, and ECMAScript
c. PHP, ASP.NET, and Python d. VBS and JScript
ANSWER: c
POINTS: 1
REFERENCES: 21
14. ____ refers to programming using a scripting language that is executed from a web server.
a. Host-side scripting b. Client-side scripting
c. Servlet-side scripting d. Server-side scripting
ANSWER: d
POINTS: 1
REFERENCES: 21
15. When a client requests a server-side script, a client will never see the server-side script, only the ____ that the web
server software returns from the script.
a. email sent b. program executing
c. HTML d. raw data requested
ANSWER: c
POINTS: 1
REFERENCES: 22
16. An object is ____ that can be treated as an individual unit or component.
a. state and contents b. file and data
c. formatting and color d. programming code and data
ANSWER: d
POINTS: 1
REFERENCES: 26
17. The procedures associated with an object are called ____.
a. methods b. processes
c. attributes d. functions
ANSWER: a
POINTS: 1
REFERENCES: 26
18. ____ are lines of code that are not processed by browsers, which you use to add notes about your code.
3