GkSeries.com

XML Interview Questions and Answers | XML MCQs

(1) Which of the following XML documents are well-formed?

[A] A.
[B] B.
[C] C.
[D] D.
Answer: B
(2) Which of the following XML fragments are well-formed?

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

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

(3) 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
Answer: required when validating XML documents
(4) Parameter entities can appear in
[A] xml file
[B] dtd file
[C] xsl file
[D] Both 1 and 2
Answer: dtd file
(5) 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
Answer: has an external DTD
(6) In XML
[A] the internal DTD subset is read before the external DTD
[B] the external DTD subset is read before the internal DTD
[C] there is no external type of DTD
[D] there is no internal type of DTD
Answer: the internal DTD subset is read before the external DTD
(7) Disadvantages of DTD are

(i)DTDs are not extensible

(ii)DTDs are not in to support for namespaces

(iii)there is no provision for inheritance from one DTDs to another

[A] (i) is correct
[B] (i),(ii) are correct
[C] (ii),(iii) are correct
[D] (i),(ii),(iii) are correct
Answer: (i),(ii),(iii) are correct
(8) The default model for complex type, in XML schemas for element is
[A] textOnly
[B] elementOnly
[C] no default type
[D] both 1 & 2
Answer: elementOnly
(9) Microsoft XML Schema Data types for Hexadecimal digits representating octates
[A] UID
[B] UXID
[C] UUID
[D] XXID
Answer: UUID
(10) A schema describes

(i) grammer

(ii) vocabulary

(iii) structure

(iv) datatype of XML document

[A] (i) & (ii) are correct
[B] (i),(iii) ,(iv) are correct
[C] (i),(ii),(iv) are correct
[D] (i),(ii),(iii),(iv) are correct
Answer: (i),(ii),(iii),(iv) are correct

Please share this page

Click Here to Read more questions

Teacher Eligibility Test