XML - Quiz Final

20 Questions | Total Attempts: 968

SettingsSettingsSettings
Please wait...
XML Quizzes & Trivia

This is a quiz for all the programmers and nerds out there. If you want to test your knowledge on this particular bunch of programming language facts take this quiz and find out how vast your knowledge is.


Questions and Answers
  • 1. 
    In order to indicate to an application processing the style sheet to look for <All> tags followed by<Perfect> tags the syntax is:
    • A. 

      None of the above

    • B. 

      All:Perfect

    • C. 

      All,Perfect

    • D. 

      All.Perfect

  • 2. 
    Logical structure of data can be interpreted and used in many ways by various applications due to XML tags
    • A. 

      False

    • B. 

      True

  • 3. 
    End of a CDATA block is characterized by the character string
    • A. 

      ':'

    • B. 

      ' '

    • C. 

      ';'

    • D. 

      ']]'

  • 4. 
    Syntax for declaring an external DTD to an XML document is:
    • A. 

    • B. 

    • C. 

      (?DOCTYPE N1 SYSTEM "show.dtd"?)

    • D. 

  • 5. 
    Writing an Internal DTD inside a DOCTYPE is known as:
    • A. 

      Declaration

    • B. 

      Wrapping

    • C. 

      Sequencing

  • 6. 
    <?xml version="1.0"?> <script> <!CDATA function matchwo(a,b) { if (a < b && a < 0) then    {    return 1    } } >  </script> The above code [http://tr.im/Eodt - code 1]:
    • A. 

      A) Generates an error

    • B. 

      B) Executes without any error

  • 7. 
    (eval|eval|___) the following value indicates that
    • A. 

      A) The value is the name of a notation.

    • B. 

      B) The value is a list of entities

    • C. 

      C) The value is a character data.

    • D. 

      D) None of the above.

  • 8. 
    <!ELEMENT Circle EMPTY>   <!ATTLIST Circle radius CDATA "20">   The following code indicates that the circle is defined as an empty element,with the radius attribute having a default value of 20 and type CDATA.
    • A. 

      A) False

    • B. 

      B) True

  • 9. 
    XML vocabulary is used for specifying formatting semantics.
    • A. 

      A) False

    • B. 

      B) True

  • 10. 
    Identify the correct statements (choose two)
    • A. 

      A) XSL is an extension of HTML.

    • B. 

      B) CSS is an extension of HTML

    • C. 

      C) CSS is an extension of XML.

    • D. 

      D) XSL is an extension of XML

  • 11. 
    It is possible to have a property with multiple values
    • A. 

      A) False

    • B. 

      B) True

  • 12. 
    Selectors helping us to differentiate between different occurrences of a tag are termed as
    • A. 

      A) Multiple Selectors

    • B. 

      B) Contextual Selectors

    • C. 

      C) Simple selectors

  • 13. 
    HTML linking is one to one and is hardcoded in the HTML file. This indicates that HTML has a robust linking mechanism which is an advantage of using HTML
    • A. 

      A) True

    • B. 

      B) False

  • 14. 
    S{margin-right:-3cm;}             Is the above statement valid?
    • A. 

      A) Yes

    • B. 

      B) No

  • 15. 
    The element 'Schema' is declared in DTD as having three child elements, which are: (choose three)
    • A. 

      A) Datatype

    • B. 

      B) ElementType

    • C. 

      C) description

    • D. 

      D) AttributeType

    • E. 

      E) archtype

  • 16. 
    XSLT and CSS are compatible standards.
    • A. 

      A) False

    • B. 

      B) True

  • 17. 
    The property 'nextSibling' in DOMDocument Object contains the next node of the previous nodes in the parent's child list.
    • A. 

      A) False

    • B. 

      B) True

  • 18. 
    The 'nextNode' method in the XMLDOMNodeLis Object returns a NULL value if there is no next node.
    • A. 

      A) False

    • B. 

      B) True

  • 19. 
    In DOM, it is not necessary that an object for a valid node type will always be returned.
    • A. 

      A) False

    • B. 

      B) True

  • 20. 
    In CSS, separation of multiple value combinations is by using a:
    • A. 

      A) Period (.)

    • B. 

      B) Semi-colon (;)

    • C. 

      C) Colon (:)

    • D. 

      D) Comma (,)