XML Quiz

Description

XML Quiz for XML Developers
Juan Arturo Vargas
Quiz by Juan Arturo Vargas, updated more than 1 year ago
Juan Arturo Vargas
Created by Juan Arturo Vargas over 9 years ago
230
1

Resource summary

Question 1

Question
What does XML stand for
Answer
  • X-Markup Language
  • eXtra Modern Link
  • Example Markup Language
  • eXtensible Markup Language

Question 2

Question
There is a way of describing XML data, how?
Answer
  • XML uses XSL to describe data
  • XML uses a description node to describe data
  • XML uses a DTD to describe the data

Question 3

Question
XML's goal is to replace HTML
Answer
  • True
  • False

Question 4

Question
What is the correct syntax of the declaration which defines the XML version?
Answer
  • <?xml version="1.0"?>
  • <?xml version="1.0" />
  • <xml version="1.0" />

Question 5

Question
What does DTD stand for?
Answer
  • Do The Dance
  • Document Type Definition
  • Direct Type Definition
  • Dynamic Type Definition

Question 6

Question
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>
Answer
  • True
  • False

Question 7

Question
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>
Answer
  • True
  • False

Question 8

Question
Which statement is true?
Answer
  • 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

Question 9

Question
Which statement is true?
Answer
  • XML tags are case sensitive
  • XML elements must be properly nested
  • All the statements are true
  • XML documents must have a root tag

Question 10

Question
XML preserves white spaces
Answer
  • True
  • False

Question 11

Question
Is this a "well formed" XML document? <?xml version="1.0"?> <note> <to age="29">Tove</to> <from>Jani</from> </note>
Answer
  • True
  • False

Question 12

Question
XML elements cannot be empty
Answer
  • True
  • False

Question 13

Question
Which is not a correct name for an XML element?
Answer
  • <h1>
  • <Note>
  • All 3 names are incorrect
  • <1dollar>

Question 14

Question
Which is not a correct name for an XML element?
Answer
  • <first name>
  • <NAME>
  • All 3 names are incorrect
  • <age>

Question 15

Question
Which is not a correct name for an XML element?
Answer
  • All 3 names are incorrect
  • <phone number>
  • <7eleven>
  • <xmldocument>

Question 16

Question
XML attribute values must always be enclosed in quotes
Answer
  • True
  • False

Question 17

Question
What does XSL stand for?
Answer
  • eXtensible Style Listing
  • eXtra Style Language
  • eXtensible Stylesheet Language
  • eXpandable Style Language

Question 18

Question
What is a correct way of referring to a stylesheet called "mystyle.xsl"
Answer
  • <stylesheet type="text/xsl" href="mystyle.xsl" />
  • <?xml-stylesheet type="text/xsl" href="mystyle.xsl" ?>
  • <link type="text/xsl" href="mystyle.xsl" />

Question 19

Question
For the XML parser to ignore a certain section of your XML document, which syntax is correct?
Answer
  • <![CDATA[ Text to be ignored ]]>
  • <xml:CDATA[ Text to be ignored ]>
  • <PCDATA> Text to be ignored </PCDATA>
  • <CDATA> Text to be ignored </CDATA>

Question 20

Question
Which statement is true?
Answer
  • XML Schemas are Less Powerful than DTD
  • XML Schemas Support Data Types
  • XML Schemas use DTD Syntax
Show full summary Hide full summary

Similar

Historia y evolución de los Lenguajes de Marcas
Andrés Rodríguez
Introducción a los Lenguajes de Marcas 2016-17
Ignacio Jose Ortega Ruiz
Modelo DOM
Sahavana Mariscal
Web Services
Henry Vásquez
Unidad 2: Html, xml y css
Lizeth Castillo
CLOUD COMPUTING
pametdavila
Tema 1.- Características de los lenguajes de marcas
Ruben Herranz
Protocolo SOAP
olveram.diego
Lenguajes en XML HTML XHTML
América Dancer Gil