XML Quiz Results
Score: 11 of 25
44% Correct:
Question 1:
What does XML stand for?
Example Markup Language Your answer
eXtra Modern Link
eXtensible Markup Language Correct answer
X-Markup Language
Question 2:
There is a way of describing XML data, how?
XML uses a DTD to describe the data Your answer
XML uses a description node to describe data
XML uses XSL to describe data
Question 3:
XML's goal is to replace HTML
True Your answer
False Correct answer
Question 4:
What is the correct syntax of the declaration which defines the XML version?
<?xml version="1.0" /> Your answer
<xml version="1.0" />
<?xml version="1.0"?> Correct answer
Question 5:
What does DTD stand for?
Document Type Definition Your answer
Direct Type Definition
Dynamic Type Definition
Do The Dance
Question 6:
Is this a "well formed" XML document?
<?xml version="1.0"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
Yes Your answer
No
Question 7:
Is this a "well formed" XML document?
<?xml version="1.0"?>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
No Your answer
Yes
Question 8:
Which statement is true?
All the statements are true Your answer
All XML elements must be lower case
All XML elements must be properly closed Correct answer
All XML documents must have a DTD
Question 9:
Which statement is NOT true?
White-space is not preserved in XML Your answer
XML tags are case sensitive
XML elements must be properly nested
XML documents must have a root tag
Question 10:
XML preserves white spaces
True Your answer
False
Question 11:
Is this a "well formed" XML document?
<?xml version="1.0"?>
<note>
<to age="29">Tove</to>
<from>Jani</from>
</note>
No Your answer
Yes Correct answer
Question 12:
Is this a "well formed" XML document?
<?xml version="1.0"?>
<note>
<to age=29>Tove</to>
<from>Jani</from>
</note>
Yes Your answer
No Correct answer
Question 13:
XML elements cannot be empty
True Your answer
False Correct answer
Question 14:
Which is not a correct name for an XML element?
<Note> Your answer
<1dollar> Correct answer
All 3 names are incorrect
<h1>
Question 15:
Which is not a correct name for an XML element?
<NAME> Your answer
<first name> Correct answer
<age>
All 3 names are incorrect
Question 16:
Which is a correct name for an XML element?
<7eleven> Your answer
<xmldocument>
<phone number>
<Name> Correct answer
Question 17:
XML attribute values must always be enclosed in quotes
True Your answer
False
Question 18:
What does XSL stand for?
eXtensible Stylesheet Language Your answer
eXtensible Style Listing
eXtra Style Language
eXpandable Style Language
Question 19:
What is a correct way of referring to a stylesheet called "mystyle.xsl" ?
<?xml-stylesheet type="text/xsl" href="mystyle.xsl" ?> Your answer
<link type="text/xsl" href="mystyle.xsl" />
<stylesheet type="text/xsl" href="mystyle.xsl" />
Question 20:
For the XML parser to ignore a certain section of your XML document, which
syntax is correct?
<![CDATA[ Text to be ignored ]]> Your answer
<PCDATA> Text to be ignored </PCDATA>
<xml:CDATA[ Text to be ignored ]>
<CDATA> Text to be ignored </CDATA>
Question 21:
Which statement is true?
Attributes must occur in defined order Your answer
None of the statements are true Correct answer
Both statements are true
Attributes must always be present
Question 22:
What are XML entities used for?
Entities define shortcuts to standard elements Your answer
Entities define shortcuts to standard attributes
Entities define shortcuts to standard text or special characters Correct
answer
Question 23:
Which of the following XML fragments is well-formed?
<customer id=3456><name>John Smith</name></customer> Your
answer
<customer id="3456"><address/><zip code="3456"/></customer> Correct
answer
Question 24:
What is an XML instance?
An XML attribute Your answer
An XML element
An XML document Correct answer
Question 25:
Which XML DOM object represents a node in the node tree?
The node object Your answer
The nodeList object
The document objec