XML Test For Beginners! Trivia Quiz

72 Questions | Total Attempts: 1986

SettingsSettingsSettings
Please wait...
XML Test For Beginners! Trivia Quiz

XML(Extensible Markup Language) is a markup language similar to HTML, including markup symbols to relate a page and developed by World Wide Web Consortium. XML tags identify, store and organize the data. This trivia quiz has been created for beginners and learners to know the XML's basic coding and functions.


Questions and Answers
  • 1. 
    XML is more advantageous to use than a fixed-length database system because:
    • A. 

      Todays computers are faster than they have been in years past.

    • B. 

      It saves money by reducing IT expenses.

    • C. 

      Those without an IT background can easily understand XML.

    • D. 

      All of the above.

  • 2. 
    SAX is
    • A. 

      A fixed-length database system

    • B. 

      An XML database system

    • C. 

      A variable-length database system

    • D. 

      An XML parser

  • 3. 
    PCDATA is
    • A. 

      An XML element that contains other XML elements

    • B. 

      An XML element that contains parsed character data

    • C. 

      An XML element thats used to define data for use only on a PC

    • D. 

      None of the above

  • 4. 
    You must use a parser to read an XML document.
    • A. 

      True

    • B. 

      False

  • 5. 
    XML stores data in fixed lengths.
    • A. 

      True

    • B. 

      False

  • 6. 
    XML is a subset of:
    • A. 

      SGML

    • B. 

      HTML

    • C. 

      MGL

    • D. 

      None of the above

  • 7. 
    XML is used for web services.
    • A. 

      True

    • B. 

      False

  • 8. 
    An XML element can contain other XML elements.
    • A. 

      True

    • B. 

      False

  • 9. 
    A parent element cannot contain another parent element.
    • A. 

      True

    • B. 

      False

  • 10. 
    An attribute contains a
    • A. 

      Name/value pair

    • B. 

      Value/name pair

    • C. 

      The data section of the XML document

    • D. 

      None of the above

  • 11. 
    The asterisk at the end of an element name in a DTD means its:
    • A. 

      The end of the list of elements

    • B. 

      The beginning of the list of elements

    • C. 

      The DTD contains zero to many of this element

    • D. 

      The DTD contains this element and fewer elements

  • 12. 
    The DOCTYPE is used to:
    • A. 

      Create the CDATA section of an XML document

    • B. 

      Create an XML document

    • C. 

      Identify the DTD for an XML document

    • D. 

      Identify the parser that is used to parse the XML document

  • 13. 
    All XML markup tags must have an attribute.
    • A. 

      True

    • B. 

      False

  • 14. 
    Special symbols can be inserted into an XML document using:
    • A. 

      CDATA

    • B. 

      A UNICODE value

    • C. 

      An attribute

    • D. 

      A comment

  • 15. 
    An XML document must contain all elements declared in the DTD.
    • A. 

      True

    • B. 

      False

  • 16. 
    #PCDATA refers to
    • A. 

      Parsed charter data

    • B. 

      Program character data

    • C. 

      Parsed character data

    • D. 

      None of the above

  • 17. 
    An image tag is an example of an EMPTY element.
    • A. 

      True

    • B. 

      False

  • 18. 
    All XML markup tags must have an attribute.
    • A. 

      True

    • B. 

      False

  • 19. 
    An element name can begin with
    • A. 

      A colon

    • B. 

      An underscore

    • C. 

      Letters

    • D. 

      All of the above

  • 20. 
    You cannot set valid options when declaring an attribute.
    • A. 

      True

    • B. 

      False

  • 21. 
    An XML schema is used to define a complex type. An XML schema is used to define a complex type.
    • A. 

      True

    • B. 

      False

  • 22. 
    Type=fiintegerfl means
    • A. 

      The content of an element is the word integer.

    • B. 

      All types except integers can be used in the corresponding element.

    • C. 

      Only integers can be used in the corresponding element.

    • D. 

      None of the above.

  • 23. 
    Xmlns:xs=fihttp://www.w3.org/2001/XMLSchemafl is used to:
    • A. 

      Identify ownership of the XML schema

    • B. 

      Identify ownership of the XML document

    • C. 

      Identify the XML schema specifications used in the XML schema

    • D. 

      Identify that this is an XML schema

  • 24. 
    The xs:sequence tag
    • A. 

      Specifies the sequence in which elements must appear in an XML document

    • B. 

      Specifies the sequence in which elements must appear in an XML schema

    • C. 

      Specifies the sequence in which attributes must appear in an XML document

    • D. 

      Specifies the sequence in which attributes must appear in an XML schema

  • 25. 
    Xsi:schemaLocation=ficustomers.xsdfl is used to
    • A. 

      Identify the owner of the XML document

    • B. 

      Identify the owner of the XML schema

    • C. 

      Identify the location of the XML document

    • D. 

      Identify the location of the XML schema

Back to Top Back to top