Deck 11: Creating an XML Document

Full screen (f)
exit full mode
Question
The name in an element's closing tag must match the name in the opening tag.
Use Space or
up arrow
down arrow
to flip the card.
Question
A CDATA section is a block of text that XML treats as word data only._________________________
Question
A(n)compound document is an XML document composed of elements from other vocabularies or schemas _________________________
Question
The ISO/IEC character set is an international numbering system for referencing characters from virtually any language._________________________
Question
XML has its roots in Standard Generalized Markup Language (SGML), a language introduced in the 1980s that describes the structure and content of any machine-dependent information._________________________
Question
A DTD defines the structure of the data and, very broadly, the types of data allowable.
Question
Documents written in SGML must be used on devices running the Unix operating system.
Question
A(n)DTD more precisely defines the structure of the data and specific data restrictions._________________________
Question
A common mistake in XML documents is to forget that the apostrophe symbol is interpreted by the XML processor as a character reference and not as a character._________________________
Question
Multiple processing instructions can exist within the same XML document for different media types.
Question
Declaring a(n)Android layout in XML makes it easier to visualize the structure of a user interface._________________________
Question
Cascading Style Sheets (CSS), the style sheet language developed for use with HTML on the Web, also can be used with the elements in any XML document.
Question
XML is a markup language that can be extended and modified to match the needs of the author and the data content.
Question
The string ' is a(n)character reference for the apostrophe._________________________
Question
Subscribers to a(n)CSS feed can receive periodic updates using a software program called a feed reader or an aggregator._________________________
Question
Character data is not processed-it is treated as pure data content.
Question
The UTF-8 character set includes only the characters used in the English language.
Question
SGML has been the chosen vehicle for creating structured documents in business and government organizations of all sizes.
Question
A(n)namespace is a defined collection of element and attribute names._________________________
Question
Every element in an XML document can contain at most one attribute.
Question
XML is a(n)_____ language that is extensible, so it can be modified to match the needs of the document author and the data being recorded.

A) device-dependent
B) markup
C) device-driven
D) indexed
Question
_____ is an XML vocabulary used for displaying and organizing musical notation and lyrics.

A) MML
B) RSS
C) SMIL
D) CML
Question
A namespace that has been declared within an element can be applied to any _____ of the element.

A) parent
B) copy
C) descendant
D) heir
Question
A well-formed XML document that satisfies the rules of a DTD or schema is said to be a(n)_____ document.

A) invalid
B) valid
C) correct
D) verified
Question
For different users to share a vocabulary effectively, _____ must be developed that specifically control what code and content a document from that vocabulary might contain.

A) guidelines
B) rules
C) goals
D) objectives
Question
_____ is a language introduced in the 1980s that describes the content and structure of any machine-readable information.

A) XML
B) HTML
C) XHTML
D) SGML
Question
A _____ document contains no syntax errors and satisfies the general specifications for XML code.

A) synthesized
B) compound
C) checked
D) well-formed
Question
A CDATA section may contain most markup characters, such as _____, >, and &.

A) <
B) ?
C) *
D) #
Question
The standards for XML are developed and maintained by _____.

A) NASA
B) the NSF
C) the W3C
D) DARPA
Question
To declare a namespace for an element within an XML document, you add an attribute within the opening tag for the element using the syntax _____.

A)
B) ...
C) ...
D)
...
Question
Shown in the accompanying figure, _____ was developed to code molecular information.

A) CML
B) CDF
C) MML
D) OFX
Question
An XML document that satisfies the rules of a DTD or schema is said to be a(n)_____ document.

A) free
B) indexed
C) valid
D) roster
Question
If you want to have control over the document's appearance, you have to physically _____ the document to a style sheet.

A) integrate
B) link
C) merge
D) combine
Question
XML has its roots in _____.

A) HTML
B) SGML
C) XHTML
D) Perl
Question
To create a DTD or a schema, you need access to a _____.

A) word processor
B) spreadsheet program
C) text editor
D) WYSIWYG authoring program
Question
A _____ instruction is a command that tells an XML parser how to process the document.

A) processing
B) parsing
C) coding
D) designing
Question
The accompanying figure shows a molecule described using a(n)_____ vocabulary.

A) XML
B) CDF
C) MML
D) OFX
Question
Assume that the home page of Helen's company, Hair Unlimited Salon, has the Web address _____.This address provides customers with a unique location to access all of Hair Unlimited Salon's online products.

