Internet & World Wide Web How to Program: Chapter 1
1.36 Which of the following languages was designed to enable the writing of programs that will run on a great variety of computer systems and computer-controlled devices? a) Java. b) Visual C#. c) Pascal. d) Basic.
a. Java.
1.10 The protocol for communicating over the ARPANET became known as ________. a) TCP (Transmission Control Protocol) b) packet switching c) the Internet d) JavaScript
a
1.39 Which statement is false? a) Classes are reusable software components. b) A class is to an object as a blueprint is to a house. c) Performing a task in a program requires a method. d) A class is an instance of its object.
A class is an instance of its object. The reverse is true.
1.14 URL is an acronym for which of the following? a) Uniform Resource Locator b) Uniform Record Locator c) Universal Resource Location d) Uniform Resource Location
a
1.16 An Internet ________ maintains a database of hostnames and their corresponding IP addresses and performs the translations automatically. a) Domain Name System (DNS) server b) host c) address d) Uniform Resource Identifier (URI)
a
1.24 ________ with JavaScript can be used to validate user input, to interact with the browser, to enhance web pages, and to add client/server communication between a browser and a web server. a) Client-side scripting b) Business rules c) Server-side scripting d) None of the above.
a
1.28 Web 2.0 embraces a(n) ________—a design that encourages user interaction and community contributions. a) architecture of participation b) semantic web c) architecture of trust d) social network
a
1.30 The smallest data item in a computer, called a ________, can assume the value 0 or the value 1. a) bit b) character c) field d) digit
a
1.4 The ________ allows people worldwide to donate their unused computer-processing power, harnessing unused capacity. a) World Community Grid b) cloud computing c) Internet TV d) GPS
a
1.8 ________ simplifies JavaScript programming by making it easier to manipulate a web page's elements and interact with servers in a portable manner across various web browsers. a) jQuery b) JavaScriptQuery c) CSS3 d) PHP
a
1.12 The latest IP standard is ________ a) Internet Protocol version 4 (IPv4) b) Internet Protocol version 6 (IPv6) c) Internet Protocol version 5 (IPv5) d) None of the above.
b
1.15 When the user clicks a hyperlink, a ________ locates the requested web page and sends it to the user's web browser. a) URL b) web server c) host d) packet
b
1.18 The two most common HTTP request types (also known as request methods) are ________ and ________. a) query, post b) get, post c) retrieve, send d) retrieve, post
b
1.23 The middle-tier ________ processes client requests (such as requests to view a product catalog) and retrieves data from the database. a) business logic b) controller logic c) presentation logic d) business rules
b
1.25 ________ founded the World Wide Web Consortium (W3C)—devoted to developing nonproprietary, interoperable technologies for the World Wide Web. a) Bill Gates b) Tim Berners-Lee c) Dale Dougherty d) Linus Torvalds
b
1.32 A ________ is an electronic collection of data that's organized for easy access and manipulation. a) field b) database c) record d) file
b
1.5 HTML (HyperText Markup Language) is a special type of computer language called a(n) ________ language designed to specify the content and structure of web pages (also called documents) in a portable manner. a) scripting b) markup c) object-oriented programming d) procedural programming
b
1.6 ________ is used to specify the presentation, or styling, of elements on a web page (e.g., fonts, spacing, sizes, colors, positioning). a) HyperText Markup Language (HTML5) b) Cascading Style Sheets (CSS) c) JavaScript d) PHP
b
1.35 Today, virtually all new major operating systems are written in: a) Objective-C. b) C or C++. c) Visual C#. d) Ada.
b. C or C++.
1.38 ________ models software in terms similar to those that people use to describe real-world objects. a) Method-oriented programming b) Object-oriented design c) Procedural programming d) None of the above
b. Object-oriented design.
1.33 Which of the following statements is false? a) The concepts of icons, menus and windows were originally developed by Xerox PARC. b) Windows is an open source operating system. c) The software that contains the core components of the operating system is called the kernel. d) Linux source code is available to the public for examination and modification.
b. Windows is not an open source operating system; it is a proprietary operating system.
1.1 Which of the following statements is false? a) There are more than two billion Internet users worldwide—approximately 30% of the Earth's population. b) In use today are more than a billion general-purpose computers, and billions more embedded computers are used in cell phones, smartphones, tablet computers, home appliances, automobiles and more—and many of these devices are connected to the Internet. c) Client-side programming technologies are used to build applications that are run on the server. d) Both (b) and (c)
c
1.11 Each computer on the Internet has a unique ________. a) e-Mail address b) Transmission Control Protocol c) IP address d) Both (b) and (c)
c
1.19 An HTTP request often posts data to a(n) ________ that processes the data. a) event handler b) MIME c) server-side form handler d) query string
c
1.2 Which of the following is a server-side programming technology used to build web pages? a) HTML5. b) CSS3. c) PHP. d) JavaScript.
c
1.20 The ? in the URL www.google.com/search?q=deitel separates the ________ from the rest of the URL in a request. a) URI b) post request c) query string d) cache
c
1.22 In multitier applications, the ________ maintains the application's data. a) middle tier b) top tier (or client tier) c) bottom tier (also called the data tier or the information tier) d) business logic tier
c
1.26 Web technologies standardized by the W3C are called ________. a) Rules b) Standards c) Recommendations d) Regulations
c
1.29 A ________ is an applications-development methodology in which you can rapidly develop powerful and intriguing applications by combining (often free) complementary web services and other forms of information feeds. a) collaborative design b) smash c) mashup d) sematic web
c
1.9 ________ is a technique in which digital data is sent in small bundles that contain address, error-control and sequencing information. a) TCP/IP b) Routing c) Packet switching d) Bandwidth
c
1.34 Which of the following is not a key organization in the open-source community? a) Apache. b) SourceForge. c) Firefox. d) Eclipse.
c. Firefox (it's a web browser made by the open source organization Mozilla).
1.13 ________ wrote communication protocols to form the backbone the World Wide Web. a) Dale Dougherty b) Bill Gates c) Marc Andreessen d) Tim Berners-Lee
d
1.17 The ________ standard specifies data formats, which programs can use to interpret data correctly. a) Data Translation Standard (DTS) b) Uniform Resource Locator (URL) c) HTML5 d) Multipurpose Internet Mail Extensions (MIME)
d
1.21 Web-based applications are often multitier applications, sometimes referred to as ________ applications. a) m-tier b) business-logic c) data-tier d) n-tier
d
1.31 A ________ is a group of characters or bytes that conveys meaning. a) database b) record c) character set d) field
d
1.7 _______ is a language that helps you build dynamic web pages (i.e., pages that can be modified "on the fly" in response to events, such as user input, time changes and more) and computer applications. a) XML b) CSS3 c) HTML5 d) JavaScript
d
1.3 Which of the following is most closely associated with Moore's Law? a) Every year or two, the price of computers has approximately doubled. b) Object-oriented programming uses less memory than previous software-development methodologies. c) Demand for communications bandwidth is decreasing dramatically each year. d) Every year or two, the capacities of computers have approximately doubled without any increase in price.
d.
1.37 Which language was developed by Microsoft in the early 1990s to simplify the development of Windows applications? a) Visual C#. b) Python. c) Objective-C. d) Visual Basic.
d. Visual Basic.