© 2014 Pearson Education 1 Test Bank Chapter 0
MULTIPLE CHOICE
1. The official protocol used for Internet communication is:
- TCP b. SMTP c. TCP/IP d. ftp
ANS: C
2. Volatile storage is:
- ROM b. hard disk c. RAM d. DVD
ANS: C
- Scripting language code is interpreted by which of the following?
- The browser b. The server c. HTML d. (a) and (b)
- (a) and (c) f. (b) and (c) g. (a), (b), and (c)
ANS: D
4. Select which of the following are required of HTML elements:
(i) they must be properly nested (ii) they must be closed (iii) they must be typed in lowercase (iv) they must all have root elements
- (i) only b. (ii) only c. (iii) only d. (iv) only
- (i) and (ii) f. (i), (ii), and (iii) g. All 4 h. (ii) and (iv)
ANS: G
- Which of the following are server-side scripting language competitors?
- XML and ASP b. ASP and JavaScript c. JavaScript and PHP
(i) XML (ii) ASP (iii) JavaScript (iv) PHP
d. ASP and PHP e. XML: and PHP
ANS: D
(Introduction to JavaScript Programming with XML and PHP 1e Elizabeth Drake) (Test Bank all Chapters) 1 / 4
Introduction to JavaScript Programming Test Bank Chapter 0 with XML and PHP © 2014Pearson Education 2 6.What invention led to the creation of the world's first computer?a.vacuum tubes b.transistors c.a switching device d.microchip
ANS: B
7.When a web page is sent to a computer, the whole page is:
a.sent in one piece b.sent directly to the browser c.divided into packets d.stored in ROM
ANS: C
8. The protocol is:
a.http b.www c./educator/computers/javasscriptTutorial.html d.javasscriptTutorial.html
ANS: A
9.The server is:
a.http b.www c./educator/computers/javasscriptTutorial.html d.javasscriptTutorial.html
ANS: B
10.The domain is:
a.http b.www c./educator/computers/javasscriptTutorial.html d.javasscriptTutorial.html
ANS: C 2 / 4
Introduction to JavaScript Programming Test Bank Chapter 0 with XML and PHP © 2014Pearson Education 3
11.The path is:
a.http b.www c./educator/computers/javasscriptTutorial.html d.javasscriptTutorial.html
ANS: D
12.The file which is requested is:
a.http b.www c./educator/computers/javasscriptTutorial.html d.javasscriptTutorial.html
ANS: E
13.Which of the following instruction is not a type of internal memory?a.RAM b.ROM c.hard drive d.(a) and (b) only e.all are internal memory
ANS: D
14.Which is the convention used to represent and interact with objects in HTML and XML documents?a.Document Object Model b.XHTML c.JavaScript d.Java Docs
ANS: A
15.The markup language designed to transport and store data is which of the following?a.DOM b.XML c.JavaScript d.Java Docs
ANS: B 3 / 4
Introduction to JavaScript Programming Test Bank Chapter 0 with XML and PHP © 2014 Pearson Education 4
TRUE/FALSE
1. True/False: The first web browser was introduced in 1991.
ANS: T
- True/False: In early computers, vacuum tubes were used to do the internal switching necessary for
computations.
ANS: T
- True/False: The transistor is a great improvement over the vacuum tube because it is much more energy
efficient.
ANS: T
4. True/False: The browser resides on a server.
ANS: F
- True/False: A network consists of two or more linked computers that can share resources.
ANS: T
- True/False: A Uniform Report Location is the unique address of every resource on the World Wide Web.
ANS: F
- True/False: Packet switching ensures that a web page can arrive on a user's computer even if one server
is not working.
ANS: T
8. True/False: The CPU is volatile storage on a computer's hard drive.
ANS: F
9. True/False: Hard disks are a type of mass storage device.
ANS: T
10. True/False: Everything in RAM is lost when the computer is turned off.
ANS: T
11. True/False: Computer games are a type of application software.
ANS: T
12. True/False: Scripting language code is embedded into an HTML document.
ANS: T
- True/False: A programming language is a compiled language but a scripting language is not compiled
before it is run.
ANS: T
- True/False: Assembly language consists of a sequence of bits that are all zeros and ones.
ANS: F
- / 4