Internet & WWW How to program - ch01-06

¡Supera tus tareas y exámenes ahora con Quizwiz!

Windows is an open source operating system

1.23. Which of the following statements is FALSE? a) Linux source code is available to the public for examination and modification. b) The concepts of icons, menus and windows were originally developed by Xerox PARC. c) The software that contains the core components of the operating system is called the kernel. d) Windows is an open source operating system

TCP (Transmission Control Protocol)

1.24. The protocol for communicating over the ARPANET became known as ________. a) packet switching b) the internet c) TCP (Transmission Control Protocol) d) JavaScript

Recommendations

1.1. Web technologies standardized by the W3C are called _____________. a) Recommendations b)Standards c) Rules d) Regulations

Internet Protocol version 6 (IPv6)

1.10. The latest IP standard is ______________. a) Internet Protocol version 6 (IPv6) b) Internet Protocol version 5 (IPv5) c) Internet Protocol version 4 (IPv4) d) None of the choices are correct.

query string

1.11. The ? in the URL www.google.com/search?q=deitel separates the ___________ from the rest of the URL in a request. a) cache b) query string c) URI d) post request

server-side form handle

1.12. An HTTP request often post data to a(n) ____________ that processes the data. a) server-side form handle b) event handler c) query string d) MIME

World Community Grid

1.13. The _____________ allows people worldwide to donate their unused computer-processing power, harnessing unused capacity. a) World Community Grid b) GPS c) Internet TV d) cloud computing

Client-side programming technologies are used to build applications that are run on the server.

1.14. Which of the following statements is FALSE? a) There are more than two million 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 -- amny 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) None of the choices are correct.

Tim Berners-Lee

1.15. ____________________ founded the World Wide Web Consortium (W3C)--devoted to developing nonproprietary, interoperable technologies for the World Wide Web. a) Tim Berners-Lee b) Dale Dougherty c) Linus Torvalds d) Bill Gates

bottom tier (also called the data tier or the information tier)

1.16. In multitier applications, the ___________ maintains the application's data. a) bottom tier (also called the data tier or the information tier). b) top tier (or client tier) c) middle tier d) business logic tier

mashup

1.17. A ______________ is an applications-development methodology in which you can rapidily develop powerful and intringuing applications by combining (often free) complementary web services and other forms of information feeds. a) mashup b) smash c) sematic web d) collaborative design

jQuery

1.18. ______________ 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) CSS3 b) jQuery c) PHP d) JavaScriptQuery

database

1.19. A _____________ is an electronic collection of data that's organized for easy access and manipulation. a) file b) field c) database d) record

Object-oriented design

1.2. _____________models software in terms similar to those that people use to describe real-world objects. a) None of the choices are correct. b) Method-oriented programming c) Object-oriented design d) procedural programming

Packet switching

1.20. _________________ is a technique in which digital data is sent is small bundle that contain address, error-control and sequencing information. a) Bandwidth b) Routing c) TCP/IP d) Packing swiching

get, post

1.21. The two most common HTTP request types (also known as request methods) are _______________ and ___________. a) retrieve, post b) get, post c) query, post d) retrieve, send

Domain Name System (DNS) server

1.22. An Internet __________________ maintains a database of hostnames and their corresponding IP addresses and performs the translations automaticaly. a) Domain Name System (DNS) server. b) hist c) address d) Uniform Resources Indentifier (URI)

ontop

4.10. Which is not a valid value for the background-position property? a) ontop b) right c) center d) left

Client-side scripting

1.25. ________ 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) Server-side scripting c) Business rules d) None of the choices are correct

Java

1.26. 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) Visual C# b) Java c) Basic d) Pascal

Visual Basic

1.27. Which language was developed by Microsoft in the early 1990s to simplify the development of Windows applications? a) Objective-C b) Python c) Visual C# d) Visual Basic

A class is an instance of its object

1.28. Which statement is FALSE? a) A class is to an object as a blueprint is to a house b) Performing a task in a program requires a method c) A class is an instance of its object d) Classes are reusable software components.

n-tier

1.29. Web-based applications are often multitier applications, sometimes referred to as ________ applications. a) data-tier b) business-logic c) m-tier d) n-tier

architecture of participation

1.3. Web 2.0 embraces a(n) ____________ --a design that encourages user interaction and community contributions. a) semantic web b) social network c) architecture of participation d) architecture of trust

markup

1.30. 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) procedural programming c) markup d) object-oriented programming

Cascading Style Sheets (CSS)

1.4. _____________ is used to specify the presentation, or styling, of elements of a web page (e.g., fonts, spacing, sizes, colors, positioning.) a) Cascading Style Sheets (CSS) b) PHP c) JavaScript d) Hyper Text Markup Language (HTML5)

JavaScript

