Originally posted in Yahoo XML-CERT group. Paseted here for sake of reference:
1. In XML design, the more constraints you can impose on a document, the more
structured its content will be, and structure is a good objective:
A: True
B: False
2.Most DTDs are designed using a top-down approach starting with the ____?
A: tree elements
B: branching elements
C: root elements
D: node elements
3.Which of the following symbols is used after the element name to indicate
that the tags are empty?
A: a backward slash(\)
B: a question mark(?)
C: a exclamation point(!)
D: a forward slash(/)
4.Which of the following syntax is correct for a document type declaration?
A: <?DOCTYPE RootElemSYSTEM ExternalDTRef [InternalDTDDec1]>
B: <!DOCTYPE ElemSYSTEM ExternalDTRef [InternalDTDDec1]>
C: <!DOCTYPE RootElemSYSTEM ExternalDTRef [InternalDTDDec1]>
D: <?DOCTYPE ElemSYSTEM ExternalDTRef [InternalDTDDec1]>
6.The entities that are used to help modularize the structure of a DTD by
storing commonly used declaration components are called?
A: parameter entities
B: declared entities
C: invoked entities
D: general entities
7.The fundamental constructs in an XSL style sheet are?
A: templates, entities,
patterns, objects
B: templates, patterns
C: entities, patterns, objects
D: patterns, objects
8.To distinguish the various approaches to specifying external entity files,
which of the following are the keywords?
A: SYSTEM, PUBLIC, ENCRYPTED, LOCAL, REGIONAL
B: PUBLIC, ENCRYPTED, LOCAL, REGIONAL
C: SYSTEM, PUBLIC, LOCAL, REGIONAL
D: SYSTEM, PUBLIC
9.The contents of a parsed entity are sometimes referred to as the?
A: entity's replacement text.
B: entity's verified text.
C: entity's validated text.
D: entity's replacement data.
10.Which of the following is the correct format for placing the comment "This
is correct." in an XML document?
A: <?- This is correct.->
B: </- This is correct.->
C: <!- This is correct.->
D: <&- This is correct.->
11.Data that consists of characters that are considered either character data
and/or markup and processed by an XML processor is called
A: field data
B: record data
C: meta data
D: parsed data
12.The XSL processor used with the XSL style sheet, performs which of the
following roles in?
A: constructing a result tree from a source tree, interpreting the result
tree for formatting purposes, creating style sheet
B: interpreting the result tree for formatting purposes, creating style sheet
C: constructing a result tree from a source tree, interpreting the result
tree for formatting purposes
D: constructing a result tree from a source tree, creating style sheet
13.The W3C Document Object Model(DOM) has several common patterns. Which of
these patterns are the least sensitive to change as each section of a DOM
document has a named property?
A: linear models
B: External models
C: Tree models
D: Object models
14.The first step in validating a document is to build a parse tree and to
check that____?
A: it is well-formed.
B: the data is valid.
C: the document is a flat text file.
D: the data is verified.
16.Which of the following DOM methods is a Booleans that tests to see whether a
given node has child nodes?
A: DoesChildExist()
B: CreateChild()
C: HasChildNodes()
D: none of the above
17.If you set the ____ to true, you will be able to accept documents with any
of the 150 plus encodings?
A: AllowJavaEncoding
B: AllowJavaEncodingName
C: defaultEncodingName
D: SetJavaEncodingCapture
18.Which of the following components of XLink technology defines a syntax that
is used to describe fragment identifiers, that in turn are used to specify
parts of documents?
A: XPath
B: XRoot
C: XPointer
D: deXlint
19.XML, ____ are used to provide instructions to applications that aren't part
of the normal document structure?
A: executables
B: callback instructions
C: processing instructions(PIs)
D: instruction sets(ISs)
20.Whenever an XML document is loaded and parsed in response to the readyState,
a value code of 3 is displayed which means that?
A: the document has started loading but no data has been parsed.
B: the document has been loaded and partially parsed, and a partial read-only
tree structure is available.
C: the document has been loaded and partially parsed, and a read-only tree
structure is available.
D: the document has been completely loaded and parsed.