Deck 1: Creating an Xml Document

Full screen (f)
exit full mode
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.
Use Space or
up arrow
down arrow
to flip the card.
Question
A(n) compound document is an XML document composed of elements from other vocabularies or schemas.
Question
Documents written in SGML must be used on devices running the Unix operating system.
Question
Character data is not processed-it is treated as pure data content.
Question
A(n) DTD more precisely defines the structure of the data and specific data restrictions.
Question
XML is a markup language that can be extended and modified to match the needs of the author and the data content.
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
Any element in an XML document can contain no more than one attribute.
Question
Subscribers to a(n) CSS feed can receive periodic updates using a software program called a feed reader or an aggregator.
Question
The ISO/IEC character set is an international numbering system for referencing characters from virtually any language.
Question
The UTF-8 character set includes only the characters used in the English language.
Question
A(n) namespace is a defined collection of element and attribute names.
Question
The name in an element's closing tag must match the name in the opening tag.
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
SGML has been the chosen vehicle for creating structured documents in business and government organizations of all sizes.
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
The string ' is a(n) character reference for the apostrophe.
Question
A DTD defines the structure of the data and, very broadly, the types of data allowable.
Question
A CDATA section is a block of text that XML treats as word data only.
Question
<strong>  Shown in the accompanying figure, _____ was developed to code molecular information.</strong> A) CML B) CDF C) MML D) OFX <div style=padding-top: 35px>
Shown in the accompanying figure, _____ was developed to code molecular information.

A) CML
B) CDF
C) MML
D) OFX
Question
The standards for XML are developed and maintained by _____.

A) NASA
B) the NSF
C) the W3C
D) DARPA
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
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
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
XML has its roots in _____.

A) HTML
B) SGML
C) XHTML
D) Perl
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
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
A _____ document contains no syntax errors and satisfies the general specifications for XML code.

A) synthesized
B) compound
C) checked
D) well-formed
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
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
_____ is an XML vocabulary used for displaying and organizing musical notation and lyrics.

A) MML
B) RSS
C) SMIL
D) CML
Question
A CDATA section may contain most markup characters, such as _____, >, and &.

A) <
B) ?
C) *
D) #
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
<strong>  The accompanying figure shows a molecule described using a(n) _____ vocabulary.</strong> A) XML B) CDF C) MML D) OFX <div style=padding-top: 35px>
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
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
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
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
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
Parsed character data includes _____.

A) comments
B) empty element tags
C) processing instructions
D) All of the above.
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
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
<strong>  In the accompanying figure's tree diagram, all of the elements in the body are children of a single element called the _____ element.</strong> A) base B) fundamental C) root D) key <div style=padding-top: 35px>
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
Element names may not contain _____.

A) letters
B) the string "XML"
C) blank spaces
D) the underscore character
Question
The default version value for an XML declaration is _____.

A) 1.0
B) 1.1
C) 1.2
D) 2.0
Question
Make sure to end every entity reference with a(n) _____.

A) period
B) comma
C) apostrophe
D) semicolon
Question
An RSS file is written in _____.

A) SGML
B) HTML
C) XML
D) AML
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 default encoding scheme for an XML declaration is _____.

A) ISO-8859-1
B) UTF-8
C) Latin-1
D) DTD 2.0
Question
An open element is also known as a(n) _____ element.

A) null
B) void
C) empty
D) key
Question
Elements that are side-by-side in a document's hierarchy are _____ elements.

A) extended
B) extensible
C) sibling
D) familial
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 attribute value always must be enclosed within either single or double _____.

A) brackets
B) quotes
C) braces
D) parentheses
Question
Attribute values must be enclosed within _____.

A) ampersands  
B) carets
C) single or double quotes
D) colons
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
<strong>  In the tree diagram in the accompanying figure, the root element is the _____ element.</strong> A) products B) price C) description D) productItems <div style=padding-top: 35px>
In the tree diagram in the accompanying figure, the root element is the _____ element.

A) products
B) price
C) description
D) productItems
Question
An XML document consists of the _____, the document body, and the epilog.

A) grammar
B) index
C) prolog
D) chapter
Question
The first part of the prolog is the XML _____.

A) index
B) master
C) declaration
D) link
Question
Case 1-2 Clarisa is tracing through her XML code to find syntax errors.
Finally, Clarisa double-checks 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
Case 1-1 Ryan is new to the use of XML, so he has a lot of basic questions about the fundamentals, including some philosophical questions about the language.
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
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
_____ is the style sheet standard developed for use with HTML on the web.

