GkSeries.com

XML Objective Questions and Answers | XML MCQs

(1) Which of the following strings are a correct XML name?
[A] xmlExtension
[B] xslNewElement
[C] XMLElement#123
[D] All
Answer: xslNewElement
(2) Which of the following XML fragments are well-formed?

[A] A.
[B] B.
[C] C.
[D] D.
Answer: B

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

(3) What are the predefined attributes
[A] xml:lang
[B] xml:space
[C] both
[D] none.
Answer: both
(4) Kind of Parsers are
[A] well-formed
[B] validating
[C] non-validating
[D] Both B & C
Answer: Both B & C
(5) 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
Answer: the XML document has DTD associated with it & it complies with that DTD
(6) XML uses the features of
[A] HTML
[B] XHTML
[C] VML
[D] SGML
Answer: SGML
(7) XML document can be viewed in
[A] IE C.0
[B] IE B.0
[C] IE 6.0
[D] IE X.0
Answer: IE 6.0
(8) 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
Answer: Both A and C
(9) What does DTD stand for?
[A] Direct Type Definition
[B] Document Type Definition
[C] Do The Dance
[D] Dynamic Type Definition
Answer: Document Type Definition
(10) 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
Answer: the browser name

Please share this page

Click Here to Read more questions

Teacher Eligibility Test