22
These Questions are copied from http://www.w3schools.com

These Questions are copied from

Embed Size (px)

Citation preview

Page 1: These Questions are copied from

These Questions are copied fromhttp://www.w3schools.com

Page 2: These Questions are copied from

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

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

3. XML's goal is to replace HTML

a) False b) True

Page 5: These Questions are copied from

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

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

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

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

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

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

10. XML preserves white spaces

a) False b) True

Page 12: These Questions are copied from

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

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

13. XML elements cannot be empty

a) False b) True

Page 15: These Questions are copied from

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

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

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

17. XML attribute values must always be enclosed in quotes

a) True b) False

Page 19: These Questions are copied from

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

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

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