1.5. _______________ 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) CSS3 b) XML c) JavaScript d) HTML5

Uniform Resource Locator

1.6. 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

field

1.7. A ___________ is a group of characters or bytes that conveys meaning. a) database b) field c) record d) character set

Every year or two, the capacities of computers have approximately double without any increase in price.

1.8. Which of the following is most closely associated with Moore's Law? a) every year or two, the capacities of computers have approximately doubled without any increase in price. 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 price of computers has approximately doubled.

IP address

1.9. Each computer on the Internet has a unique ______________. a) e-Mail address b) IP address c) None of the choices are correct. d) Transmission Control Protocol

<ul>

2.1. An unordered list is created using which notation? a) <unordered> b) <ul> c) <un> d) <list type = "unordered">

web servers

2.10. Machines called ___________ store HTML5 documents. a) web controllers b) web servers c) web services d) controlers

# symbols

2.11. To create an internal link in a Web page, the value of the href attribute includes the named anchor preceded by a ________. a) % symbol b) @ symbol c) # symbol d) * symbol

drop-down list

2.12. Which of the following accurately describes the select element? a) text input b) check box c) drop-down list d) command button

1/2

2.13. The code &frac12; will produce which fraction? a) an error b) 1/12 c) 1/2 d) 2/1

img, text

2.14. The alt attribute is used in a(n) ________ element to provide an alternate ________ description for the image. a) src, image size b) title, text c) img, text d) href, address

attribute

2.15. Inthe statement <a href = "address">, href is a(n) ___________ of the a element. a) label b) attribute c) anchor d) alement

The DEL element is used to delete text

2.16. Which statement is FALSE? a) The &code; syntax is reserved for special characters. b) The sup and sub elements are used to denote superscript and subscript characters. c) The del element is used to delete text. d) The hr element introduces a horizontal rule.

text editor

2.17. HTML5 documents are edited using a(n) ___________. a) browser b) operating system c) text editor d) compiler

internally-linked location names can be assigned to any point in an HTML5 file.

2.18. Which of the following is the most accurate statement concerning internal hyperlinks? a) Internally-linked location names can be assigned to any point in an HTML5 file. b) href = "page.html&name" is the proper format used to link to an internal location of another page. c) The "internal" refers to the internal contents of a table. d) The "internal" refers to the host machine on which the browser is running.

mailto:emailAddress

2.19. A link to an e-mail address is created using the notation <a href = "________">Paul</a>. a) @LAUNCH_email b) email:emailAddress c) mailto:emailAddress d) emailAddress

src

2.2. The location of an image is specified in the img element's _____________attribute. a) image b) location c) source d) src

search engine

2.20. One major use for the meta element is related to which of the following? a) search engine b) frames c) audio files d) forms

li

2.3. Each list item in an unordered list is delineated by the _______________ element. a) disc b) li c) href d) ul

name, content

2.4. Two important attributes of the meta element are ________, which identifies the type of meta element and ________, which provides the information search engines use to catalog pages. a) type, info b) name, content c) id, desc d) type, catalog

the summary is not displayed

2.5. Where is a table's summary displayed? a) below the table b) the summary is not displayed c) in the caption of the table d) above the table

tr, td

2.6. An HTML5 table contains rows delimited by ________ elements, which contain cells delimited by ________ elements. a) tr, tr b) td, tr c) tr, td d) table, td

type

2.7. The usage of an input element is defined by the value of its _________ attribute. a) size b) name c) all of the answers. d) type

<title></title>

2.8. Text put between the ________ tags appears in the browser's title bar (i.e., the dark bar at the top of the browser window). a) <h1></h1> b) <h6></h6> c) <head></head> d) <title></title>

h6

2.9. The _____ displays the smallest heading on a web page. a) h1 b) h5 c) h0 d) h6

datalist

3.24. The ________ element provides input options for a text input element. The browser can use these options to display autocomplete options to the user. a) datalist b) value c) autocomplete d) step

graphics

3.1. The header element creates a header for the page. The header element often contains ________. a) autofocus b) time c) value d) graphics

mark

3.10. The __________ element enables you to highlight text. a) mark b) label c) highlight d) section

article

3.11. The ________ element describes content that's separate from the main content of the page and might be used or distributed elsewhere, such as a news article, forum post or blog entry. a) footer b) details c) summary d) article

aside

3.12. The ________ element describes content that's related to the surrounding content (such as an article) but that's somewhat separate from the flow of the text. a) summary b) header c) figcaption d) aside

wbr

3.13. The ________ element indicates the appropriate place to break a word when the text wraps to multiple lines. a) brk b) mark c) break d) wbr

summary

3.14. The ________ element displays a right-pointing arrow next to a summary or caption when the document is rendered in a browser. a) details b) datetime c) summary d) article

