0% found this document useful (0 votes)
9 views

2

Uploaded by

afranealfred40
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

2

Uploaded by

afranealfred40
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

1. What does XML stand for?

a) eXecutable Markup Language

b) eXtensive Markup Language

c) eXtensible Markup Language

d) eXample Markup Language

2. What is the correct syntax for the declaration of an XML version 1.0 document?

a) <xml version="1.0">

b) <?xml version="1.0"?>

c) <!xml version="1.0">

d) <xml="1.0">

3. Which of the following is NOT a characteristic of XML?

a) XML tags are case-sensitive.

b) XML documents must have a DTD.

c) XML is used to store and transport data.

d) XML is a W3C recommendation.

4. Which of the following statements is true about XML schema?

a) It is used to define the legal elements of an XML document.

b) It must always be written in XML.

c) It can be used to specify the order of child elements in an XML document.

d) All of the above are true.

5. In XML, what does a well-formed document mean?

a) The document adheres to a predefined schema.

b) The document has correct syntax, including closed tags and proper nesting.

c) The document contains only CDATA sections.

d) The document does not contain any entities.


6. Choose the statement that best describes an XML DTD (Document Type Definition).

a) A DTD defines the style of an XML document.

b) A DTD is a set of rules for XML document structure which includes allowed elements and attributes.

c) A DTD is an alternative name for an XML schema.

d) A DTD specifies the exact content of an XML document.

7. Which of the following is used to uniquely identify an element or attribute in XML?

a) DTD

b) XML Schema

c) Namespace

d) XML Path

8. What is the significance of namespaces in XML?

a) They prevent element name conflicts.

b) They are used to store XML documents on a namespace server.

c) They replace the use of DTDs.

d) They are only necessary for large XML files.

9. Which of the following can be used to transform an XML document into another XML document, an
HTML page or another format such as PDF?

a) XML Schema

b) XPath

c) XSLT

d) XML editor

10. What is XPath primarily used for in XML?

a) To change the structure of an XML document.

b) To navigate through elements and attributes in an XML document.


c) To declare the XML version and encoding.

d) To validate the XML document against a schema.

You might also like