A) xml://example.com/hus
B) http://example.com/hus
C) ftp://example.com/hus
D) http://example.hus/com
Question
One of the more important XML vocabularies is _____, which is a reformulation of HTML as an XML application.

A) CML
B) XHTML
C) OFX
D) MML
Question
As XML has grown in popularity, standard _____ have been developed across a wide range of disciplines.

A) legends
B) elements
C) vocabularies
D) keys
Question
An XML document consists of the _____, the document body, and the epilog.

A) grammar
B) index
C) prolog
D) chapter
Question
An attribute value always must be enclosed within either single or double _____.

A) brackets
B) quotes
C) braces
D) parentheses
Question
The document body consists of the _____ that contain data to be stored in the document.

A) elements
B) attributes
C) values
D) keys
Question
In the tree diagram in the accompanying figure, the root element is the _____ element.

A) products
B) price
C) description
D) productItems
Question
Make sure to end every entity reference with a(n)_____.

A) period
B) comma
C) apostrophe
D) semicolon
Question
Elements that are side-by-side in a document's hierarchy are _____ elements.

A) extended
B) extensible
C) sibling
D) familial
Question
In the accompanying figure's tree diagram, all of the elements in the body are children of a single element called the _____ element.

A) base
B) fundamental
C) root
D) key
Question
Element names cannot begin with the letters "_____."

A) data
B) http
C) xml
D) xsl
Question
The first part of the prolog is the XML _____.

A) index
B) master
C) declaration
D) link
Question
An open element is also known as a(n)_____ element.

A) null
B) void
C) empty
D) key
Question
Element names may not contain _____.

A) letters
B) the string "xml"
C) blank spaces
D) the underscore character
Question
When white space appears in places other than element content, XML treats it in the following manner: _____.

A) ignored within a document's prolog and epilog, and within any element tags
B) ignored when it is one of the character data between element tags
C) within an attribute value is treated as a separate part of the attribute value
D) generally ignored as part of the document's data
Question
An RSS file is written in _____.

A) SGML
B) HTML
C) XML
D) AML
Question
The default version value for an XML declaration is _____.

A) 1.0
B) 1.1
C) 1.2
D) 2.0
Question
The default encoding scheme for an XML declaration is _____.

A) ISO-8859-1
B) UTF-8
C) Latin-1
D) DTD 2.0
Question
_____ space refers to nonprintable characters such as spaces (created by pressing the spacebar), new line characters (created by pressing the Enter key), or tab characters (created by pressing the Tab key).

A) Blank
B) White
C) Empty
D) Character
Question
Parsed character data includes _____.

A) comments
B) empty element tags
C) processing instructions
D) all of the above
Question
The XML _____ signals to the program reading the file that the document is written in XML.

A) statement
B) declaration
C) index
D) link
Question
The only sequence of symbols that may not occur within a CDATA section is _____ because this is the marker ending a CDATA section.

A) ]]
B) **
C) ))
D) [[
Question
Attribute values must be enclosed within _____.

A) ampersands
B) carets
C) single or double quotes
D) colons
Question
Finally, Clarisa doublechecks all of the entity references used in the document.Which of the following is NOT one of the entity references that XML supports?

A) &
B) &attr;
C) >
D) "
Question
____________________ are the basic building blocks of XML files, containing the data to be stored in the document.
Question
Clarisa next looks at the elements that do not use nesting, and she finds one that is formatted incorrectly.Which of the following could it be?

A) Perry
B)
C) Perry
D) none of these
Question
Clarisa next checks all of the attribute names.Which of the following is an invalid attribute name?

A) xml_type
B) _type
C) itemName
D) NAME
Question
Ryan asks how the rules for a given XML vocabulary are specified, and you explain that it is done using either a document type definition (DTD)or schema.Which of the following is NOT a true statement about DTDs and schemas?

A) Both DTDs and schemas contain rules for how data in a document vocabulary should be structured.
B) A DTD defines the structure of the data and, very broadly, the types of data allowable.
C) A schema more precisely defines the structure of the data and specific data restrictions.
D) DTDs and schemas are required, but they are seldom helpful in ensuring that your XML documents follow a specific vocabulary.
Question
Clarisa then reviews all of the elements with nesting, and she discovers a number of problems.Which of the following is a CORRECT use of nesting?

A) Homework 1 50
B) Homework 150
C) Homework 150
D) Homework 150
Question
You tell Ryan that XML can be used to create XML vocabularies, which are markup languages tailored to contain specific pieces of information.Which of the following is NOT an example of a standard XML vocabulary?

