International Interoperability Quiz - XML

27 Questions | Total Attempts: 52

SettingsSettingsSettings
Please wait...
International Interoperability Quiz - XML

Test your knowledge of XML and its related technologies.


Questions and Answers
  • 1. 
    XML: Content between elements may carry special characters
    • A. 

      Yes

    • B. 

      No

  • 2. 
    XML: Attributes may carry no value
    • A. 

      Yes

    • B. 

      No

  • 3. 
    XML: Closing tags need to carry a slash on an arbitrary position,eg "" or "".
    • A. 

      Yes

    • B. 

      No

  • 4. 
    XML: Each document starts with ""
    • A. 

      Yes

    • B. 

      No

  • 5. 
    Each document belongs to a maximum of one namespaces.
    • A. 

      Yes

    • B. 

      No

  • 6. 
    The attribute "xml:lang" defines the used encoding.
    • A. 

      Yes

    • B. 

      No

  • 7. 
    Cascading stylesheets are well-formed xml documents.
    • A. 

      Yes

    • B. 

      No

  • 8. 
    The following example is not a well formed XML document. Give the line number(s) of the invalid parts and explain the error.
  • 9. 
    Write a style sheet transformation that transforms an invoice given in the syntax you defined before into a copy of that invoice, but with one new element occurring directly after the unit price element. The content of total-price is the unit price multiplied with the quantity of that item (excluding of VAT). You can omit XSL namespace declaration andprefix for simplicity.
  • 10. 
    If there are two or more attributs in one starttag, as in exam as date and semester in "", their order can be
    • A. 

      Arbitrary within all exam tags

    • B. 

      Can be arbitrary, but have to be similiar

  • 11. 
    Write an XSD for the above listed XML file.
  • 12. 
    What does XML stand for?
    • A. 

      Extensible Markup Language

    • B. 

      Extra Modern Link

    • C. 

      Example Markup Language

    • D. 

      X-Markup Language

  • 13. 
    What is the correct declation syntax for the version of an XML document?
    • A. 

      \

    • B. 

      \

    • C. 

    • D. 

      None of the above

  • 14. 
    How is an empty XML element defined?
    • A. 

      \

    • B. 

      \

    • C. 

      All of the above.

    • D. 

      None of the above.

  • 15. 
    Which syntax is used to insert comments into an XML document?
    • A. 

      <comment>This is a comment </comment>

    • B. 

    • C. 

    • D. 

      All of the above.

  • 16. 
    What does DTD stand for?
    • A. 

      Dynamic Type Definition.

    • B. 

      Document Type Definition.

    • C. 

      Do The Dance.

    • D. 

      Direct Type Definition.

  • 17. 
    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.

  • 18. 
    Which is not a correct name for an XML document?
    • A. 

    • B. 

    • C. 

    • D. 

      All 3 names are incorrect.

  • 19. 
    Which is not a correct name for an XML element?
    • A. 

    • B. 

    • C. 

    • D. 

      All three names are incorrect.

  • 20. 
    What does XSL stand for?
    • A. 

      EXtra Style Language

    • B. 

      EXpandable Style Language

    • C. 

      EXtensible Style Listing

    • D. 

      EXtensible Stylesheet Language

  • 21. 
    For the XML parser to ignore a certain section of your XML document, which syntax is correct?
    • A. 

      Text to be ignored

    • B. 

    • C. 

      Text to be ignored

    • D. 

  • 22. 
    XML is a __________ Recommendation
    • A. 

      Microsoft

    • B. 

      Sun

    • C. 

      W3C

    • D. 

      None of these

  • 23. 
    XML is
    • A. 

      Free and Extensible

    • B. 

      Not Extensible

    • C. 

      A stylesheet

    • D. 

      None of these

  • 24. 
    XML is a Complement to
    • A. 

      XHTML

    • B. 

      HTML

    • C. 

      Xquery

    • D. 

      Xpath

  • 25. 
    XML Schema is designed to
    • A. 

      Be self-descriptive

    • B. 

      Display only useful data

    • C. 

      Carrying request

    • D. 

      Giving response

Back to Top Back to top