Top 50+ Solved eXtended Markup Language (XML) MCQ Questions Answer

From 16 to 25 of 25

Q. XML document can be viewed in

a. ie c.0

b. ie b.0

c. ie 6.0

d. ie x.0

  • c. ie 6.0

Q. There is a way of describing XML data, how?

a. xml uses a dtd to describe the data

b. xml uses xsl to describe data

c. xml uses a description node to describe data

d. both a and c

  • d. both a and c

Q. What does DTD stand for?

a. direct type definition

b. document type definition

c. do the dance

d. dynamic type definition

  • b. document type definition

Q. DTD includes the specifications about the markup that can be used within the document, the specifications consists of all EXCEPT

a. the browser name

b. the size of element name

c. entity declarations

d. element declarations

  • a. the browser name

Q. Which of the following XML fragments are well-formed?

a. <myelement myattribute="somevalue"/>

b. <myelement myattribute=somevalue/>

c. <myelement myattribute=’somevalue’>

d. <myelement myattribute="somevalue’/>

  • a. <myelement myattribute="somevalue"/>

Q. How can we make attributes have multiple values:

a. <myelement myattribute="value1 value2"/>

b. <myelement myattribute="value1" myattribute="value2"/>

c. <myelement myattribute="value1, value2"/>

d. attributes cannot have multiple values

  • d. attributes cannot have multiple values

Q. Which of the following XML fragments are well-formed?

a. <myelement myattribute="value1 <= value2"/>

b. <myelement myattribute="value1 & value2"/>

c. <myelement myattribute="value1 > value2"/>

d. none of the above

  • c. <myelement myattribute="value1 > value2"/>

Q. The use of a DTD in XML development is:

a. required when validating xml documents

b. no longer necessary after the xml editor has been customized

c. used to direct conversion using an xslt processor

d. a good guide to populating a templates to be filled in when generating an xml document automatically

  • a. required when validating xml documents

Q. Parameter entities can appear in

a. xml file

b. dtd file

c. xsl file

d. both 1 and 2

  • b. dtd file

Q. Attribute standalone="no" should be included in XML declaration if a document:

a. is linked to an external xsl stylesheet

b. has external general references

c. has processing instructions

d. has an external dtd

  • d. has an external dtd
Subscribe Now

Get All Updates & News