A) BSML
B) OMF
C) XHTML
D) CDF
Question
Clarisa begins by looking for incorrect element names.Which of the following is a problematic element name?

A) _recipe
B) street address
C) NAME
D) Item
Question
You can place any large block of text within a _____ section to avoid inadvertently inserting a character that would be misinterpreted by an XML processor (such as the ampersand symbol).

A) baseline
B) header
C) CDATA
D) pcdata
Question
Ryan has heard that an XML document must be well-formed.Which of the following is NOT a characteristic of a well-formed document?

A) It contains no syntax errors.
B) It has a prolog, body, and epilog.
C) It includes an XML declaration.
D) It satisfies the rules of its DTD or schema.
Question
Most ____________________ feeds contain just links, headlines, or brief synopses of new information.
Question
A(n)____________________ provides information about the rules used in the XML document's vocabulary.
Question
_____ is the style sheet standard developed for use with HTML on the Web.

A) XSL
B) XSM
C) CSS
D) MSXML
Question
After declaring a default namespace, any ____________________ element or attribute is then considered part of this namespace unless a different namespace is declared within one of the child elements.
Question
You tell Teddy about an important XML vocabulary called RSS.What is this vocabulary used for?

A) describing recreation and sports events
B) distributing news articles or other changing content to subscribers
C) describing recipes and menu items
D) editing interactive audiovisual presentations
Question
If an XML document is part of a vocabulary which has a defined DTD or schema, it also needs to be tested to ensure that it satisfies the ____________________ of that vocabulary.
Question
____________________ can be thought of as a lightweight version of SGML.
Question
Ryan asks you about the roots of XML.Which of the following is NOT a characteristic of SGML?

A) It is device-independent and system-independent.
B) It is the chosen vehicle for creating structured documents in businesses and government organizations of all sizes.
C) It is an easy language to learn and to apply because of its power, scope, and flexibility.
D) It provides tools to manage enormous projects.
Question
The orange highlighted item in the accompanying figure is an XML ____________________.
Question
Empty element tags are entered using a(n)____________________ tag.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/100
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 11: Creating an XML Document
1
The name in an element's closing tag must match the name in the opening tag.
True
2
A CDATA section is a block of text that XML treats as word data only._________________________
False
character
3
A(n)compound document is an XML document composed of elements from other vocabularies or schemas _________________________
True
4
The ISO/IEC character set is an international numbering system for referencing characters from virtually any language._________________________
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
5
XML has its roots in Standard Generalized Markup Language (SGML), a language introduced in the 1980s that describes the structure and content of any machine-dependent information._________________________
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
6
A DTD defines the structure of the data and, very broadly, the types of data allowable.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
7
Documents written in SGML must be used on devices running the Unix operating system.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
8
A(n)DTD more precisely defines the structure of the data and specific data restrictions._________________________
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
9
A common mistake in XML documents is to forget that the apostrophe symbol is interpreted by the XML processor as a character reference and not as a character._________________________
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
10
Multiple processing instructions can exist within the same XML document for different media types.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
11
Declaring a(n)Android layout in XML makes it easier to visualize the structure of a user interface._________________________
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
12
Cascading Style Sheets (CSS), the style sheet language developed for use with HTML on the Web, also can be used with the elements in any XML document.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
13
XML is a markup language that can be extended and modified to match the needs of the author and the data content.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
14
The string ' is a(n)character reference for the apostrophe._________________________
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
15
Subscribers to a(n)CSS feed can receive periodic updates using a software program called a feed reader or an aggregator._________________________
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
16
Character data is not processed-it is treated as pure data content.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
17
The UTF-8 character set includes only the characters used in the English language.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
18
SGML has been the chosen vehicle for creating structured documents in business and government organizations of all sizes.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
19
A(n)namespace is a defined collection of element and attribute names._________________________
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
20
Every element in an XML document can contain at most one attribute.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
21
XML is a(n)_____ language that is extensible, so it can be modified to match the needs of the document author and the data being recorded.

A) device-dependent
B) markup
C) device-driven
D) indexed
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
22
_____ is an XML vocabulary used for displaying and organizing musical notation and lyrics.

A) MML
B) RSS
C) SMIL
D) CML
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
23
A namespace that has been declared within an element can be applied to any _____ of the element.

