these questions are copied from
TRANSCRIPT
![Page 1: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/1.jpg)
These Questions are copied fromhttp://www.w3schools.com
![Page 2: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/2.jpg)
XML QUIZ http://www.w3schools.com
1. What does XML stand for?
a) eXtensible Markup Language
b) eXtra Modern Link c) Example Markup
Language d) X-Markup Language
![Page 3: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/3.jpg)
2. There is a way of describing XML data, how?
a) XML uses XSL to describe data
b) XML uses a DTD to describe the data
c) XML uses a description node to describe data
![Page 4: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/4.jpg)
3. XML's goal is to replace HTML
a) False b) True
![Page 5: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/5.jpg)
4. What is the correct syntax of the declaration which defines the XML version?
a) <?xml version="1.0" /> b) <xml version="1.0" /> c) <?xml version="1.0"?>
![Page 6: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/6.jpg)
5. What does DTD stand for?
a) Document Type Definition b) Dynamic Type Definition c) Direct Type Definition d) Do The Dance
![Page 7: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/7.jpg)
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>
a) Yes b) No
![Page 8: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/8.jpg)
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>
a) No b) Yes
![Page 9: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/9.jpg)
8. Which statement is true?
a) All XML documents must have a DTD
b) All the statements are true
c) All XML elements must be properly closed
d) All XML elements must be lower case
![Page 10: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/10.jpg)
XML QUIZ http://www.w3schools.com
9. Which statement is true?
a) XML tags are case sensitive
b) XML documents must have a root tag
c) All the statements are true
d) XML elements must be properly nested
![Page 11: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/11.jpg)
10. XML preserves white spaces
a) False b) True
![Page 12: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/12.jpg)
11. Is this a "well formed" XML document?
<?xml version="1.0"?><note><to age="29">Tove</to><from>Jani</from></note>
a) Yes b) No
![Page 13: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/13.jpg)
12. Is this a "well formed" XML document?
<?xml version="1.0"?><note><to age=29>Tove</to><from>Jani</from></note>
a) Yes b) No
![Page 14: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/14.jpg)
13. XML elements cannot be empty
a) False b) True
![Page 15: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/15.jpg)
14. Which is not a correct name for an XML element?
a) All 3 names are incorrect b) <1dollar> c) <h1> d) <Note>
![Page 16: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/16.jpg)
15. Which is not a correct name for an XML element?
a) <NAME> b) All 3 names are incorrect c) <age> d) <first name>
![Page 17: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/17.jpg)
16. Which is not a correct name for an XML element?
a) <7eleven> b) All 3 names are incorrect c) <xmldocument> d) <phone number>
![Page 18: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/18.jpg)
17. XML attribute values must always be enclosed in quotes
a) True b) False
![Page 19: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/19.jpg)
18. What does XSL stand for?
a) eXtensible Style Listing b) eXpandable Style
Language c) eXtensible Stylesheet
Language d) eXtra Style Language
![Page 20: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/20.jpg)
19. What is a correct way of referring to a stylesheet called "mystyle.xsl" ?
a) <stylesheet type="text/xsl" href="mystyle.xsl" /> b) <link type="text/xsl" href="mystyle.xsl" /> c) <?xml-stylesheet type="text/xsl" href="mystyle.xsl"
?>
![Page 21: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/21.jpg)
20. 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) <xml:CDATA[ Text to be ignored ]> c) <PCDATA> Text to be ignored </PCDATA> d) <![CDATA[ Text to be ignored ]]>
![Page 22: These Questions are copied from](https://reader036.vdocuments.pub/reader036/viewer/2022081511/56649e885503460f94b8d4fe/html5/thumbnails/22.jpg)