XML and Web Technology Quiz

Test your knowledge of XML, XML Schema, DTD, web services, and content management systems in web technology.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

The Java Web Services Developer Pack (Java WSDP) is

  1. A toolkit that allows developers to build, test and deploy Web Services
  2. Includes reference implementations for JavaServer Faces (JSF),JAXB,JAXP,JAXR,JAX-RPC,SAAJ and JSTL
  3. New specification request in the community process
  4. A and B
Question 2 Multiple Choice (Multiple Answers)

Which of the following is not a content management system?

  1. Joomla
  2. Drupal
  3. Ruby
  4. Mambo
Question 3 Multiple Choice (Single Answer)

XML is more advantageous to use than a fixed-length database system because

  1. Todays computers are faster than they have been in years past.
  2. It saves money by reducing IT expenses.
  3. Those without an IT background can easily understand XML.
  4. 1 & 3
  5. All of the above.
Question 4 Multiple Choice (Single Answer)

PCDATA is

  1. An XML element that contains other XML elements
  2. An XML element that contains parsed character data
  3. An XML element thats used to define data for use only on a PC
  4. None of the above
Question 5 True/False

You must use a parser to read an XML document.

  1. True
  2. False
Question 6 True/False

XML stores data in fixed lengths.

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

XML is a subset of

  1. HTML
  2. SGML
  3. MGL
  4. None of the above
Question 8 True/False

A parent element cannot contain another parent element.

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

The asterisk at the end of an element name in a DTD means its

  1. The DTD contains zero to many of this elemen
  2. The end of the list of elements
  3. The beginning of the list of elements
  4. The DTD contains this element and fewer elements
Question 10 Multiple Choice (Single Answer)

The DOCTYPE is used to

  1. Create the CDATA section of an XML document
  2. Create an XML document
  3. Identify the parser that is used to parse the XML document
  4. Identify the DTD for an XML document
Question 11 True/False

All XML markup tags must not have an attribute.

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

Special symbols can be inserted into an XML document using

  1. CDATA
  2. An attribute
  3. A UNICODE value
  4. A comment
Question 13 True/False

An XML document must contain all elements declared in the DTD

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

#PCDATA refers to

  1. Parsed charter data
  2. Program character data
  3. Parsed character data
  4. None of the above
Question 15 Multiple Choice (Single Answer)

A question mark following the name of a child name in the declaration of a parent element means

  1. The child element is required.
  2. The name of the child element is unknown.
  3. One occurrence of the child element is required.
  4. The child element is optional
Question 16 True/False

An image tag is an example of an EMPTY element.

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

Which of the following is used to define a complex type

  1. XML Schema
  2. DTD
  3. PCDATA
  4. XSD
Question 18 Multiple Choice (Single Answer)

xmlns:xs=fihttp://www.w3.org/2001/XMLSchemafl is used to

  1. Identify ownership of the XML schema
  2. Identify ownership of the XML document
  3. Identify that this is an XML schema
  4. Identify the XML schema specifications used in the XML schema
Question 19 Multiple Choice (Single Answer)

The xs:sequence tag

  1. Specifies the sequence in which elements must appear in an XML schema
  2. Specifies the sequence in which elements must appear in an XML document
  3. Specifies the sequence in which attributes must appear in an XML document
  4. Specifies the sequence in which attributes must appear in an XML schema
Question 20 Multiple Choice (Single Answer)

xsi:schemaLocation=ficustomers.xsdfl is used to

  1. Identify the owner of the XML document
  2. Identify the owner of the XML schema
  3. Identify the location of the XML schema
  4. Identify the location of the XML document