Trivia Quiz On XML Test For Beginners!

73 Questions | Total Attempts: 1739

SettingsSettingsSettings
Please wait...
XML Quizzes & Trivia

XML(Extensible Markup Language) is a markup language similar to HTML which includes 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 their knowledge about basic coding and functions of XML. Read the questions carefully and answers. So, let's try out the quiz. All the best!


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. 
    The Document Object Model
    • A. 

      Defines the layout of an XML document

    • B. 

      Defines XML elements that are used in an XML document

    • C. 

      Is an XML parser

    • D. 

      Is an XML document that contains labels, buttons, and other Graphical User Interface objects

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

      True

    • B. 

      False

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

      True

    • B. 

      False

  • 7. 
    XML is a subset of
    • A. 

      SGML

    • B. 

      HTML

    • C. 

      MGL

    • D. 

      None of the above

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

      True

    • B. 

      False

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

      True

    • B. 

      False

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

      True

    • B. 

      False

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

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

  • 13. 
    What does the parser do with the CDATA section of an XML document?
    • A. 

      Ignores it

    • B. 

      Passes the data to the application that uses the XML document without any translation or interpretation

    • C. 

      Deletes the data before passing the XML document to the application that uses the XML document

    • D. 

      None of the above

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

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

      True

    • B. 

      False

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

      CDATA

    • B. 

      A UNICODE value

    • C. 

      An attribute

    • D. 

      A comment

  • 17. 
    You avoid conflict between an XML special character and information in an XML document by using a comment.
    • A. 

      True

    • B. 

      False

  • 18. 
    A processing command is removed from an XML document before the XML document is passed along to the application that uses the XML document.
    • A. 

      True

    • B. 

      False False False False False

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

      True

    • B. 

      False

  • 20. 
    #PCDATA refers to
    • A. 

      Parsed charter data

    • B. 

      Program character data

    • C. 

      Parsed character data

    • D. 

      None of the above

  • 21. 
    What is address, phone in the declaration ?
    • A. 

      A group

    • B. 

      The value of address and phone is concatenated.

    • C. 

      The value of email is concatenated to the value of address and phone.

    • D. 

      The value of email is concatenated to the value of phone.

  • 22. 
    What is this: ?
    • A. 

      A reference to the internal DTD called phone.dtd

    • B. 

      A reference to the phone system

    • C. 

      References a shared DTD

    • D. 

      References the phone.dtd XML document

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

      True

    • B. 

      False

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

      True

    • B. 

      False

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

      A colon

    • B. 

      An underscore

    • C. 

      Letters

    • D. 

      All of the above