Deck 15: Xml

Full screen (f)
exit full mode
Question
A DTD is typically used to ________ an XML document.

A) display
B) validate
C) compile
D) parse
Use Space or
up arrow
down arrow
to flip the card.
Question
Which of the following applications can render MathML ________

A) LaTeX
B) Amaya
C) Python
D) Apache
Question
In the DOM, a document's elements are organized in a _________ structure.

A) tree
B) list
C) graph
D) set
Question
Which of the following is a valid XML comment

A) < !-- comment >
B) < !-- comment --! >
C) < -- comment -- >
D) < !-- comment -- >
Question
The _______ symbol selects any element node.

A) asterisk ( * )
B) at-sign ( @ )
C) hyphen ( - )
D) slash ( / )
Question
________, a widely supported open technology for data exchange, was developed by ________.

A) SGML, The Mozilla Foundation
B) XML, the W3C
C) HTML5, the W3C
D) XML, The Mozilla Foundation
Question
In the following XML markup, one is a(n) ________ element of two.
< three >
< two >some data< /two >
< one >some other data< /two >
< /three >

A) parent
B) child
C) root
D) sibling
Question
Which of the following is not an advantage of XML

A) It is portable and widely supported.
B) It is faster to parse than any other data exchange format.
C) It can be used to create customized markup for any type of information.
D) It is understandable by both humans and computers.
Question
Which of the following is not found in XML documents

A) variables
B) root element
C) data
D) elements
Question
Which of the following is true of simple types in an XML schema

A) they can have attributes but not child elements.
B) they can have neither attributes nor child elements
C) they cannot be contained by complex elements
D) they can have attributes and child elements
Question
The !ATTLIST element declaration in a DTD defines a(n) ________.

A) attribute
B) element
C) tag
D) #IMPLIED
Question
MathML content can be embedded into HTML files by using a(n) ________ element.

A) mathml
B) math
C) xml
D) xmlmath
Question
Document type definition files define the ________ for an XML document.

A) size and encoding
B) margins
C) structural rules
D) rendering instructions
Question
The XML document being transformed is called the ________ tree.

A) output
B) primary
C) result
D) source
Question
Unlike DTD's, schemas use ________.

A) ATTLIST declarations
B) Extended Backus-Naur Form
C) XML notation
D) ELEMENT declarations
Question
Attempting to create namespace prefix ________ in any mixture of cases is an error.

A) xml
B) urn
C) text
D) xsl
Question
The ________ element contains all other elements in the document.

A) root
B) prolog
C) epilog
D) XML
Question
Which of the following is not a property of a DOM node

A) nodeType
B) nodeName
C) attribute
D) lastChild
Question
To eliminate the need to place namespace prefixes in each element, document authors may specify a(n) ________ for an element and that element's children.

A) element
B) attribute
C) keyword
D) default namespace
Question
Which of the following is true of simple content in an XML schema

A) it can have attributes but not child elements.
B) it can have neither attributes nor child elements
C) it cannot be contained by complex elements
D) it can have attributes and child elements
Question
Which of the following is not a property or method of a DOM Document

A) documentElement
B) length
C) getElementByTagName
D) firstChild
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/21
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 15: Xml
1
A DTD is typically used to ________ an XML document.

A) display
B) validate
C) compile
D) parse
B
2
Which of the following applications can render MathML ________

A) LaTeX
B) Amaya
C) Python
D) Apache
B
3
In the DOM, a document's elements are organized in a _________ structure.

A) tree
B) list
C) graph
D) set
A
4
Which of the following is a valid XML comment

A) < !-- comment >
B) < !-- comment --! >
C) < -- comment -- >
D) < !-- comment -- >
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
5
The _______ symbol selects any element node.

A) asterisk ( * )
B) at-sign ( @ )
C) hyphen ( - )
D) slash ( / )
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
6
________, a widely supported open technology for data exchange, was developed by ________.

A) SGML, The Mozilla Foundation
B) XML, the W3C
C) HTML5, the W3C
D) XML, The Mozilla Foundation
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
7
In the following XML markup, one is a(n) ________ element of two.
< three >
< two >some data< /two >
< one >some other data< /two >
< /three >

A) parent
B) child
C) root
D) sibling
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following is not an advantage of XML

A) It is portable and widely supported.
B) It is faster to parse than any other data exchange format.
C) It can be used to create customized markup for any type of information.
D) It is understandable by both humans and computers.
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following is not found in XML documents

A) variables
B) root element
C) data
D) elements
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following is true of simple types in an XML schema

A) they can have attributes but not child elements.
B) they can have neither attributes nor child elements
C) they cannot be contained by complex elements
D) they can have attributes and child elements
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
11
The !ATTLIST element declaration in a DTD defines a(n) ________.

A) attribute
B) element
C) tag
D) #IMPLIED
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
12
MathML content can be embedded into HTML files by using a(n) ________ element.

A) mathml
B) math
C) xml
D) xmlmath
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
13
Document type definition files define the ________ for an XML document.

A) size and encoding
B) margins
C) structural rules
D) rendering instructions
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
14
The XML document being transformed is called the ________ tree.

A) output
B) primary
C) result
D) source
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
15
Unlike DTD's, schemas use ________.

A) ATTLIST declarations
B) Extended Backus-Naur Form
C) XML notation
D) ELEMENT declarations
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
16
Attempting to create namespace prefix ________ in any mixture of cases is an error.

A) xml
B) urn
C) text
D) xsl
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
17
The ________ element contains all other elements in the document.

A) root
B) prolog
C) epilog
D) XML
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following is not a property of a DOM node

A) nodeType
B) nodeName
C) attribute
D) lastChild
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
19
To eliminate the need to place namespace prefixes in each element, document authors may specify a(n) ________ for an element and that element's children.

A) element
B) attribute
C) keyword
D) default namespace
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following is true of simple content in an XML schema

A) it can have attributes but not child elements.
B) it can have neither attributes nor child elements
C) it cannot be contained by complex elements
D) it can have attributes and child elements
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
21
Which of the following is not a property or method of a DOM Document

A) documentElement
B) length
C) getElementByTagName
D) firstChild
Unlock Deck
Unlock for access to all 21 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 21 flashcards in this deck.