True/False Indicate whether the
statement is true or false.
|
|
|
1.
|
The scripting language JavaScript runs within the browser.
|
|
|
2.
|
HTML editors such as Macromedia Dreamweaver and Microsoft Frontpage are known to
create simpler Web files than simple text editors such as Notepad.
|
|
|
3.
|
Like HTML, XHTML is not case sensitive.
|
|
|
4.
|
The common terms Web authoring, Web programming and Web mastering describe the
same tasks.
|
|
|
5.
|
You can place <script> elements in either the
document head or in the document body.
|
Multiple Choice Identify the
choice that best completes the statement or answers the question.
|
|
|
6.
|
Place the listed Web technologies in order of complexity and chronology.
a. | HTML, DHTML, SGML, XHTML | c. | SGML, HTML, DHTML,
XHTML | b. | DHTML, HTML, SGML, XHTML | d. | XHTML, SGML, HTML, DHTML |
|
|
|
7.
|
What international organization oversees the development of Web technology
standards?
a. | University of Illinois | c. | Microsoft | b. | W3C | d. | Netscape |
|
|
|
8.
|
A well-formed XHTML document must include the tags ____.
a. | <!DOCTYPE>,<head>,<html>,<body> | b. | <!DOCTYPE>,<head>,<html>,<br
/> | c. | <!DOCTYPE>,<head>,<h1>,<body> | d. | <!DOCTYPE>,<head>,<html>,<bold> |
|
|
|
9.
|
<p><b><i>Call for a free
estimate!</i></b></p> The line above is said
to be ____.
a. | tagged open | c. | rendered | b. | nested | d. | displayed |
|
|
|
10.
|
Phrase elements describe how enclosed elements are ____.
a. | displayed | c. | rendered | b. | coded | d. | identified |
|
|
|
11.
|
CSS styles are created with two parts separated by a colon: the ____, which
refers to a specific CSS style, and the ____ assigned to it.
a. | attribute, style | c. | type, format | b. | property, value | d. | source, file |
|
|
|
12.
|
The most basic method of applying styles is to use ____, which allow you to add
style information to a single element in a document.
a. | external style sheets | c. | single rendered styles | b. | internal style
sheets | d. | inline
styles |
|
|
|
13.
|
Multiple style declarations in a style or style sheet are written separating
each style declaration with a ____.
a. | semicolon | c. | comma | b. | colon | d. | period |
|
|
|
14.
|
The ____ is sent to the Web browser before the Web page is sent to provide
information that the browser needs to render the page.
a. | meta header | c. | response header | b. | charset | d. | internal style
sheet |
|
|
|
15.
|
Web ____, or Web ____, refers to the design of software applications for a Web
site.
a. | page design, graphic design | c. | logging,
maintenance | b. | development, programming | d. | page authoring, authoring |
|
|
|
16.
|
In the client/server system, a primary role of the client, or front end, is to
____.
a. | carry out complex data processing | c. | send e-mail | b. | provide for data
storage | d. | present an
interface to the user |
|
|
|
17.
|
A three-tier, or multitier, client/server system consists of three distinct
pieces. These are ____.
a. | tiers for client, processing, and data storage | b. | tiers for client,
design, and processing | c. | tiers for storing, distributing and
processing | d. | tiers for email, messaging and data storage |
|
|
|
18.
|
JavaScript is a client-side scripting language. ____ are popular server-side
scripting languages.
a. | C, C++, and CGI | c. | PHP, ASP, and JSP | b. | JScript, Livescript, and
ECMAScript | d. | VBS and
JScript |
|
|
|
19.
|
The ability to ____ is the only type of access to a client that JavaScript
has.
a. | read and write cookies | c. | open a file | b. | be used outside the browser | d. | access a
database |
|
|
|
20.
|
When a client requests a server-side script, the client will never see the
server-side script, only the ____.
a. | e-mail sent | c. | HTML and XHTML | b. | program executing | d. | data requested |
|
|
|
21.
|
The ____ element tag or phrase tells the browser which ____ language and which
version of the language is being used.
a. | <file>, scripting | c. | <source>, code | b. | <script>,
scripting | d. | <code>, coding |
|
|
|
22.
|
An object is ____ that can be treated as an individual unit or component.
a. | state and contents | c. | formatting and color | b. | file and data | d. | programming code and
data |
|
|
|
23.
|
Individual statements used in a computer program are often grouped into logical
units called procedures, which are used to perform specific tasks. The procedures associated with an
object are called ____.
a. | methods | c. | attributes | b. | processes | d. | functions |
|
|
|
24.
|
You can place <script> elements in either the
document ____ or document ____.
a. | code, comments | c. | head, body | b. | head, tail | d. | file, text |
|
|
|
25.
|
When parsing XHTML documents, the statements in a <script> element are treated as ____, but HTML parses the statements as
____.
a. | text, script | c. | PCDATA, CDATA | b. | CDATA, PCDATA | d. | script, data |
|
|
|
26.
|
Any error in a program that causes it to function incorrectly, whether because
of incorrect syntax or flaws in logic, is called a(n) ____. The term ____ refers to the act of
tracing and resolving errors in a program.
a. | bug, debugging | c. | error factor, refactoring | b. | bomb,
defusing | d. | code segment,
rewriting |
|
Completion Complete each
statement.
|
|
|
27.
|
The JavaScript language “lives” within a Web page’s
____________________ .
|
|
|
28.
|
The method of accessing cross-referenced documents on the World Wide Web is
known as ____________________.
|
|
|
29.
|
A document on the Web is called a Web page and is identified by a unique address
called the ____________________.
|
|
|
30.
|
You create external style sheets in a text editor, the same as when you create
XHTML documents. However, you should save the style sheet document with an extension of
____________________.
|
|
|
31.
|
Web development, or Web programming, refers to the ____________________ of
software applications for a Web site.
|
Matching
|
|
|
Identify the letter of the choice that best matches the phrase or
definition. a. | hyperlink | f. | XHTML | b. | URL | g. | syntax | c. | W3C | h. | logic | d. | tag | i. | bugs | e. | DTD |
|
|
|
32.
|
An organization overseeing Web standards
|
|
|
33.
|
Rules of a computer language
|
|
|
34.
|
Defines the elements and attributes used in a document
|
|
|
35.
|
Determines how data is displayed on a Web page
|
|
|
36.
|
Is commonly referred to as a Web address
|
|
|
37.
|
An advanced form of Web technology
|
|
|
38.
|
Errors in syntax or logic in a program
|
|
|
39.
|
A correct order for processing steps in a program
|
|
|
40.
|
A clickable reference to a specific Web page
|
Short Answer
|
|
|
41.
|
The browser wars began over DHTML, a combination of various technologies
including HTML and JavaScript that allows a Web page to change after it has been rendered by a
browser. Explain how the two major browsers “fought”.
|
|
|
42.
|
A Document Type Definition, or DTD, defines the elements and attributes that can
be used in a document, along with the rules that a document must follow when it includes them. You
can use three types of DTDs with XHTML documents: transitional, strict, and frameset. Compare the
types of DTDs.
|
|
|
43.
|
A well-formed document must include a <!DOCTYPE> declaration and the <html>,<head>, and <body> elements. What are several other important components of a
well-formed XHTML document?
|
|
|
44.
|
Explain the two types of inline elements XHTML uses for managing the formatting
of text in an XHTML document.
|
|
|
45.
|
When would you employ an external style sheet?
|
|
|
46.
|
How are Web pages validated?
|
|
|
47.
|
Describe the functions of a multitier client/server system.
|
|
|
48.
|
What are some common uses for server-side scripting?
|
|
|
49.
|
Under what circumstances would you use server-side scripting?
|
|
|
50.
|
What are the components that make up a JavaScript Object?
|