Basic XML Quiz

Basic XML Quiz

10 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

XML preserves white spaces

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

For the XML parser to ignore a certain section of your XML document, which syntax is correct?

  1. <![CDATA[ Text to be ignored ]]>
  2. <xml:CDATA[ Text to be ignored ]>
  3. <PCDATA> Text to be ignored </PCDATA>
  4. <CDATA> Text to be ignored </CDATA>
Question 3 Multiple Choice (Single Answer)

What is a correct way of referring to a stylesheet called "style.xsl"?

  1. <stylesheet type="text/xsl" href="style.xsl" />
  2. <link type="text/xsl" href="style.xsl" />
  3. <?xml-stylesheet type="text/xsl" href="style.xsl" ?>
Question 4 Multiple Choice (Single Answer)

Which is not a correct name for an XML element?

  1. <first name>
  2. <age>
  3. <NAME>
Question 5 Multiple Choice (Single Answer)

What does DTD stand for?

  1. Document Type Definition
  2. Dynamic Type Definition
  3. Direct Type Definition
Question 6 Multiple Choice (Single Answer)

What makes XML more powerful than HTML?

  1. Not as much coding is needed
  2. Its ability to adapt to new uses
  3. The fact that its supported by all of the major software vendors
Question 7 Multiple Choice (Single Answer)

Unlike most other markup languages, including HTML, XML allows you to do what?

  1. Create new tags
  2. Exchange information over the Web
  3. Put your tags in any order, with closing tags optional
Question 8 Multiple Choice (Single Answer)

In what year did the World Wide Web Consortium release its draft of XML?

  1. 1994
  2. 1995
  3. 1996
  4. 1997
Question 9 Multiple Choice (Single Answer)

What organization presented the first version of Starndardized Generalized Markup Language (SGML) in 1980?

  1. Internet Engineering Task Force (IETF)
  2. IEEE
  3. American National Standards Institute (ANSI)
  4. OASIS
Question 10 Multiple Choice (Single Answer)

You can use XSL Transformation (XSLT) to convert database files described by XML to Structured Query Language (SQL) statements, which creates the tables, indexes and views that the XML data describes.

  1. True
  2. False