CORRECT Answers
A - CORRECT ANSWER - 1. What is XML?
a. Extensible Markup Language
b. Extra Modern Link
c. Example markup Language
d. X-Markup Language
D - CORRECT ANSWER - 2. Which Statement about xml is true?
a. Elements may have multiple attribute with the same name
b. Quoting attribute is optional.
c. Elements may nest but not overlap
d. All of the above.
D - CORRECT ANSWER - 3. What is the correct declaration syntax for the version of an
XML document?
a. </xml version="1.0"/>
b. <? xml version="1.0"/?>
c. <xml version="1.0">
d. <?xml version="1.0" ?>
e. none of the above
C - CORRECT ANSWER - 4. How is an empty XML element defined?
a. <sample></sample>
b. <sample/>
c. All of the above.
d. None of the above.
,C - CORRECT ANSWER - 5. Which syntax is used to insert comments into an XML
document?
a. <comment>This is a comment</comment>
b. <?-This is a comment->
c. <!-This is a comment->
d. All of the above.
B - CORRECT ANSWER - 6. What does DTD stand for?
a. Dynamic Type Definition.
b. Document Type Definition.
c. Do The Dance.
d. Direct Type Definition.
C - CORRECT ANSWER - 7. Which statement is true?
a. All XML documents must have a DTD.
b. All XML elements must be lower case.
c. All XML elements must be properly closed.
d. All of the above.
8. Which statement is true?
a. XML tags are case sensitive.
b. XML documents must have a root tag.
c. XML elements must be properly closed.
d. All of the above.
D - CORRECT ANSWER - 9. Which is not a correct name for an XML documents?
a. <Note>
b. <h1>
,c. <1dollar>
d. All 3 names are incorrect.
C - CORRECT ANSWER - 10. Which is not a correct name for an XML element?
a. <age>
b. <NAME>
c. <first name>
d. All three names are incorrect.
D - CORRECT ANSWER - 11. What does XSL stand for?
a. eXtra Style Language
b. eXpandable Style Language
c. eXtensible Style Listing
d. eXtensible Stylesheet Language
B - CORRECT ANSWER - 12. What is a correct way of referring to a stylesheet called
"mystyle.xsl"?
a. <link type="text/xsl" href="mystyle.xsl" />
b. <?xml-stylesheet type="text/xsl" href="mystyle.xsl"?>
c. <stylesheet type="text/xsl" href="mystyle.xsl" />
d. All of the above
B - CORRECT ANSWER - 13. For the XML parser to ignore a certain section of your
XML document, which syntax is correct?
a. <CDATA> Text to be ignored </CDATA>
b. <![CDATA[ Text to be ignored ]]>
c. <PCDATA> Text to be ignored </PCDATA>
d. <xml:CDATA[ Text to be ignored ]>
, C - CORRECT ANSWER - 14. XML is a _______ Recommendation
a. Microsoft
b. Sun
c. W3C
d. None of these
A - CORRECT ANSWER - 15. XML is
a. Free and Extensible
b. Not Extensible.
c. A stylesheet
d. None of these
B - CORRECT ANSWER - 16. XML is a Complement to
a. XHTML.
b. HTML
c. Xquery
d. Xpath
A - CORRECT ANSWER - 17. XML Schema is designed to
a. be self-descriptive
b. display only useful data
c. carrying request
d. giving response.
A - CORRECT ANSWER - 18. XML uses
a. an XML Schema to describe the data
b. an XHTML Schema to describe the data