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

From 1 to 15 of 25

Q. What does XML stand for?

a. extra modern link

b. extensible markup language

c. example markup language

d. x-markup language

  • b. extensible markup language

Q. What is the correct syntax of the declaration which defines the XML version?:

a. <xml version="0" />

b. <?xml version="a.0"?>

c. <?xml version="a.0" />

d. none of the above

  • b. <?xml version="a.0"?>

Q. Is it easier to process XML than HTML?

a. yes

b. no

c. somtimes

d. cant say

  • a. yes

Q. Which of the following programs support XML or XML applications?:

a. internet explorer 5.5

b. netscape d.7

c. realplayer.

d. both a and b

  • d. both a and b

Q. Kind of Parsers are

a. well-formed

b. well-documented

c. non-validating and validating

d. none of the above

  • c. non-validating and validating

Q. Well formed XML document means

a. it contains a root element

b. it contain an element

c. it contains one or more elements

d. must contain one or more elements and root element must contain all other elements

  • d. must contain one or more elements and root element must contain all other elements

Q. Comment in XML document is given by

a. <?-- -->

b. <!-- --!>

c. <!-- -->

d. </-- -- >

  • c. <!-- -->

Q. When processing an output XML, "new line" symbols

a. are copied into output "as is", i.e. "cr+lf" for windows, cr for macintosh, lf for unix.

b. are converted to single lf symbol

c. are converted to single cr symbol

d. are discarded

  • b. are converted to single lf symbol

Q. Which of the following strings are a correct XML name?

a. _myelement

b. my element

c. #myelement

d. none of the above

  • a. _myelement

Q. Which of the following strings are a correct XML name?

a. xmlextension

b. xslnewelement

c. xmlelement#123

d. all

  • b. xslnewelement

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

a. <?xml?>

b. <?xml version="a.0"?>

c. <?xml encoding="jis"?>

d. <?xml encoding="jis" version="a.0"?>

  • b. <?xml version="a.0"?>

Q. What are the predefined attributes

a. xml:lang

b. xml:space

c. both

d. none.

  • c. both

Q. Kind of Parsers are

a. well-formed

b. validating

c. non-validating

d. both b & c

  • d. both b & c

Q. Valid XML document means (most appropriate)

a. the document has root element

b. the document contains atleast one or more root element

c. the xml document has dtd associated with it & it complies with that dtd

d. each element must nest inside any enclosing element property

  • c. the xml document has dtd associated with it & it complies with that dtd

Q. XML uses the features of

a. html

b. xhtml

c. vml

d. sgml

  • d. sgml
Subscribe Now

Get All Updates & News