Basic XML Quiz - 2

Basic XML Quiz - 2

12 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What does XML stand for?

  1. eXtensible Markup Language
  2. X-Markup Language
  3. Example Markup Language
  4. eXtra Modern Link
Question 2 Multiple Choice (Single Answer)

Which of the following is (are) a valid XML name(s)?

  1. 1-2-4_6
  2. :3:-3:5:-7
  3. ;123456
  4. 3:4;-7
Question 3 Multiple Choice (Single Answer)

DOM 2 doesn't provide mechanism for interrogating and modifying the namespace for a document.

  1. True
  2. False
Question 4 Multiple Choice (Single Answer)

The DOM specification describes how strings are to be manipulated by the DOM by defining the datatype _______. It is encoded using _______ encoding scheme.

  1. DOMString, UTF-8
  2. DOMString, Unicode
  3. UNICODEString, Unicode
  4. String, Unicode
Question 5 Multiple Choice (Single Answer)

An MNC receives at its headquarter from its subsidiaries, XML documents containing various reports of that subsidiary. These reports need to be displayed to the person responsible at the headquarter for that subsidiary in a user-friendly manner (allowing searches through the document) and the person is allowed to make any changes/comments that he/she desires. Once the user is done with all the changes/comments the information needs to be fed into the central database. Which of the following is MOST appropriate for processing these XML documents?

  1. DOM
  2. SAX
  3. CSS
  4. XSL
Question 6 Multiple Choice (Single Answer)

Which of the following is an XML-based service IDL that defines the service interface and its implementation characteristics.

  1. UDDI
  2. WSDL
  3. SOAP
  4. Path
Question 7 Multiple Choice (Single Answer)

Which statement about XML is true?

  1. Elements may nest but not overlap
  2. Quoting attributes is optional
  3. Elements may have multiple attributes with the same name
Question 8 Multiple Choice (Single Answer)

What is the correct declaration syntax for the version of XML document?

  1. <?xml version="1.0" />
  2. <?xml version="1.0"?>
  3. <xml version="1.0" />
Question 9 Multiple Choice (Single Answer)

How is an empty element field defined?

  1. <name></name
  2. <name />
  3. <name/>
  4. All of the above
Question 10 Multiple Choice (Single Answer)

XML document must be valid?

  1. True
  2. False
Question 11 Multiple Choice (Single Answer)

Every XML document must be well formed

  1. True
  2. False
Question 12 Multiple Choice (Single Answer)

Every XML document must have an associated DTD or schema

  1. True
  2. False