XML MCQ Quiz Hub

XML MCQ

Choose a topic to test your knowledge and improve your XML skills

What XML stands for?





✅ Correct Answer: 2

Which component of JDOM Parser represents DOM tree?





✅ Correct Answer: 1

Which of the following XPath expression selects attributes?





✅ Correct Answer: 3

When to use a SAX Parser?





✅ Correct Answer: 4

What DOM stands for?





✅ Correct Answer: 3

Which of the following is true about XML?





✅ Correct Answer: 4

Which of the following is true about XPath?





✅ Correct Answer: 3

Which of the following XPath expression selects the parent of the current node?





✅ Correct Answer: 2

When to use a DOM Parser?





✅ Correct Answer: 4

Which of the following statements is not true about XML Schemas





✅ Correct Answer: 4

What is not true about XSLT?





✅ Correct Answer: 3

Which of the following is not a XML storage option ?





✅ Correct Answer: 3

White spaces in XML includes





✅ Correct Answer: 3

XPATH used to





✅ Correct Answer: 1

The tags elements in XML are





✅ Correct Answer: 2

Node in XML is





✅ Correct Answer: 1

XML stands for ______________.





✅ Correct Answer: 1

XML is much more similar like __________.





✅ Correct Answer: 1

Which of the following is not a function of XML ?





✅ Correct Answer: 2

XML deals with storage and ____________ transport of data.





✅ Correct Answer: 2

XML with correct syntax is "_________" XML.





✅ Correct Answer: 2

XML validated against a __________ is considered as Valid XML.





✅ Correct Answer: 4

DTD Stands for _________.





✅ Correct Answer: 3

W3C supports an XML-based alternative to DTD, called _______.





✅ Correct Answer: 1

__________ is used to check XML for syntax errors.





✅ Correct Answer: 1

Below line of code is used for ? <?xml version="1.0" encoding="ISO-8859-1"?>





✅ Correct Answer: 3

Guess which version of XML is used ? <?xml version="1.0" encoding="ISO-8859-1"?>





✅ Correct Answer: 1

Which of the Node is considered as root node ? <?xml version="1.0" encoding="ISO-8859-1"?> <book> <bname>XML Tutorials</bname> <pages>100</pages> <price>$300.00</price> </book>





✅ Correct Answer: 3

Which of the following statement is false if we consider above XML document ? <?xml version="1.0" encoding="ISO-8859-1"?> <book> <bname>XML Tutorials</bname> <pages>100</pages> <price>$300.00</price> </book>





✅ Correct Answer: 3

How many nodes and attributes are there in the document ? <book category="Web"> <bname>XML Tutorials</bname> <pages>100</pages> <price>$300.00</price> </book>





✅ Correct Answer: 1

Point out the error in the following xml - <book category="Web"> <bname>XML Tutorials</bname> <pages>100</pages> <price>$300.00</Price> </book>





✅ Correct Answer: 1

Point out the error in following XML document - <messages> <message>Sample Message 1</messge> <message>Sample Message 1</messge> <message>Sample Message 1</messge> <message>Sample Message 1</messge> <message>Sample Message 1</messge> <message>Sample Message 1</messge> <messages>





✅ Correct Answer: 1

Point out the error in the following xml document - <?xml version="1.0" encoding="ISO-8859-1"?> <messages>Sample Message<messages> <messages>Sample Message<messages> <messages>Sample Message<messages>





✅ Correct Answer: 3

Point out the errors in the following xml document - <notes> <note date=12/11/2007> <to>Tove</to> <from>Jani</from> </note> <note date=12/11/2007> <to>Tove</to> <from>Jani</from> </note> <note date=12/11/2007> <to>Tove</to> <from>Jani</from> </note> </notes>





✅ Correct Answer: 3

Which of the following is the communication protocol that sets the standard used by every computer that access web-based information?





✅ Correct Answer: 2

DTD's are





✅ Correct Answer: 3

The words Document Node, Nodelist, Element Node, Named Node Map etc. are





✅ Correct Answer: 2

Which of the following creates push button?





✅ Correct Answer: 1

Scheme is





✅ Correct Answer: 3

XML





✅ Correct Answer: 2

Web links are stored within the page itself and when you wish to "jump" to the page that is linked, we select the hotspot or anchor. This technique is called





✅ Correct Answer: 3

Well formed XML





✅ Correct Answer: 3

XSL is





✅ Correct Answer: 1

How DOM differs from SAX?





✅ Correct Answer: 1

XML is a/an





✅ Correct Answer: 1

Namespace





✅ Correct Answer: 3

Document type declaration and document type definition are





✅ Correct Answer: 1

XSLT is





✅ Correct Answer: 2

MSXML is





✅ Correct Answer: 4

What is XML?





✅ Correct Answer: 2

Attributes in XML are





✅ Correct Answer: 1

Document Object Model (DOM) is a





✅ Correct Answer: 3

What standard, protocol or language was generalized to become a standard protocol for sending messages of any type, using any protocol?





✅ Correct Answer: 1

ADO.NET provides the ability to create and process in-memory databases called:





✅ Correct Answer: 4

An XML component that defines the structure of a document is known as a(n):





✅ Correct Answer: 2

XSLT processors evaluate each statement in the context of the match that has been made. That is, XSLT processors are:





✅ Correct Answer: 1

XML is:





✅ Correct Answer: 4

The document that is used by XSLT to indicate how to transform the elements of the XML document to another format is a(n):





✅ Correct Answer: 3