A) XSL
B) XSM
C) CSS
D) MSXML
Question
Case 1-2 Clarisa is tracing through her XML code to find syntax errors.
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
Case 1-1 Ryan is new to the use of XML, so he has a lot of basic questions about the fundamentals, including some philosophical questions about the language.
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
Case 1-1 Ryan is new to the use of XML, so he has a lot of basic questions about the fundamentals, including some philosophical questions about the language.
You tell Ryan 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
A(n) _____ provides information about the rules used in the XML document's vocabulary.
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
Case 1-2 Clarisa is tracing through her XML code to find syntax errors.
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 are correct.
Question
_____ are the basic building blocks of XML files, containing the data to be stored in the document.
Question
Case 1-1 Ryan is new to the use of XML, so he has a lot of basic questions about the fundamentals, including some philosophical questions about the language.
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
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
Case 1-2 Clarisa is tracing through her XML code to find syntax errors.
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
Empty element tags are entered using a(n) _____ tag.
Question
Most _____ feeds contain just links, headlines, or brief synopses of new information.
Question
Case 1-1 Ryan is new to the use of XML, so he has a lot of basic questions about the fundamentals, including some philosophical questions about the language.
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
  The orange text in the accompanying figure is an XML _____.<div style=padding-top: 35px>
The orange text in the accompanying figure is an XML _____.
Question
Case 1-2 Clarisa is tracing through her XML code to find syntax errors.
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
_____ can be thought of as a lightweight version of SGML.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/91
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 1: Creating an Xml Document
1
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.
False
2
A(n) compound document is an XML document composed of elements from other vocabularies or schemas.
True
3
Documents written in SGML must be used on devices running the Unix operating system.
False
4
Character data is not processed-it is treated as pure data content.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
5
A(n) DTD more precisely defines the structure of the data and specific data restrictions.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
6
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 91 flashcards in this deck.
Unlock Deck
k this deck
7
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 91 flashcards in this deck.
Unlock Deck
k this deck
8
Any element in an XML document can contain no more than one attribute.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
9
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 91 flashcards in this deck.
Unlock Deck
k this deck
10
The ISO/IEC character set is an international numbering system for referencing characters from virtually any language.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
11
The UTF-8 character set includes only the characters used in the English language.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
12
A(n) namespace is a defined collection of element and attribute names.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
13
The name in an element's closing tag must match the name in the opening tag.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
14
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 91 flashcards in this deck.
Unlock Deck
k this deck
15
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 91 flashcards in this deck.
Unlock Deck
k this deck
16
Multiple processing instructions can exist within the same XML document for different media types.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
17
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 91 flashcards in this deck.
Unlock Deck
k this deck
18
The string ' is a(n) character reference for the apostrophe.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
19
A DTD defines the structure of the data and, very broadly, the types of data allowable.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
20
A CDATA section is a block of text that XML treats as word data only.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
21
<strong>  Shown in the accompanying figure, _____ was developed to code molecular information.</strong> A) CML B) CDF C) MML D) OFX
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 91 flashcards in this deck.
Unlock Deck
k this deck
22
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 91 flashcards in this deck.
Unlock Deck
k this deck
23
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 91 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 91 flashcards in this deck.
Unlock Deck
k this deck
25
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 91 flashcards in this deck.
Unlock Deck
k this deck
26
XML has its roots in _____.

A) HTML
B) SGML
C) XHTML
D) Perl
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
27
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 91 flashcards in this deck.
Unlock Deck
k this deck
28
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 91 flashcards in this deck.
Unlock Deck
k this deck
29
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 91 flashcards in this deck.
Unlock Deck
k this deck
30
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 91 flashcards in this deck.
Unlock Deck
k this deck
31
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 91 flashcards in this deck.
Unlock Deck
k this deck
32
_____ 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 91 flashcards in this deck.
Unlock Deck
k this deck
33
A CDATA section may contain most markup characters, such as _____, >, and &.

A) <
B) ?
C) *
D) #
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
34
_____ 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 91 flashcards in this deck.
Unlock Deck
k this deck
35
<strong>  The accompanying figure shows a molecule described using a(n) _____ vocabulary.</strong> A) XML B) CDF C) MML D) OFX
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 91 flashcards in this deck.
Unlock Deck
k this deck
36
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 91 flashcards in this deck.
Unlock Deck
k this deck
37
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 91 flashcards in this deck.
Unlock Deck
k this deck
38
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 91 flashcards in this deck.
Unlock Deck
k this deck
39
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 91 flashcards in this deck.
Unlock Deck
k this deck
40
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 91 flashcards in this deck.
Unlock Deck
k this deck
41
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 91 flashcards in this deck.
Unlock Deck
k this deck
42
_____ 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 91 flashcards in this deck.
Unlock Deck
k this deck
43
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 91 flashcards in this deck.
Unlock Deck
k this deck
44
<strong>  In the accompanying figure's tree diagram, all of the elements in the body are children of a single element called the _____ element.</strong> A) base B) fundamental C) root D) key
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 91 flashcards in this deck.
Unlock Deck
k this deck
45
Element names cannot begin with the letters "_____."

