Enter your search terms
Submit search form
Web
examineonline.googlepages.com
Online Exam
>>
Programming
>>
XML
>>
XML DOM Tutorial
Menu
Programming
COMPTIA
GMAT
English
IQ
DataBase
OS
MCSE
CISCO
Finance
Management
Health
Soft Skills
Web Building
Multimedia
XML DOM Tutorial
1 . XML DOM is:
A.
XML Data Object Model
B.
XML Document Object Module
C.
XML Document Object Model
D.
XML Data Object Module
2 . XML DOM defines a standard way for
A.
only accessing the XML documents
B.
accessing and manipulating XML documents
C.
only manipulating XML documents
D.
None of these
3 . The DOM is separated into how many different parts ?
A.
2
B.
3
C.
4
D.
5
4 . XML DOM - defines a standard set of objects for XML documents only.
A.
True
B.
False
C.
Not always
D.
Can't say
5 . The XML DOM is language- and platform
A.
dependent
B.
independent
C.
Not always dependent
D.
None of these
6 . The XML DOM define a standard set of ______ for XML
A.
classes
B.
functions
C.
files
D.
objects
7 . The DOM treats the XML document as
A.
table-structure
B.
file-structure
C.
tree-structure
D.
All the above
8 . Each attribute,element and text in the XML document represents a
A.
node in the tree
B.
stumb in a tree
C.
leaf in a tree
D.
flowers in a tree
9 . Both Mozilla and Internet Explorer support W3C's DOM specification.
A.
False
B.
Not always true
C.
True
D.
None of these
10 . There are differences between Internet Explorer's DOM and Mozilla's DOM. The most important difference is that how they handle
A.
text nodes
B.
white-space text nodes
C.
nodes
D.
None of these
11 . We can navigate between nodes with the use of their ________ to each other.
A.
degree
B.
relationship
C.
links
D.
levels
12 . Which of these are not the valid XML DOM relationships ?
A.
parentNode
B.
previousSibling
C.
lastChild
D.
nextNode
13 . Internet Explorer will skip white-space text node that are generated between nodes (e.g. new-line characters), while Mozilla will not.
A.
True
B.
False
C.
Not always true
D.
None of these
14 . The ________ method return a nodelist that contains all elements with the specified tag name in the same order as they appear in the source document.
A.
getElementsByName()
B.
elementsByTagname()
C.
getElementsByTagname()
D.
byTagname()
15 . The ________ method can be used to display the value of the specified attribute.
A.
attribute()
B.
getAttribute()
C.
showAttribute()
D.
printAttribute()
16 . The ______ method can be used to remove the specified node.
A.
removeChild()
B.
deleteChild()
C.
reChild()
D.
dropChild()
17 . How many parameters are there for deleteData() method ?
A.
0
B.
1
C.
2
D.
3
18 . The _____ method creates the new element node.
A.
buildElement()
B.
createElement()
C.
Element()
D.
None of these
19 . How many parameters are there for replaceData() method method ?
A.
2
B.
4
C.
5
D.
3
20 . The _______ method is used to remove the attribute node.
A.
removeAttNode()
B.
rmAtNode()
C.
removeAttributeNode()
D.
None of these
Test Name :
XML DOM Tutorial
Category :
XML
Number of Question :
20
Pass Score :
80
Test Result
Your Score :
Passing Score :
80
Result :
Copyright by
VanTuMinh
© 2007