Alien head

Basic XML Quiz - 2

Description: Basic XML Quiz - 2
Number of Questions: 12
Created by:
Tags: xml

What does XML stand for?

xml
  1. eXtensible Markup Language

  2. X-Markup Language

  3. Example Markup Language

  4. eXtra Modern Link

Answer: 1

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

xml
  1. 1-2-4_6

  2. :3:-3:5:-7

  3. ;123456

  4. 3:4;-7

Answer: 2

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

xml
  1. True

  2. False

Answer: 2

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

xml
  1. DOMString, UTF-8

  2. DOMString, Unicode

  3. UNICODEString, Unicode

  4. String, Unicode

Answer: 2

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?

xml
  1. DOM

  2. SAX

  3. CSS

  4. XSL

Answer: 1

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

xml
  1. UDDI

  2. WSDL

  3. SOAP

  4. Path

Answer: 2

Which statement about XML is true?

xml
  1. Elements may nest but not overlap

  2. Quoting attributes is optional

  3. Elements may have multiple attributes with the same name

Answer: 1

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

xml
Answer: 2

How is an empty element field defined?

xml
  1. All of the above

Answer: 4

XML document must be valid?

xml
  1. True

  2. False

Answer: 1

Every XML document must be well formed

xml
  1. True

  2. False

Answer: 1

Every XML document must have an associated DTD or schema

xml
  1. True

  2. False

Answer: 2
+ View questions