100% found this document useful (3 votes)
13K views

Question

The document contains 20 multiple choice questions about XML concepts such as the definition of XML, how XML describes data using DTDs, XML syntax rules, and XML elements and attributes. It tests knowledge of what makes a well-formed XML document, XML element and attribute naming rules, how XML preserves whitespace, and how to link to external stylesheets and ignore document sections using CDATA.

Uploaded by

Vj Sudhan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
100% found this document useful (3 votes)
13K views

Question

The document contains 20 multiple choice questions about XML concepts such as the definition of XML, how XML describes data using DTDs, XML syntax rules, and XML elements and attributes. It tests knowledge of what makes a well-formed XML document, XML element and attribute naming rules, how XML preserves whitespace, and how to link to external stylesheets and ignore document sections using CDATA.

Uploaded by

Vj Sudhan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

1.

What does XML stand for?

X-Markup Language eXtra Modern Link eXtensible Markup Language Example Markup Language 2. There is a way of describing XML data, how?

XML uses XSL to describe data XML uses a description node to describe data XML uses a DTD to describe the data 3. True False 4. What is the correct syntax of the declaration which defines the XML version? XML's goal is to replace HTML

<xml version="1.0" /> <?xml version="1.0"?> <?xml version="1.0" /> 5. What does DTD stand for?

Dynamic Type Definition Do The Dance Direct Type Definition

Document Type Definition

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> No Yes 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 Yes 8. Which statement is true?

All XML elements must be lower case All the statements are true All XML elements must be properly closed All XML documents must have a DTD

9.

Which statement is true?

All the statements are true XML documents must have a root tag XML elements must be properly nested XML tags are case sensitive

10. True False 11.

XML preserves white spaces

Is this a "well formed" XML document?

<?xml version="1.0"?> <note> <to age="29">Tove</to> <from>Jani</from> </note> No Yes 12. Is this a "well formed" XML document?

<?xml version="1.0"?> <note> <to age=29>Tove</to> <from>Jani</from> </note> Yes No 13. XML elements cannot be empty

False True

14.

Which is not a correct name for an XML element?

<1dollar> <Note> All 3 names are incorrect <h1>

15.

Which is not a correct name for an XML element?

All 3 names are incorrect <first name> <NAME> <age> 16. Which is not a correct name for an XML element?

<7eleven> <phone number> <xmldocument> All 3 names are incorrect

17. False True 18.

XML attribute values must always be enclosed in quotes

What does XSL stand for?

eXpandable Style Language eXtensible Stylesheet Language eXtensible Style Listing eXtra Style Language

19.

What is a correct way of referring to a stylesheet called "mystyle.xsl" ?

<link type="text/xsl" href="mystyle.xsl" /> <?xml-stylesheet type="text/xsl" href="mystyle.xsl" ?> <stylesheet type="text/xsl" href="mystyle.xsl" />

Total 20 questions

Time spent 2:51

20. For the XML parser to ignore a certain section of your XML document, which syntax is correct? <xml:CDATA[ Text to be ignored ]> <PCDATA> Text to be ignored </PCDATA> <![CDATA[ Text to be ignored ]]>

<CDATA> Text to be ignored </CDATA>

You might also like