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

Article and Schedule Quiz Start Test!
(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

Take Mock Tests

Missiles Mock Test Start Test!
SSC MTS Mock Test Start Test
IBPS CLERK MOCK TEST Start Test
SSC MTS 2022 JULY 26 Shift 1 (ENGLISH) Start Test!
SSC GD Previous Year Paper 2021 Nov 17 Shift - I (Hindi) Start Test!
SSC CGL Tier - 1 PYP 2022 April 21 Shift- 1 (ENGLISH) Start Test!
MPSC PAPER I MOCK TEST 1 (ENGLISH) Start Test!
IB Security Assistant Mock test 1 (english) Start Test!
UP POLICE CONSTABLE MOCK TEST 1 Start Test!
DELHI POLICE CONSTABLE MOCK TEST 1 (HINDI) Start Test!