XML MCQ Quiz Hub

XML MCQ

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

1. What XML stands for?




2. Which component of JDOM Parser represents DOM tree?




3. Which of the following XPath expression selects attributes?




4. When to use a SAX Parser?




5. What DOM stands for?




6. Which of the following is true about XML?




7. Which of the following is true about XPath?




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




9. When to use a DOM Parser?




10. Which of the following statements is not true about XML Schemas




11. What is not true about XSLT?




12. Which of the following is not a XML storage option ?




13. White spaces in XML includes




14. XPATH used to




15. The tags elements in XML are




16. Node in XML is




17. XML stands for ______________.




18. XML is much more similar like __________.




19. Which of the following is not a function of XML ?




20. XML deals with storage and ____________ transport of data.




21. XML with correct syntax is "_________" XML.




22. XML validated against a __________ is considered as Valid XML.




23. DTD Stands for _________.




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




25. __________ is used to check XML for syntax errors.




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




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




28. 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>




29. 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>




30. 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>




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




32. 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>




33. 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>




34. 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>




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




36. DTD's are




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




38. Which of the following creates push button?




39. Scheme is




40. XML




41. 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




42. Well formed XML




43. XSL is




44. How DOM differs from SAX?




45. XML is a/an




46. Namespace




47. Document type declaration and document type definition are




48. XSLT is




49. MSXML is




50. What is XML?




51. Attributes in XML are




52. Document Object Model (DOM) is a




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




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




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




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




57. XML is:




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