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

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

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!