A) parent
B) copy
C) descendant
D) heir
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
24
A well-formed XML document that satisfies the rules of a DTD or schema is said to be a(n)_____ document.

A) invalid
B) valid
C) correct
D) verified
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
25
For different users to share a vocabulary effectively, _____ must be developed that specifically control what code and content a document from that vocabulary might contain.

A) guidelines
B) rules
C) goals
D) objectives
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
26
_____ is a language introduced in the 1980s that describes the content and structure of any machine-readable information.

A) XML
B) HTML
C) XHTML
D) SGML
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
27
A _____ document contains no syntax errors and satisfies the general specifications for XML code.

A) synthesized
B) compound
C) checked
D) well-formed
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
28
A CDATA section may contain most markup characters, such as _____, >, and &.

A) <
B) ?
C) *
D) #
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
29
The standards for XML are developed and maintained by _____.

A) NASA
B) the NSF
C) the W3C
D) DARPA
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
30
To declare a namespace for an element within an XML document, you add an attribute within the opening tag for the element using the syntax _____.

A)
B) ...
C) ...
D)
...
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
31
Shown in the accompanying figure, _____ was developed to code molecular information.

A) CML
B) CDF
C) MML
D) OFX
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
32
An XML document that satisfies the rules of a DTD or schema is said to be a(n)_____ document.

A) free
B) indexed
C) valid
D) roster
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
33
If you want to have control over the document's appearance, you have to physically _____ the document to a style sheet.

A) integrate
B) link
C) merge
D) combine
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
34
XML has its roots in _____.

A) HTML
B) SGML
C) XHTML
D) Perl
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
35
To create a DTD or a schema, you need access to a _____.

A) word processor
B) spreadsheet program
C) text editor
D) WYSIWYG authoring program
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
36
A _____ instruction is a command that tells an XML parser how to process the document.

A) processing
B) parsing
C) coding
D) designing
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
37
The accompanying figure shows a molecule described using a(n)_____ vocabulary.

A) XML
B) CDF
C) MML
D) OFX
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
38
Assume that the home page of Helen's company, Hair Unlimited Salon, has the Web address _____.This address provides customers with a unique location to access all of Hair Unlimited Salon's online products.

A) xml://example.com/hus
B) http://example.com/hus
C) ftp://example.com/hus
D) http://example.hus/com
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
39
One of the more important XML vocabularies is _____, which is a reformulation of HTML as an XML application.

A) CML
B) XHTML
C) OFX
D) MML
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
40
As XML has grown in popularity, standard _____ have been developed across a wide range of disciplines.

A) legends
B) elements
C) vocabularies
D) keys
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
41
An XML document consists of the _____, the document body, and the epilog.

A) grammar
B) index
C) prolog
D) chapter
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
42
An attribute value always must be enclosed within either single or double _____.

A) brackets
B) quotes
C) braces
D) parentheses
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
43
The document body consists of the _____ that contain data to be stored in the document.

A) elements
B) attributes
C) values
D) keys
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
44
In the tree diagram in the accompanying figure, the root element is the _____ element.

A) products
B) price
C) description
D) productItems
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
45
Make sure to end every entity reference with a(n)_____.

A) period
B) comma
C) apostrophe
D) semicolon
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
46
Elements that are side-by-side in a document's hierarchy are _____ elements.

A) extended
B) extensible
C) sibling
D) familial
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
47
In the accompanying figure's tree diagram, all of the elements in the body are children of a single element called the _____ element.

A) base
B) fundamental
C) root
D) key
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
48
Element names cannot begin with the letters "_____."

A) data
B) http
C) xml
D) xsl
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
49
The first part of the prolog is the XML _____.

A) index
B) master
C) declaration
D) link
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
50
An open element is also known as a(n)_____ element.

A) null
B) void
C) empty
D) key
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
51
Element names may not contain _____.

A) letters
B) the string "xml"
C) blank spaces
D) the underscore character
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
52
When white space appears in places other than element content, XML treats it in the following manner: _____.

A) ignored within a document's prolog and epilog, and within any element tags
B) ignored when it is one of the character data between element tags
C) within an attribute value is treated as a separate part of the attribute value
D) generally ignored as part of the document's data
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
53
An RSS file is written in _____.

A) SGML
B) HTML
C) XML
D) AML
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
54
The default version value for an XML declaration is _____.

A) 1.0
B) 1.1
C) 1.2
D) 2.0
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
55
The default encoding scheme for an XML declaration is _____.