date

3.15. The ________ input type enables the user to enter a date in the format yyyy-mm-dd. a) datetime-utc b) datetime c) datetime-local d) date

figcaption

3.16. The ________ element provides a caption for the image in the figure element. a) caption b) figcaption c) footer d) header

tel

3.17. The ________ input type enables the user to enter a telephone number. a) tel b) telephone c) number d) phone

formnovalidate

3.18. If you want to bypass validation, you can add the ________ attribute to input type submit. a) autofocus b) formnovalidate c) formvalidate d) validate

datetime-local

3.19. The ________ input type enables the user to enter the date and time in a single control. a) date b) date-time c) datetime d) datetime-local

figure

3.2. The ________ element describes an image in the document so that it could be moved to the side of the page or to another page. a) figure b) header c) article d) figcaption

meter element

3.20. The ________ renders a visual representation of a measure within a range. a) wbr element b) slider control c) details element d) meter element

section

3.21. The ________ element describes a section of a document, usually with a heading for each section. a) section b) article c) sectionheading d) details

datetime

3.22. The ________ input type enables the user to enter a date (year, month, day), time (hour, minute, second, fraction of a second) and the time zone set to UTC (Coordinated Universal Time or Universal Time, Coordinated). a) datetime-local b) datetime-utc c) datetime d) date

date

3.23. The time element enables you to identify a ________. a) location b) value c) time zone d) date

range

3.25. The ________ input type allows you to set a minimum and maximum and specify a value. a) range b) value c) maxmin d) minmax

autocomplete

3.26. The ________ attribute can be used on input types to automatically fill in the user's information based on previous input. a) value b) datalist c) autocomplete d) autofill

week

3.27. The ________ input type enables the user to select a year and week number in the format yyyy-Wnn. a) datetime-local b) date c) week d) datetime

required

3.28. The ________ attribute forces the user to enter a value before submitting the form. a) placeholder b) autofocus c) required d) formnovalidate

nav

3.29. The ________ element groups navigation links. a) link b) nav c) navigation d) header

placeholder

3.3. The ________ attribute allows you to put temporary text in a text field. a) formvalidate b) autofocus c) placeholder d) required

month

3.30. The ________ input type enables the user to enter a year and month in the format yyyy-mm, such as 2012-01. a) datetime b) datetime-local c) month d) date

color

3.4. The ________ input type enables the user to enter a color. a) color b) text c) value d) range

footer

3.5. The ________ element describes content that usually appears at the bottom of the content or section element. a) aside b) summary c) details d) footer

time

3.6. The ________ input type enables the user to enter an hour, minute, second and fraction of a second. a) datetime b) datetime-local c) time d) datetime-utc

autofocus

3.7. The ________ attribute places the cursor in a specified text field after the browser loads and renders the page. a) value b) required c) autofocus d) placeholder

details

3.8. When the arrow next to a summary element is clicked, the arrow points downward and reveals the content in a(n) ________ element. a) section b) footer c) details d) article

step

3.9. The ________ attribute determines the increment in which the numbers in a spinner control increase or decrease. a) step b) spinnerincrement c) max d) number

background-attachment

4.1. Which of the following settings for a background image can be modified to create a "watermark" effect where scrolling will not move the image from its set position? a) background-image b) background-repeat c) background-attachment d) background-position

author styles over user styles

4.11. If an author and a user both define absolute measurements, the CSS specification gives precedence to ________. a) neither author styles nor user styles b) both author styles and user styles c) user styles over author styles d) author styles over user styles

both absolute and relative are correct

4.12 When using the width, height and overflow properties of an element, position can be ________. a) none of the answers are correct b) relative c) both absolute and relative are correct d) absolute

colon

4.13. In the body of a style sheet, a CSS property is separated from its value by a ________. a) CSS operator b) colon c) semicolon d) dot

boder-shape

4.14. Which of the following is not a border property? a) border-style b) border-width c) border-shape d) border-color

10 times larger than the font size

4.15. Setting the width property to 10em will create an element that has a width that is ________. a) 10 times smaller than the font size b) 10 times larger than the font size c) italicized and 10pt in size d) size 10pt

Cascading Style Sheets

4.16. ________ allow you to specify the style of your page elements (spacing, margins, etc.) separately from the structure of your document. a) text flows b) Cascading Style Sheets c) Style declarations d) Filters

positioning is set according to the margins of its parent element

4.17. If an element's position is declared as absolute then ________ . a) positioning of the element is handled by the browser b) positioning is handled by relative positioning c) positioning is set according to the margins of its parent element d) positioning is handled by the normal flow of elements on the page

block

4.18. What is the default value of the display property for a div element? a) none b) hidden c) block d) inline

Inline styles