A) data
B) http
C) xml
D) xsl
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
46
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 91 flashcards in this deck.
Unlock Deck
k this deck
47
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 91 flashcards in this deck.
Unlock Deck
k this deck
48
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 91 flashcards in this deck.
Unlock Deck
k this deck
49
An RSS file is written in _____.

A) SGML
B) HTML
C) XML
D) AML
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
50
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 91 flashcards in this deck.
Unlock Deck
k this deck
51
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 91 flashcards in this deck.
Unlock Deck
k this deck
52
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 91 flashcards in this deck.
Unlock Deck
k this deck
53
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 91 flashcards in this deck.
Unlock Deck
k this deck
54
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 91 flashcards in this deck.
Unlock Deck
k this deck
55
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 91 flashcards in this deck.
Unlock Deck
k this deck
56
Attribute values must be enclosed within _____.

A) ampersands  
B) carets
C) single or double quotes
D) colons
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
57
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 91 flashcards in this deck.
Unlock Deck
k this deck
58
<strong>  In the tree diagram in the accompanying figure, the root element is the _____ element.</strong> A) products B) price C) description D) productItems
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 91 flashcards in this deck.
Unlock Deck
k this deck
59
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 91 flashcards in this deck.
Unlock Deck
k this deck
60
The first part of the prolog is the XML _____.

A) index
B) master
C) declaration
D) link
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
61
Case 1-2 Clarisa is tracing through her XML code to find syntax errors.
Finally, Clarisa double-checks 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 91 flashcards in this deck.
Unlock Deck
k this deck
62
Case 1-1 Ryan is new to the use of XML, so he has a lot of basic questions about the fundamentals, including some philosophical questions about the language.
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 91 flashcards in this deck.
Unlock Deck
k this deck
63
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 91 flashcards in this deck.
Unlock Deck
k this deck
64
_____ 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 91 flashcards in this deck.
Unlock Deck
k this deck
65
Case 1-2 Clarisa is tracing through her XML code to find syntax errors.
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 91 flashcards in this deck.
Unlock Deck
k this deck
66
Case 1-1 Ryan is new to the use of XML, so he has a lot of basic questions about the fundamentals, including some philosophical questions about the language.
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 91 flashcards in this deck.
Unlock Deck
k this deck
67
Case 1-1 Ryan is new to the use of XML, so he has a lot of basic questions about the fundamentals, including some philosophical questions about the language.
You tell Ryan 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 91 flashcards in this deck.
Unlock Deck
k this deck
68
A(n) _____ provides information about the rules used in the XML document's vocabulary.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
69
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 91 flashcards in this deck.
Unlock Deck
k this deck
70
Case 1-2 Clarisa is tracing through her XML code to find syntax errors.
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 are correct.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
71
_____ are the basic building blocks of XML files, containing the data to be stored in the document.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
72
Case 1-1 Ryan is new to the use of XML, so he has a lot of basic questions about the fundamentals, including some philosophical questions about the language.
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 91 flashcards in this deck.
Unlock Deck
k this deck
73
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 91 flashcards in this deck.
Unlock Deck
k this deck
74
Case 1-2 Clarisa is tracing through her XML code to find syntax errors.
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 91 flashcards in this deck.
Unlock Deck
k this deck
75
Empty element tags are entered using a(n) _____ tag.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
76
Most _____ feeds contain just links, headlines, or brief synopses of new information.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
77
Case 1-1 Ryan is new to the use of XML, so he has a lot of basic questions about the fundamentals, including some philosophical questions about the language.
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 91 flashcards in this deck.
Unlock Deck
k this deck
78
  The orange text in the accompanying figure is an XML _____.
The orange text in the accompanying figure is an XML _____.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
79
Case 1-2 Clarisa is tracing through her XML code to find syntax errors.
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 91 flashcards in this deck.
Unlock Deck
k this deck
80
_____ can be thought of as a lightweight version of SGML.
Unlock Deck
Unlock for access to all 91 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 91 flashcards in this deck.