A) ISO-8859-1
B) UTF-8
C) Latin-1
D) DTD 2.0
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
56
_____ space refers to nonprintable characters such as spaces (created by pressing the spacebar), new line characters (created by pressing the Enter key), or tab characters (created by pressing the Tab key).

A) Blank
B) White
C) Empty
D) Character
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
57
Parsed character data includes _____.

A) comments
B) empty element tags
C) processing instructions
D) all of the above
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
58
The XML _____ signals to the program reading the file that the document is written in XML.

A) statement
B) declaration
C) index
D) link
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
59
The only sequence of symbols that may not occur within a CDATA section is _____ because this is the marker ending a CDATA section.

A) ]]
B) **
C) ))
D) [[
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
60
Attribute values must be enclosed within _____.

A) ampersands
B) carets
C) single or double quotes
D) colons
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
61
Finally, Clarisa doublechecks all of the entity references used in the document.Which of the following is NOT one of the entity references that XML supports?

A) &
B) &attr;
C) >
D) "
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
62
____________________ are the basic building blocks of XML files, containing the data to be stored in the document.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
63
Clarisa next looks at the elements that do not use nesting, and she finds one that is formatted incorrectly.Which of the following could it be?

A) Perry
B)
C) Perry
D) none of these
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
64
Clarisa next checks all of the attribute names.Which of the following is an invalid attribute name?

A) xml_type
B) _type
C) itemName
D) NAME
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
65
Ryan asks how the rules for a given XML vocabulary are specified, and you explain that it is done using either a document type definition (DTD)or schema.Which of the following is NOT a true statement about DTDs and schemas?

A) Both DTDs and schemas contain rules for how data in a document vocabulary should be structured.
B) A DTD defines the structure of the data and, very broadly, the types of data allowable.
C) A schema more precisely defines the structure of the data and specific data restrictions.
D) DTDs and schemas are required, but they are seldom helpful in ensuring that your XML documents follow a specific vocabulary.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
66
Clarisa then reviews all of the elements with nesting, and she discovers a number of problems.Which of the following is a CORRECT use of nesting?

A) Homework 1 50
B) Homework 150
C) Homework 150
D) Homework 150
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
67
You tell Ryan that XML can be used to create XML vocabularies, which are markup languages tailored to contain specific pieces of information.Which of the following is NOT an example of a standard XML vocabulary?

A) BSML
B) OMF
C) XHTML
D) CDF
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
68
Clarisa begins by looking for incorrect element names.Which of the following is a problematic element name?

A) _recipe
B) street address
C) NAME
D) Item
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
69
You can place any large block of text within a _____ section to avoid inadvertently inserting a character that would be misinterpreted by an XML processor (such as the ampersand symbol).

A) baseline
B) header
C) CDATA
D) pcdata
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
70
Ryan has heard that an XML document must be well-formed.Which of the following is NOT a characteristic of a well-formed document?

A) It contains no syntax errors.
B) It has a prolog, body, and epilog.
C) It includes an XML declaration.
D) It satisfies the rules of its DTD or schema.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
71
Most ____________________ feeds contain just links, headlines, or brief synopses of new information.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
72
A(n)____________________ provides information about the rules used in the XML document's vocabulary.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
73
_____ is the style sheet standard developed for use with HTML on the Web.

A) XSL
B) XSM
C) CSS
D) MSXML
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
74
After declaring a default namespace, any ____________________ element or attribute is then considered part of this namespace unless a different namespace is declared within one of the child elements.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
75
You tell Teddy about an important XML vocabulary called RSS.What is this vocabulary used for?

A) describing recreation and sports events
B) distributing news articles or other changing content to subscribers
C) describing recipes and menu items
D) editing interactive audiovisual presentations
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
76
If an XML document is part of a vocabulary which has a defined DTD or schema, it also needs to be tested to ensure that it satisfies the ____________________ of that vocabulary.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
77
____________________ can be thought of as a lightweight version of SGML.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
78
Ryan asks you about the roots of XML.Which of the following is NOT a characteristic of SGML?

A) It is device-independent and system-independent.
B) It is the chosen vehicle for creating structured documents in businesses and government organizations of all sizes.
C) It is an easy language to learn and to apply because of its power, scope, and flexibility.
D) It provides tools to manage enormous projects.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
79
The orange highlighted item in the accompanying figure is an XML ____________________.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
80
Empty element tags are entered using a(n)____________________ tag.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 100 flashcards in this deck.