Deck 15: Structuring Data With XML
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/131
Play
Full screen (f)
Deck 15: Structuring Data With XML
1
____ Web applications can produce more accurate results based on clearly labeled XML data.
A)Functional
B)Resident
C)Compiled
D)Intelligent
A)Functional
B)Resident
C)Compiled
D)Intelligent
D
2

A)1
B)2
C)3
D)4
A
3
As Web technologies advanced, the combination of ____ offered a highly effective method of controlling Web page formatting.
A)HTML and CSS
B)XML and CSS
C)DHTML and XML
D)Java and Perl
A)HTML and CSS
B)XML and CSS
C)DHTML and XML
D)Java and Perl
A
4
Custom vocabularies act like the ____ in a conventional database.
A)records
B)primary keys
C)fieldnames
D)foreign keys
A)records
B)primary keys
C)fieldnames
D)foreign keys
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
5
Custom vocabularies are also referred to as ____ sets.
A)baseline
B)attribute
C)element
D)function
A)baseline
B)attribute
C)element
D)function
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
6
____ Markup Language is a text-based syntax.
A)Extended
B)Extensible
C)Element-based
D)None of the above
A)Extended
B)Extensible
C)Element-based
D)None of the above
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
7
In the earliest days of the Web, ____ was a way of structuring information for multiple platforms and browsers.
A)HTML
B)CSS
C)element positioning
D)XML
A)HTML
B)CSS
C)element positioning
D)XML
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
8
The ____ at the end of the tag for an empty element indicates that the element is not broken but simply empty or open.
A)ampersand
B)caret
C)forward slash
D)backslash
A)ampersand
B)caret
C)forward slash
D)backslash
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
9
In today's data-rich Web environment with its many new applications, neither ____ answer the critical need for a standard but expandable means to define, structure, and deliver data on the Web.
A)Java nor XML
B)XML nor CSS
C)HTML nor CSS
D)DHTML nor XML
A)Java nor XML
B)XML nor CSS
C)HTML nor CSS
D)DHTML nor XML
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
10
All ____ elements must be self-identifying by ending with />.
A)empty
B)self-contained
C)restricted
D)registered
A)empty
B)self-contained
C)restricted
D)registered
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
11

A)1
B)2
C)3
D)4
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
12
XML is designed to ____ structured data.
A)describe
B)deliver
C)exchange
D)all of the above
A)describe
B)deliver
C)exchange
D)all of the above
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
13

A)1
B)2
C)3
D)4
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
14
____ adheres to a strict set of formatting rules that guarantee that a document is well-formed.
A)HTML
B)CSS
C)XML
D)Unix
A)HTML
B)CSS
C)XML
D)Unix
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
15
All elements must be ____ correctly in a well-formed XML document.
A)nested
B)mapped
C)defined
D)opened
A)nested
B)mapped
C)defined
D)opened
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
16
All attribute values must be enclosed in ____ in a well-formed XML document.
A)brackets
B)quotation marks
C)parentheses
D)braces
A)brackets
B)quotation marks
C)parentheses
D)braces
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
17
HTML requires that ____ be in quotes.
A)URLs and strings
B)styles
C)colors
D)all attribute values
A)URLs and strings
B)styles
C)colors
D)all attribute values
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
18
All of the following are empty elements EXCEPT ____.
A)br /
B)/ul
C)hr /
D)img /
A)br /
B)/ul
C)hr /
D)img /
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
19
Which of the following is a correct style attribute value for XML?
A)[font-size: 1.5em;]
B)'font-size: 1.5em;'
C)"font-size: 1.5em;"
D)font-size: 1.5em;
A)[font-size: 1.5em;]
B)'font-size: 1.5em;'
C)"font-size: 1.5em;"
D)font-size: 1.5em;
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
20
XML requires that both opening and closing ____ be present.
A)codes
B)tags
C)keys
D)indices
A)codes
B)tags
C)keys
D)indices
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
21
Both IE and newer Netscape browsers are equipped with their own ____ for displaying XML documents.
A)compilers
B)parsers
C)analytics
D)standards
A)compilers
B)parsers
C)analytics
D)standards
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
22
The XML declaration in the prolog begins with the opening delimiter ____.
A)<;
B)<+
C)D)
A)<;
B)<+
C)D)
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
23
Which of the following is not contained in the prolog?
A)an XML declaration
B)comments
C)a document type declaration
D)all of the above
A)an XML declaration
B)comments
C)a document type declaration
D)all of the above
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
24
After an XML document is created, it must be analyzed by an XML ____ to ensure that the code is properly formatted.
A)compiler
B)parser
C)analytic
D)browser
A)compiler
B)parser
C)analytic
D)browser
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
25
Which of the following is always the first line of code in an XML document?
A)XML declaration
B)document type declaration
C)comments
D)body statement
A)XML declaration
B)document type declaration
C)comments
D)body statement
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
26
The term ____ qualifies elements and attribute names used in XML documents by associating them with namespace references.
A)encoding
B)UTF-8
C)xmlns
D)nmsp
A)encoding
B)UTF-8
C)xmlns
D)nmsp
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
27
XML ____ interpret a document's code and verify that it satisfies all the requirements of a well-formed XML document.
A)standards
B)analytics
C)parsers
D)compilers
A)standards
B)analytics
C)parsers
D)compilers
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
28
XML ____ are strict in their adherence to XML standards.
A)browsers
B)parsers
C)compilers
D)analytics
A)browsers
B)parsers
C)compilers
D)analytics
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
29
Which of the following is required in a prolog?
A)document type declaration
B)comments
C)XML declaration
D)all of the above
A)document type declaration
B)comments
C)XML declaration
D)all of the above
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
30
Which of the following is not a valid XML tag name?
A)actor1
B)DVDtitle
C)XMLbooks
D)All of the above
A)actor1
B)DVDtitle
C)XMLbooks
D)All of the above
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
31

