Top 50+ Solved eXtended Markup Language (XML) MCQ Questions Answer
Q. What does XML stand for?
a. extra modern link
b. extensible markup language
c. example markup language
d. x-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
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
Q. Kind of Parsers are
a. well-formed
b. well-documented
c. non-validating and validating
d. none of the above
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
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
Q. Which of the following strings are a correct XML name?
a. _myelement
b. my element
c. #myelement
d. none of the above
Q. Which of the following strings are a correct XML name?
a. xmlextension
b. xslnewelement
c. xmlelement#123
d. all
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"?>
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