4.19. ________ are declared in each individual HTML5 element using the style attribute. a) External styles b) Cascading Style Sheets c) User style sheets d) Inline styles

It multiplies all text element font sizes with class = "note" by 1.5.

4.2. What does the following CSS rule do? .note { font-size: 1.5em } a) It multiplies all text element font sizes with the value 1.5. b) It multiplies all text element font sizes with class = "note" by 1.5. c) It calls the method note for all objects with the argument of 1.5 pixels. d) It multiplies all text element font sizes within <style> tags by 1.5.

<link></link>

4.20. In which of the following do you set the MIME type of the external style sheet? a) <mime></mime> b) <a></a> c) <link></link> d) <style></style>

<p class = "blue">

4.3. Which of the following selections is the proper way to apply this CSS rule: .blue { color: blue } a) <p class = "blue"> b) <p class = .blue> c) <p color = "blue"> d) <p color = .blue>

<p style = "font-size: 20pt">

4.4. An example of the proper format for inline styles is: a) <p style = "font-size = 20pt"> b) <p font-style = "20pt"> c) <p style = "font-size: 20pt"> d) <p style: "font-size = 20pt">

All text in h1 elements will use a sans-serif font if Arial is not supported by the system.

4.5. How will the following CSS rule alter the web page if it is applied in a style sheet? h1 { font-family: Arial, sans-serif } a) All text in h1 elements will have the Arial font if sans-serif is not supported by the system. b) All text in h1 elements will have use a sans-serif font, while text in other elements will use Arial. c) All text in h1 elements will use a sans-serif font if Arial is not supported by the system. d) All text in h1 elements will have the Arial font, while text in other elements will use a sans-serif font.

all of the answers are correct

4.6. Which of the following is an example of an inline element? a) image b) em c) all of the answers are correct d) span

<li><em>text</em></li>

4.7. To which text does the following CSS rule apply: li em { color: red; font-weight: bold } a) neither of the li statements are correct b) <li><em>text</em></li> c) both of the li statements are correct d) <li>text</li> and <em>text</em>

.css

4.8. External style sheets are saved with the ________ extension. a) .css b) .txt c) .txtcss d) .html

12pt

4.9. Which of the following is not a relative-length measurement? a) 5ex b) 1.5em c) 12pt d) 20px

2

6.1. What is the result of the statement 17 % 5? a) 0 b) 12 c) 3 d) 2

replaces the previous value in that location

6.10. Whenever a value is placed in a memory location, the value________. Select one: a. can share a location in memory with another value b. will be assigned to another identifier if a value already exists c. cannot be added if a value already exists d. replaces the previous value in that location

document.write( "<p style = \"color: blue\">");document.write( "Hello World </p>");

6.2. Which of the following statements would correctly print out the sentence "Hello World" in blue? a) document.write( "<p style = \"color: blue\">");document.write( "Hello World </p>"); b) document.write( "<p> style = \"color: blue\" Hello World </p>); c) document.write( "<p style = \"color: blue\");document.write( "Hello World >"); d) document.write( "<p style = \"color: blue\" Hello World + "</p>");

=

6.3. Which of the following is not a valid JavaScript equality or relational operator? a) = b) < c) > d) !=

=

6.4. Which of the following operators associates from right to left? a) + b) % c) = d) ==

nothing

6.5. Consider the following HTML5 code.

The word var must be placed before thirdNumber in line 3.

6.6. Consider the following script. What is wrong with the following code? Select one: a. The words Enter an integer in line 6 should not be in quotes. b. thirdNumber in line 7 must be in quotes. c. The word var must be placed before thirdNumber in line 3. d. The word thirdnumber in line 3 should have a comma after it.

55

6.7. What will the browser display if the following script is executed and the user enters 5 at both prompts? Select one: a. 55 b. nothing c. 10 d. 0

object

6.8. In the following line the word document is a(n) ______ that resides in the computer's memory. document.writeln("Hello World"); Select one: a. object b. attribute c. method d. behavior

window.alert( "Welcome!" );

6.9. An alert dialog displaying the text "Welcome!" is created by calling _________. Select one: a. window( "alert = \"Welcome!\"" ); b. window( "<alert> Welcome! </alert>" ); c. window.alert( "Welcome!" ); d. alert.window( "Welcome!" );


Conjuntos de estudio relacionados

II Lecture Chapter 19 Short Answer: Hand Procedures pp 418

View Set

A&P 2 Ch. 20 Cardiovascular System: Vessels & Circulation

View Set

Data Structures - Mastery Quiz 4

View Set

Anatomy Chapter 12 - immunology (like mine)

View Set

psy 230 statistics of behavioral sciences exam 1

View Set

AHN 02 & BPN 43 NCLEX Review Questions

View Set

Chapter 11: high-risk perinatal care- existing conditions

View Set