QuestionQuestion

Question 1
In the following XML markup, one is a(n) ________ element of two.
<three>
<two>some data</two>
<one>some other data</two>
</three>
a. parent
b. child
c. root
d. sibling

Question 2
A DTD can be used to ________ an XML document.
a. display
b. validate
c. compile
d. parse

Question 3
To eliminate the need to place namespace prefixes in each element, document authors may specify a(n) ________ for an element and that element's children.
a. element
b. attribute
c. keyword
d. default namespace

Question 4
Which of the following is not found in XML documents?
a. variables
b. root element
c. data
d. elements

Question 5
Which of the following is not an advantage of XML?
a. It is portable and widely supported.
b. It is faster to parse than any other data exchange format.
c. It can be used to create customized markup for any type of information.
d. It is understandable by both humans and computers.

Question 6
The !ATTLIST element declaration in a DTD defines a(n) ________.
a. attribute
b. element
c. tag
d. #IMPLIED

Question 7
Document type definition files define the ________ for an XML document.
a. size and encoding
b. margins
c. structural rules
d. rendering instructions

Question 8
________, a widely supported open technology for data exchange, was developed by ________.
a. SGML, The Mozilla Foundation
b. XML, the W3C
c. XHTML, the W3C
d. XML, The Mozilla Foundation

Question 9
Which of the following is a valid XML comment?
a. <!-- comment >
b. <!-- comment --!>
c. <-- comment -->
d. <!-- comment -->

Question 10
Attempting to create namespace prefix ________ in any mixture of cases is an error.
a. xml
b. urn
c. text
d. xsl

Question 1
Which of the following is not a child element of a channel element in an RSS 2.0 feed?
a. description
b. details
c. title
d. description

Question 2
Which of the following is not a property of a DOM node?
a. nodeType
b. nodeName
c. attribute
d. lastChild

Question 3
MathML content can be embedded into XHTML files by using a(n) ________ element.
a. mathml
b. math
c. xml
d. xmlmath

Question 4
Which of the following applications can render MathML? ________
a. LaTeX
b. Amaya
c. Python
d. Apache

Question 5
The _______ symbol selects any element node.
a. asterisk ( * )
b. at-sign ( @ )
c. hyphen ( - )
d. slash ( / )

Question 6
Which of the following is true of simple types in an XML schema?
a. they can have attributes but not child elements.
b. they can have neither attributes nor child elements
c. they cannot be contained by complex elements
d. they can have attributes and child elements

Question 7
Which of the following is not a property or method of a DOM Document?
a. documentElement
b. length
c. getElementByTagName
d. firstChild

Question 8
Which of the following is true of simple content in an XML schema?
a. it can have attributes but not child elements.
b. it can have neither attributes nor child elements
c. it cannot be contained by complex elements
d. it can have attributes and child elements

Question 9
The root element of an RSS feed is the ________ element.
a. root
b. document
c. feed
d. rss

Question 10
In the DOM, a document's elements are organized in a _________ structure.
a. tree
b. list
c. graph
d. set

1. What does XML stand for?
eXtensible Markup Language
X-Markup Language
Example Markup Language
eXtra Modern Link

2. There is a way of describing XML data, how?
XML uses XSL to describe data
XML uses a description node to describe data
XML uses a DTD to describe the data

3. XML's goal is to replace HTML
True
False

4. What is the correct syntax of the declaration which defines the XML version?
<xml version="1.0" />
<?xml version="1.0"?>
<?xml version="1.0" />

5. What does DTD stand for?
Do The Dance
Direct Type Definition
Dynamic Type Definition
Document Type Definition

6. 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>
Yes
No

7. 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>
No
Yes

8. Which statement is true?
All XML elements must be properly closed
All XML documents must have a DTD
All XML elements must be lower case
All the statements are true

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

10. XML preserves white spaces
True
False

11.Is this a "well formed" XML document?
<?xml version="1.0"?>
<note>
<to age="29">Tove</to>
<from>Jani</from>
</note>
Yes
No

12. Is this a "well formed" XML document?
<?xml version="1.0"?>
<note>
<to age=29>Tove</to>
<from>Jani</from>
</note>
No
Yes

13. XML elements cannot be empty
False
True

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

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

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

17. XML attribute values must always be enclosed in quotes
False
True

18. What does XSL stand for?
eXtensible Style Listing
eXtensible Stylesheet Language
eXpandable Style Language
eXtra Style Language

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

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

Solution PreviewSolution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

Question 1: The answer is option D.
Question 2: The answer is option B.
Question 3: The answer is option D.
Question 4: The answer is option A.
Question 5: The answer is option B.
Question 6: The answer is option A.
Question 7: The answer is option C....
$70.00 for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Web Development (HTML, XML, PHP, JavaScript, Adobe, Flash, etc.) Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Decision:
Upload a file
Continue without uploading

SUBMIT YOUR HOMEWORK
We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats