XML
IMPORTANT MCQs
FOR
ONLINE EXAM
1. XML stands for?
A. Extensible Markup Language.
B. Extensible Hypertext Markup Language.
C. Extended Markup Language.
D. Extend Markup Language.
Ans : A
Explanation: XML stands for Extensible Markup Language.
2. XML is a text-based markup language derived from?
A. SGMA
B. SHML
C. SGML
D. DHML
Ans : C
Explanation: XML stands for Extensible Markup Language. It is a
text-based markup language derived from Standard Generalized
Markup Language (SGML).
3. XML First published on?
A. 1997
B. 1998
C. 1999
D. 2000
Ans : B
Explanation: First published: February 10, 1998
4. XML was developed by an organization called?
A. w2c
B. w4c
C. w3c
D. WWWC
Ans : C
Explanation: XML was developed by an organization called the World
Wide Web Consortium (W3C)
5. Which of the following is the correct syntax of the declaration of
XML version?
A. <xml version="1.0" />
B. <?xml version="1.0"?>
C. <?xml version="1.0" />
D. None of the above
Ans : B
Explanation: Option B is the correct syntax of the declaration of XML
version.
6. XML is designed to ____________ and store data.
A. Design
B. Verify
C. None of these
D. Transport
Ans : D
7. 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
Ans: D
8. Comment in XML document is given by
A. <?-- -->
B. <!-- --!>
C. <!-- -->
D. </-- -- >
Ans: C
9. What does DTD stand for?
A. Direct Type Definition
B. Document Type Definition
C. Do The Dance
D. Dynamic Type Definition
Ans: B
10. An element declaration specifies
A. a single markup element
B. zmarkup elements
C. markup data
D. the document data
Ans: A
11. Well formed XML document means(most appropriate)
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
Ans: D
12.What is an advantage of XML compared to HTML?
A. XML works on more platforms.
B. XML is suited to using Web pages as front ends to databases.
C. XML was designed for portable phones.
D. XML is simpler to learn than HTML.
Ans: B
Like share and
subscribe!
KEEP WATCHING…

Xml ppt

  • 1.
  • 2.
    1. XML standsfor? A. Extensible Markup Language. B. Extensible Hypertext Markup Language. C. Extended Markup Language. D. Extend Markup Language. Ans : A Explanation: XML stands for Extensible Markup Language. 2. XML is a text-based markup language derived from? A. SGMA B. SHML C. SGML D. DHML Ans : C Explanation: XML stands for Extensible Markup Language. It is a text-based markup language derived from Standard Generalized Markup Language (SGML).
  • 3.
    3. XML Firstpublished on? A. 1997 B. 1998 C. 1999 D. 2000 Ans : B Explanation: First published: February 10, 1998 4. XML was developed by an organization called? A. w2c B. w4c C. w3c D. WWWC Ans : C Explanation: XML was developed by an organization called the World Wide Web Consortium (W3C)
  • 4.
    5. Which ofthe following is the correct syntax of the declaration of XML version? A. <xml version="1.0" /> B. <?xml version="1.0"?> C. <?xml version="1.0" /> D. None of the above Ans : B Explanation: Option B is the correct syntax of the declaration of XML version. 6. XML is designed to ____________ and store data. A. Design B. Verify C. None of these D. Transport Ans : D
  • 5.
    7. Well formedXML 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 Ans: D 8. Comment in XML document is given by A. <?-- --> B. <!-- --!> C. <!-- --> D. </-- -- > Ans: C
  • 6.
    9. What doesDTD stand for? A. Direct Type Definition B. Document Type Definition C. Do The Dance D. Dynamic Type Definition Ans: B 10. An element declaration specifies A. a single markup element B. zmarkup elements C. markup data D. the document data Ans: A
  • 7.
    11. Well formedXML document means(most appropriate) 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 Ans: D 12.What is an advantage of XML compared to HTML? A. XML works on more platforms. B. XML is suited to using Web pages as front ends to databases. C. XML was designed for portable phones. D. XML is simpler to learn than HTML. Ans: B
  • 8.