XML and Web Technologies

Quiz covering XML fundamentals, XSL stylesheets, and web service concepts including WCF

14 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What does XML stand for?

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

Which of the following statement is true?

  1. In XML,both the tag semantics and the tag set are fixed
  2. XML is a meta-language for describing markup languages
  3. XML is a restricted form of SGML
  4. All the above
Question 3 Multiple Choice (Multiple Answers)

Which statement is true?

  1. XML elements must have a closing tag
  2. XML tags must be lower case
  3. XML elements must be properly nested
  4. XML attribute values must be quoted
Question 4 True/False

True/False? Comments are not part of the textual content of an XML document. An XML processor is required to pass them along to an application.

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

What is the correct syntax of the declaration which defines the XML version?

  1. <?xml version="1.0" />
  2. <?xml version="1.0"?>
  3. <xml version="1.0" />
  4. None of the above
Question 6 True/False

True/False? With XML, the white-space in a document is not truncated.

  1. True
  2. False
Question 7 Multiple Choice (Multiple Answers)

Which is not a correct name for an XML element?

  1. <7lastname>
  2. <lastname>
  3. <last name>
  4. <last_name>
Question 8 Multiple Choice (Multiple Answers)

Which of the following statement is true?

  1. Names cannot start with a number or punctuation character
  2. Names cannot start with the letters xml (or XML, or Xml, etc)
  3. Names can contain spaces
  4. All the above
Question 9 Multiple Choice (Single Answer)

Which of the following statements is not true?

  1. Names cannot start with a number or punctuation character
  2. Names cannot start with the letters xml (or XML, or Xml, etc)
  3. Names can contain spaces
  4. Non-English letters like éòá are perfectly legal in XML
Question 10 Multiple Choice (Multiple Answers)

Find the correct format.

  1. <Narnia category=fantasy>
  2. <Narnia category="fantasy">
  3. <Narnia category='fantasy'>
  4. <Narnia category='seven "fantasy" novels'>
Question 11 Multiple Choice (Single Answer)

XML

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

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

  1. <?xml-stylesheet type="text/xsl" href="mystyle.xsl" ?>
  2. <stylesheet type="text/xsl" href="mystyle.xsl" />
  3. <link type="text/xsl" href="mystyle.xsl" />
  4. None of the above
Question 13 Multiple Choice (Single Answer)

Sessionmode Enumeration are

  1. Allowed
  2. NotAllowed
  3. Required
  4. All
Question 14 Multiple Choice (Single Answer)

Which property controls the instance lifetime?

  1. SerivceTypeAttribute
  2. ServiceAttribute
  3. ServiceBehaviourAttribute
  4. ServiceTypeBehaviour