XML Quiz

Play this quiz that will help you to excel in XML certification exams, placements etc. This XML quiz consist of 10 questions that you need to solve in 10 minutes. We’ve specially designed this quiz so that you can quickly acquaint to the pattern of questions you can be asked in placement drives, certification exams etc.

Take the Free Practice Test


Practice XML MCQ Questions, which will help you to understand XML concepts.

XML Quiz

Try Free XML Quiz, to start a quiz you need to login first, after login you will get start quiz button and then by clicking on that you can start quiz. You will get 10 Minutes to answer all questions.

XML Quiz

1. In XML?

the internal DTD subset is read before the external DTD
the external DTD subset is read before the internal DTD
there is no external type of DTD
there is no internal type of DTD

2. What is true about XML Schema?

It is used to describe and validate the structure and the content of XML data.
XML schema defines the elements, attributes and data types.
It is similar to a database schema that describes the data in a database.
All of the above

3. For the documents without encoding information, ______ is set by default.

Both A and B
None of the above

4. How many type of encoding?


5. An element declaration specifies

a single markup element
zmarkup elements
markup data
the document data

6. Which of the following are correct rule for XML declaration?

If the XML declaration is included, it must contain version number attribute.
Either single or double quotes may be used.
The XML declaration has no closing tag
All of the above

7. The default model for complex type, in XML schemas for element is

no default type
Both A and B

8. CDATA attribute is?

Character data
Both A and B
None of the above

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

system identifiers
public identifiers
Both A and B
None of the above

10. Which of the following is correct syntax to write an XML element?

<?element-name attribute1 attribute2>
<?element-name attribute1 attribute2?>
<element-name attribute1 attribute2>
<! element-name attribute1 attribute2>