XML Final Exam (42/50) : Question Text
XML Final Exam (42/50) : Question Text
Question 1
Answer saved
Flag question
Question text
Select one:
a. ANY content
b. Element content
c. EMPTY content
d. Mixed content
Clear my choice
Question 2
Answer saved
Marked out of 1.00
Flag question
Question text
Select one:
a. You can use either single quote or double quote for the attribute
elements.
d. The XML declaration should be the on the very first line of the
document.
Clear my choice
Question 3
Answer saved
Flag question
Question text
Select one:
Clear my choice
Question 4
Answer saved
Flag question
Question text
Select one:
Clear my choice
Question 5
Answer saved
Flag question
Question text
Select one:
a. <xsl:choose>
b. <xsl:sort>
c. <xsl:template>
d. <xsl:value-of>
Clear my choice
Question 6
Answer saved
Flag question
Question text
Select one:
Clear my choice
Question 7
Answer saved
Marked out of 1.00
Flag question
Question text
Select one:
Clear my choice
Question 8
Answer saved
Flag question
Question text
Select one:
b. This is a way for XML to send special instructions to the XML Parser.
Clear my choice
Question 9
Answer saved
Flag question
Question text
Select one:
Clear my choice
Question 10
Answer saved
Flag question
Question text
Select one:
a. Internal DTD
b. DTD
c. External DTD
d. !DOCTYPE
Clear my choice
Question 11
Answer saved
Flag question
Question text
Select one:
a. %
b. +
c. *
d. ?
Clear my choice
Question 12
Answer saved
Marked out of 1.00
Flag question
Question text
Select one:
a. createComment()
b. createTextNode()
c. setAttribute ()
d. createAttribute()
Clear my choice
Question 13
Answer saved
Flag question
Question text
Select one:
c. True ,False
d. 1,0
Clear my choice
Question 14
Answer saved
Flag question
Question text
Select one:
a. replaceChild()
b. createElement()
c. removeChild()
d. getElementsByTagName()
Clear my choice
Question 15
Answer saved
Flag question
Question text
Select one:
a. XSL Document
b. XQuery Document
c. XHTML Document
d. XML Document
Clear my choice
Question 16
Answer saved
Flag question
Question text
Select one:
Clear my choice
Question 17
Answer saved
Marked out of 1.00
Flag question
Question text
Select one:
Clear my choice
Question 18
Answer saved
Flag question
Question text
Select one:
Clear my choice
Question 19
Answer saved
Flag question
Question text
Select one:
c. This is a way for XML to send special instructions to the XML Parser.
Clear my choice
Question 20
Answer saved
Flag question
Question text
Select one:
d. This contains all the basic syntax rules that an XML Document
should follow to be considered well-formed.
Clear my choice
Question 21
Answer saved
Flag question
Question text
<movie>
<title>The House</title>
<director>Ben Crows</director>
<year>1997</year>
</movie>
Select one:
b. xmlDoc.getElementsByTagName("director")
[0].childNodes[0].nodeValue = "Sam Raimi";
c. xmlDoc.getElementsByTagName("director")[0].childNodes[0] = "Sam
Raimi";
d. xmlDoc.getElementsByTagName("Ben Crows")
[0].childNodes[0].nodeValue = "Sam Raimi";
Clear my choice
Question 22
Answer saved
Flag question
Question text
Select one:
Clear my choice
Question 23
Answer saved
Flag question
Question text
Select one:
a. getAttribute()
b. setAttribute()
c. innerHTML
d. removeAttribute()
Clear my choice
Question 24
Answer saved
Question text
Select one:
a. /
b. >>
c. @
d. //
Clear my choice
Question 25
Answer saved
Flag question
Question text
DTD includes the specifications about the markup that can be used
within the document, the specifications consists of all EXCEPT
Select one:
b. entity declarations
c. element declarations
Clear my choice
Question 26
Answer saved
Flag question
Question text
Select one:
d. This is a way for XML to send special instructions to the XML Parser.
Clear my choice
Question 27
Answer saved
Flag question
Question text
Select one:
a. ANY content
b. Mixed content
c. Element content
d. EMPTY content
Clear my choice
Question 28
Answer saved
Flag question
Question text
Select one:
a. RSS can check sites automatically for new updates using a program
that gathers and sorts out RSS feeds called RSS aggregator.
b. RSS data is large and a little bit slow; it cannot be used with
services like Smart Phones
Clear my choice
Question 29
Answer saved
Question text
Select one:
Clear my choice
Question 30
Flag question
Question text
Clear my choice
Question 31
Answer saved
Flag question
Question text
Select one:
a. size
b. length
c. number
d. None of the choices
Clear my choice
Question 32
Answer saved
Flag question
Question text
Select one:
a. XML Schema
b. XQuery
c. XPath
d. XSLT
Clear my choice
Question 33
Answer saved
Marked out of 1.00
Flag question
Question text
Select one:
Clear my choice
Question 34
Answer saved
Flag question
Question text
Select one:
Clear my choice
Question 35
Answer saved
Flag question
Question text
Select one:
c. This contains all the basic syntax rules that an XML Document
should follow to be considered well-formed.
Clear my choice
Question 36
Answer saved
Flag question
Question text
Select one:
Question 37
Answer saved
Flag question
Question text
Select one:
a. child
b. descendant
c. attribute
d. following
Clear my choice
Question 38
Answer saved
Marked out of 1.00
Flag question
Question text
Select one:
Clear my choice
Question 39
Answer saved
Flag question
Question text
Select one:
a. ACCESS
b. MYSQL
c. IBM DB2
d. Java
Clear my choice
Question 40
Answer saved
Flag question
Question text
Select one:
a. Native XML database
b. XPath
c. XML-enabled database
d. XQuery
Clear my choice
Question 41
Answer saved
Flag question
Question text
Select one:
a. child
b. parent
c. ancestor
d. descendant
Clear my choice
Question 42
Answer saved
Flag question
Question text
Select one:
a. leaf node
b. sibling node
c. root node
d. child node
Clear my choice
Question 43
Answer saved
Marked out of 1.00
Flag question
Question text
Select one:
Clear my choice
Question 44
Answer saved
Flag question
Question text
Select one:
a. <!----->
b. <!-----!>
c. </-- --->
d. <?----->
Clear my choice
Question 45
Answer saved
Flag question
Question text
Select one:
Clear my choice
Question 46
Answer saved
Flag question
Question text
Select one:
a. Element
b. Comment
c. Text
d. Attribute
Clear my choice
Question 47
Answer saved
Flag question
Question text
Select one:
a. changeAttribute()
b. removeAttribute()
c. deleteAttribute()
d. replaceAttribute()
Clear my choice
Question 48
Question text
Select one:
Clear my choice
Question 49
Answer saved
Flag question
Question text
On the XML document below:
To get the contact number with type "home", we can use the XPath
Select one:
a. contactinfo/contactnumber[2]
b. contactinfo/contactnumber[1]
c. contactinfo/contactnumber
d. contactinfo/contactnumber[0]
Clear my choice
Question 50
Answer saved
Question text
Select one:
d. <xsl:template match=text()>
Clear my choice