A)movie
B)DVDlist
C)actor1
D)actor2
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
32
____ offers the means to exchange and process data from otherwise incompatible information repositories on the Internet.
A)XML
B)Perl
C)JavaScript
D)HTML
A)XML
B)Perl
C)JavaScript
D)HTML
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
33
In a prolog, the ____ is a processing instruction for the browser or other XML-compliant program reading the document.
A)XML declaration
B)comment
C)document type declaration
D)epilog
A)XML declaration
B)comment
C)document type declaration
D)epilog
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
34
The ____ element is another name for the master element.
A)root
B)key
C)defined
D)index
A)root
B)key
C)defined
D)index
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
35
Setting the ____ in the opening tag of an XML document tells the parser that the document can accept namespace definitions.
A)encoding
B)UTF-8
C)nmsp
D)xmlns
A)encoding
B)UTF-8
C)nmsp
D)xmlns
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
36
Elements within the ____ section of a document are organized in a treelike hierarchical structure.
A)header
B)footer
C)body
D)master
A)header
B)footer
C)body
D)master
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
37
A ____ could be set up to ensure that all XML files dealing with drug prescriptions include the doctor's name, expiration date, and refill information.
A)relational database
B)parser
C)DTD
D)genre
A)relational database
B)parser
C)DTD
D)genre
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
38
Applications that require high-level compatibility and performance greatly benefit from the use of ____.
A)XML
B)HTML
C)CSS
D)All of the above
A)XML
B)HTML
C)CSS
D)All of the above
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
39
XML documents are composed of ____ parts.
A)two
B)three
C)four
D)six
A)two
B)three
C)four
D)six
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
40
The ____ element serves as the parent element for all other elements in an XML file.
A)defined
B)key
C)function
D)master
A)defined
B)key
C)function
D)master
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
41

Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
42
XML documents use the file extension .htm.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
43
In the earliest days of the Web, CSS was a way of structuring information for multiple platforms and browsers
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
44
All parts of the prolog are required.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
45
Current coding standards tell us that when writing XML you should close last the tag set that you opened first.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
46
Unlike HTML files, XML files cannot be created with a text editor; they must be created with a parser.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
47
Like HTML, XML is confined to a restricted library of tag sets.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
48
All elements in HTML must be nested correctly.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
49
Current coding standards tell us that when writing HTML you must close last the tag set that you opened first.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
50
HTML adheres to a strict set of formatting rules that guarantee that a document is well-formed.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
51
HTML and CSS enable a significant portion of the processing load to be shifted from Web servers to clients.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
52
Unlike early XML coding techniques that allowed you to mark up a document without using some closing tags, HTML requires that both opening and closing tags be present.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
53
XML uses a syntax that is radically different from HTML's.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
54

Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
55

Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
56
The tags and are empty elements.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
57

Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
58
With XML, it is possible to identify data in meaningful ways.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
59
Incorrectly nested XML elements usually appear correctly in the browser.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
60
All attribute values must be enclosed in parentheses.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
61
You can use all the power and flexibility of DHTML to manipulate XML data once it appears in an HTML document.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
62
The indentation in an XML element hierarchy is required for proper processing.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
63
If an element is missing a closing tag or if both the opening and closing tags do not agree in case, the compiler reports the error and rejects the document.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
64
Some XML parsers are part of the browser software used to display XML documents.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
65
Elements within the prolog section of the document are organized in a treelike hierarchical structure.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
66
The databound attributes specify the element from an XML document to be bound to each column in a table, for example.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
67
XML gives you the freedom to define a limitless set of custom elements.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
68
The properties of an element determines how much of the tree it controls.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
69
Its strict adherence to XML coding standards enables any XML-compliant browser to open and display any well-formed, valid XML document.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
70
XML schemas use a different syntax from XML.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
71
You enter data into an XML document the same way you do an HTML page, either manually with an editor or automatically with a sophisticated HTML development tool.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
72
You can build several different views of the same data depending on the audience.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
73
Once data is configured for display in your browser, you can present it in many different ways.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
74
A DTD uses the same syntax as XML.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
75
Elements in an XML document are ranked from the outermost set to the innermost elements.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
76
Once the data in an XML document has been bound to an HTML page, you can use all of the available formatting capabilities in HTML and JavaScript to control its presentation in a browser.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
77
XML code is not case sensitive.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
78
In the XML element hierarchy, parent elements are fully nested within child elements.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
79
Support for XML schemas is extensive at this point.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck
80
Some XML parsers come packaged with XML editing software.
Unlock Deck
Unlock for access to all 131 flashcards in this deck.
Unlock Deck
k this deck