XML quiz questions

XML interview questions

  • 1.

    Which is not a correct name for an XML documents?

    1. <Note>

    2. <h1>

    3. <1dollar>

    4. All 3 names are incorrect.

    Answer
  • 2.

    Which statement is true?

    1. XML tags are case sensitive.

    2. XML documents must have a root tag.

    3. XML elements must be properly closed.

    4. All of the above.

    Answer
  • 3.

    Which statement is true?

    1. All XML documents must have a DTD.

    2. All XML elements must be lower case.

    3. All XML elements must be properly closed.

    4. All of the above.

    Answer
  • 4.

    What does DTD stand for?

    1. Dynamic Type Definition.

    2. Document Type Definition.

    3. Do The Dance.

    4. Direct Type Definition.

    Answer
  • 5.

    Which syntax is used to insert comments into an XML document?

    1. <comment>This is a comment</comment>

    2. <?-This is a comment->

    3. <!-This is a comment->

    4. All of the above.

    Answer
  • 6.

    How is an empty XML element defined?

    1. <sample></sample>

    2. <sample/>

    3. All of the above.

    4. None of the above.

    Answer
  • 7.

    What is the correct declation syntax for the version of an XML document?

    1. </xml version="1.0"/>

    2. <?xml version="1.0"/?>

    3. <xml version="1.0">

    4. none of the above

    Answer
  • 8.

    Which Statement about xml is true?

    1. Elements may have multiple atrribute with the same name

    2. Quoting attribute is optional.

    3. Elements may nest but not overlap

    4. All of the above.

    Answer
  • 9.

    Is this a "well formed" XML document? <?xml version="1.0"?> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body>

    1. YES

    2. NO

    Answer
  • 10.

    XML preserves white spaces

    1. True

    2. False

    Answer
  • 11.

    Which statement is true?

    1. XML documents must have a root tag

    2. XML elements must be properly nested

    3. XML tags are case sensitive

    4. All the statements are true

    Answer
  • 12.

    Which statement is true?

    1. All XML documents must have a DTD

    2. All XML elements must be lower case

    3. All XML elements must be properly closed

    4. All the statements are true

    Answer
  • 13.

    Is this a "well formed" XML document? Tove Jani Reminder Don't forget me this weekend!

    1. YES

    2. NO

    Answer
  • 14.

    What does DTD stand for?

    1. Direct Type Definition

    2. Dynamic Type Definition

    3. Document Type Definition

    Answer
  • 15.

    How XML describe data

    1. XML uses a DTD to describe the data

    2. XML uses a description node to describe data

    3. XML uses XSL to describe data

    Answer
  • 16.

    What does XML stand for?

    1. eXtensible Markup Language

    2. eXtra Modern Link

    3. X-Markup Language

    4. Example Markup Language

    Answer

© 2017 QuizBucket.org