XML and Web Markup Technologies

Test your knowledge of XML fundamentals including DOM, SAX parsing, DTD validation, well-formedness rules, XSLT transformations, and XML-based web languages like XHTML, WSDL, RSS, and more.

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Choose the best answer 1) XML is not a replacement for HTML. 2) XML and HTML were designed with different goals. 3) XML was designed to describe data and to focus on what data is. 4) HTML was designed to display data and to focus on how data looks. 5) HTML is about displaying information, XML is about describing information

  1. 1 & 2 is correct
  2. 2 & 3 is correct
  3. 4 & 5 is correct
  4. All are correct
Question 2 Multiple Choice (Single Answer)

Abbreviation for XML

  1. Extended Markup Language
  2. EXtensible Markup Language
  3. Extension Markup Language
  4. Extensional Markup Language
Question 3 Multiple Choice (Single Answer)

Choose the best answer XML was designed to transport and store data, with focus on what data is.

  1. Above statement is completely wrong
  2. Above statement is partially correct
  3. Above statement is fully correct
  4. Can't say
Question 4 Multiple Choice (Single Answer)

Abbreviation for XML

  1. Extended Markup Language
  2. EXtensible Markup Language
  3. Extension Markup Language
  4. Extensional Markup Language
Question 5 Multiple Choice (Single Answer)

Among the following which is the event based XML parsing

  1. SAX
  2. DOM
  3. JAXP
  4. JAXB
Question 6 Multiple Choice (Single Answer)

XSLT documents are well-formed XML documents that describe how another XML document should be transformed. For XSLT to work, it needs an XML document to transform and an engine to make the transformation take place. Considering the above, choose the best suitable answer

  1. Above statement is completely wrong
  2. Above statement is partially correct
  3. Above statement is completely correct
  4. Above statement is partially wrong
Question 7 Multiple Choice (Single Answer)

What is a CDATA section in XML ? Choose the best suited answer. 1) CDATA in XML is the character data is is not parsed by the XML Processor 2) A CDATA section cannot contain the string "]]>" 3) Nested CDATA sections are not allowed

  1. Statement 1, 3 are correct
  2. Statement 2, 3 are correct
  3. Statement 1, 2, 3 are correct
  4. Statement 1, 2 are correct
Question 8 Multiple Choice (Single Answer)

Below are new Internet languages created and widely in use today. 1) XHTML the latest version of HTML 2) WSDL for describing available web services 3) WAP and WML as markup languages for handheld devices 4) RSS languages for news feeds 5) RDF and OWL for describing resources and ontology 6) SMIL for describing multimedia for the web Choose the best answer

  1. Only 1 & 2 are created with XML
  2. Only 2 & 3 are created with XML
  3. Only 2 & 3 & 4 are created with XML
  4. All are created with XML
Question 9 Multiple Choice (Single Answer)

How will you specify comments inside XML

  1. they begin with <!-- and end with -->
  2. they begin with # and end with none
  3. they begin with <? end with ?>
  4. they begin with -- and end with none
Question 10 Multiple Choice (Single Answer)
  1. There must be one and only one document element. 2. Every open tag must be closed. 3. If an element is empty, it still must be closed. * Poorly-formed: * Well-formed: * Also well-formed: 4. Elements must be properly nested. * Poorly-formed: * Well-formed: 5. Tag and attribute names are case sensitive. 6. Attribute values must be enclosed in single or double quotes. Choose the best suitable answer
  1. A well-formed document should follow all the above rules
  2. A well-formed document may follow 1, 3, 4
  3. A well-formed document may follow 2, 4, 5, 6
  4. A well-formed document may follow 2, 3, 4 ,5
Question 11 Multiple Choice (Single Answer)
  1. DTD - Document Type Definition is to provide a framework for validating XML documents 2) DTDs are simple text files that can be created with any basic text editor 3) A DTD outlines what elements can be in an XML document and the attributes and sub elements that they can take 4) The DOCTYPE declaration in an XML document specifies the DTD to which it should conform Considering the above, choose the best suitable answer
  1. Statement 2, 4 are correct
  2. Statement 1, 4 are correct
  3. Statement 1, 3 are correct
  4. Statement 1, 2, 3 ,4 are correct
Question 12 Multiple Choice (Single Answer)

What parser would you use for searching a huge XML file?

  1. SAX
  2. DOM
  3. JAXP
  4. JAXB
Question 13 Multiple Choice (Single Answer)

Abbreviate SAX

  1. Structure of an XML
  2. Symbolic Aggregate Approximation
  3. Simple API for XML
  4. Short Axis
Question 14 Multiple Choice (Single Answer)

Among the following which is the tree based XML parsing

  1. SAX
  2. DOM
  3. JAXP
  4. JAXB
Question 15 Multiple Choice (Single Answer)

Abbreviate DOM

  1. Document Object Model
  2. Distributed Object Management
  3. Domino Object Model
  4. Document Object Management