Enter your search terms
Submit search form
Web
examineonline.googlepages.com
Online Exam
>>
Programming
>>
XML
>>
DTD Tutorial
Menu
Programming
COMPTIA
GMAT
English
IQ
DataBase
OS
MCSE
CISCO
Finance
Management
Health
Soft Skills
Web Building
Multimedia
DTD Tutorial
1 . DTD is:
A.
Data Type Definition
B.
Document Type Definition
C.
Definition Type Document
D.
Definition Type Data
2 . It defines the document structure with a list of _______.
A.
legal elements
B.
elements
C.
bad elements
D.
None of these
3 . DTD defines the document structure with a list of legal elements.
A.
False
B.
True
C.
Not always
D.
None of these
4 . A DTD can be declared inline in your XML document, or as an
A.
internal reference
B.
reference
C.
Both 1 and 2
D.
external reference
5 . If the DTD is included in your XML source file, it should be wrapped in a DOCTYPE definition with the following syntax:
A.
<DOCTYPE root-element [element-declarations]>
B.
<DOCTYPE root-element (element-declarations)>
C.
<!DOCTYPE root-element [element-declarations]>
D.
<!DOCTYPE [element-declarations]>
6 . You can also use a DTD to verify your own
A.
control
B.
description
C.
data
D.
None of these
7 . If the DTD is external to your XML source file, it should be wrapped in a DOCTYPE definition with the following syntax:
A.
<!DOCTYPE root-element SYSTEM "filename">
B.
<DOCTYPE root-element SYSTEM "filename">
C.
<!DOCTYPE root-element SYSTEM 'filename'>
D.
<!DOCTYPE SYSTEM "filename">
8 . With DTD, each of your XML files can carry a ________ of its own format with it.
A.
data
B.
control
C.
description
D.
data and control
9 . Elements are the main building blocks of both
A.
XHTML and HTML documents
B.
XML and HTML documents
C.
XSL and XHTML documents
D.
None of these
10 . Attributes provide _______ about elements.
A.
extra information
B.
information
C.
more data
D.
None of these
11 . Entities are variables used to define
A.
control
B.
database
C.
structure
D.
common text
12 . Entities are expanded when a document is parsed by an XML
A.
compiler
B.
parser
C.
debugger
D.
linker
13 . Which of these characters connot be used as entity references in XML ?
A.
<
B.
&
C.
"
D.
$
14 . PCDATA means:
A.
private character data
B.
public character data
C.
parsed character data
D.
parsed and compiled data
15 . CDATA is text that _____ be parsed by a parser.
A.
will not
B.
will
C.
sometimes will
D.
sometimes will not
16 . CDATA means:
A.
common data
B.
character data
C.
computer data
D.
None of these
17 . An element declaration has the following syntax:
A.
<!ELEMENT element-name category>
B.
<ELEMENT element-name category>
C.
<!ELE element-name category>
D.
<!element-name ELEMENT category>
18 . Elements with only character data are declared with
A.
#CHAR
B.
#TEXT
C.
#PCDATA
D.
#CDATA
19 . In a DTD, Attributes are declared with an _______ declaration
A.
ATTRIBUTELIST
B.
ATTLIST
C.
ALIST
D.
All the above
20 . ________ can validate your XML against a DTD.
A.
Internet Explorer 5.0
B.
Internet Explorer 6.0
C.
Opera
D.
Mozilla
Test Name :
DTD Tutorial
Category :
XML
Number of Question :
20
Pass Score :
80
Test Result
Your Score :
Passing Score :
80
Result :
Copyright by
VanTuMinh
© 2007