XML

XML

Test your XML knowledge with free quizzes on MyCodeSkills covering core concepts.


  1. What does XML stand for?

    • Extensible Markup Language
    • Extra Modern Language
    • Example Markup Language
    • Extended Modern Language
  2. Which symbol is used to enclose XML tags?

    • {}
    • <>
    • []
    • ()
  3. What is the main purpose of XML?

    • Display data
    • Store and transport data
    • Design websites
    • Compress files
  4. Which of the following is a correct XML element?

    • <1name>
    • <name>
    • <Name/>
    • <name> and <Name/>
  5. What is required at the start of an XML document?

    • XML Schema
    • XML Declaration
    • DOCTYPE
    • Nothing
  6. What is the purpose of a DTD in XML?

    • Styling
    • Validating XML structure
    • Compressing XML
    • Converting XML to JSON
  7. Which is NOT a type of XML schema?

    • DTD
    • XSD
    • JSON
    • RELAX NG
  8. In XML, namespaces help to

    • Avoid element name conflicts
    • Increase file size
    • Reduce encoding
    • Remove tags
  9. Which character is used to define namespaces in XML?

    • @
    • :
    • #
    • $
  10. What does XSD stand for?

    • XML Simple Document
    • XML Schema Definition
    • XML Style Document
    • XML Structured Data
  11. What does StAX stand for?

    • Streaming API for XML
    • Structured API for XML
    • Simple API for XML
    • Sequential API for XML
  12. Which parser allows both cursor and event-based parsing?

    • DOM
    • StAX
    • SAX
    • JSON Parser
  13. Which is more suitable for huge XML transformations?

    • DOM
    • SAX
    • StAX
    • XSLT Streaming
  14. In XSD, xs:complexType defines

    • Simple elements
    • Elements with attributes/child elements
    • Namespace
    • Encoding
  15. XML Digital Signatures are used for

    • Styling
    • Authenticating data
    • Formatting
    • Parsing