Juan Arturo Vargas
Quiz by , created more than 1 year ago

XML Quiz for XML Developers

220
1
0
Juan Arturo Vargas
Created by Juan Arturo Vargas almost 9 years ago
Close

XML Quiz

Question 1 of 20

1

What does XML stand for

Select one of the following:

  • X-Markup Language

  • eXtra Modern Link

  • Example Markup Language

  • eXtensible Markup Language

Explanation

Question 2 of 20

1

There is a way of describing XML data, how?

Select one of the following:

  • XML uses XSL to describe data

  • XML uses a description node to describe data

  • XML uses a DTD to describe the data

Explanation

Question 3 of 20

1

XML's goal is to replace HTML

Select one of the following:

  • True
  • False

Explanation

Question 4 of 20

1

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

Select one of the following:

  • <?xml version="1.0"?>

  • <?xml version="1.0" />

  • <xml version="1.0" />

Explanation

Question 5 of 20

1

What does DTD stand for?

Select one of the following:

  • Do The Dance

  • Document Type Definition

  • Direct Type Definition

  • Dynamic Type Definition

Explanation

Question 6 of 20

1

Is this a "well formed" XML document?

<?xml version="1.0"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>

Select one of the following:

  • True
  • False

Explanation

Question 7 of 20

1

Is this a "well formed" XML document?

<?xml version="1.0"?>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>

Select one of the following:

  • True
  • False

Explanation

Question 8 of 20

1

Which statement is true?

Select one of the following:

  • All XML elements must be properly closed

  • All XML documents must have a DTD

  • All the statements are true

  • All XML elements must be lower case

Explanation

Question 9 of 20

1

Which statement is true?

Select one of the following:

  • XML tags are case sensitive

  • XML elements must be properly nested

  • All the statements are true

  • XML documents must have a root tag

Explanation

Question 10 of 20

1

XML preserves white spaces

Select one of the following:

  • True
  • False

Explanation

Question 11 of 20

1

Is this a "well formed" XML document?

<?xml version="1.0"?>
<note>
<to age="29">Tove</to>
<from>Jani</from>
</note>

Select one of the following:

  • True
  • False

Explanation

Question 12 of 20

1

XML elements cannot be empty

Select one of the following:

  • True
  • False

Explanation

Question 13 of 20

1

Which is not a correct name for an XML element?

Select one of the following:

  • <h1>

  • <Note>

  • All 3 names are incorrect

  • <1dollar>

Explanation

Question 14 of 20

1

Which is not a correct name for an XML element?

Select one of the following:

  • <first name>

  • <NAME>

  • All 3 names are incorrect

  • <age>

Explanation

Question 15 of 20

1

Which is not a correct name for an XML element?

Select one of the following:

  • All 3 names are incorrect

  • <phone number>

  • <7eleven>

  • <xmldocument>

Explanation

Question 16 of 20

1

XML attribute values must always be enclosed in quotes

Select one of the following:

  • True
  • False

Explanation

Question 17 of 20

1

What does XSL stand for?

Select one of the following:

  • eXtensible Style Listing

  • eXtra Style Language

  • eXtensible Stylesheet Language

  • eXpandable Style Language

Explanation

Question 18 of 20

1

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

Select one of the following:

  • <stylesheet type="text/xsl" href="mystyle.xsl" />

  • <?xml-stylesheet type="text/xsl" href="mystyle.xsl" ?>

  • <link type="text/xsl" href="mystyle.xsl" />

Explanation

Question 19 of 20

1

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

Select one of the following:

  • <![CDATA[ Text to be ignored ]]>

  • <xml:CDATA[ Text to be ignored ]>

  • <PCDATA> Text to be ignored </PCDATA>

  • <CDATA> Text to be ignored </CDATA>

Explanation

Question 20 of 20

5

Which statement is true?

Select one of the following:

  • XML Schemas are Less Powerful than DTD

  • XML Schemas Support Data Types

  • XML Schemas use DTD Syntax

Explanation