XML DTD MCQ

This section focuses on "Document type definition (DTD)" in XML. These Multiple Choice Questions (MCQ) should be practiced to improve the XML skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.

1. The DTD starts with?

A. declaration
B. DOCTYPE delimiter
C. DTD identifier
D. None of the above

View Answer


2. An __________ tells the parser to parse the document from the specified root element.

A. element
B. DTD
C. PI
D. identifier

View Answer


3. If the DTD is pointing to external path, it is called?

A. Internal Subset
B. DTD identifier
C. External Subset
D. None of the above

View Answer


4. The square brackets [ ] enclose an optional list of entity declarations called?

A. Internal Subset
B. DTD identifier
C. Element Subset
D. DTD Subset

View Answer


5. Which of the following is correct rule for internal subset?

A. The Name in the document type declaration must match the element type of the root element.
B. Similar to the DOCTYPE declaration, the element declarations must start with an exclamation mark.
C. The document type declaration must appear at the start of the document
D. All of the above

View Answer


6. In external DTD elements are declared _______ the XML file.

A. Inside
B. After DOCTYPE
C. Before DTD Body
D. outside

View Answer


7. We can refer to an external DTD by using?

A. system identifiers
B. public identifiers
C. Both A and B
D. None of the above

View Answer


8. Public identifiers can follow any format, however, a commonly used format is called?

A. PDF
B. PNG
C. FPI
D. JPG

View Answer


9. In XML?

A. the internal DTD subset is read before the external DTD
B. the external DTD subset is read before the internal DTD
C. there is no external type of DTD
D. there is no internal type of DTD

View Answer


10. The correct priority for implementing XML based IETMs is :

A. Develop DTD, conduct a pilot project, create a modular library, train staff.
B. Train staff, convert legacy documents, develop DTD, create modular library.
C. Conduct pilot program, train staff, create modular library, develop DTD
D. Conduct pilot program, train staff, develop DTD, convert documents, purchace XML tools.

View Answer





Discussion


* You must be logged in to add comment.