Which of the following statements are true
and which are false in the case of XML?
- XML was designed to describe data.
- True
- False
- XML tags are predefined.
- True
- False
- XML consists of rules to identify and define different parts of the document.
- True
- False
- XML offers a standard way to add markup to documents.
- True
- False
- XML forms the basics to create languages like WAP and WML.
- True
- FalseWhich of the statements about XML are true and which of the statements are false?
- XML describes its data along with its presentation.
- True
- False
- Client reduces the server load by sending large amount of information in one XML document to the server.
- True
- False
- XML uses only XSLT to be transformed to HTML.
- True
- False
- XML can be implemented as middle-tier for client server architectures.
- True
- False
- XML allows data exchange as it has no formatting instructions.
- True
- FalseWhich of the statements about the structure of XML documents are true and which statements are false?
- XML documents are stored with .xml extension.
- True
- False
- Document prolog can consist of version declaration, DTD comments and processing instructions.
- True
- False
- XML declaration informs the processing agent about the version of XML being used.
- True
- False
- Root element must not be nonempty tag.
- True
- False
- The logical structure gives information about the elements and the order in which they are to be included in the document.
- True
- FalseWhich of the characteristic are true or false accordingly when an XML document is created by an XML editor?
- XML syntax is colored.
- True
- False
- XML is not validated.
- True
- False
- XML parser reads the document after it is created.
- True
- False
- XML is transformed only via XSLT.
- True
- False
- XML document is edited by keeping DTD in mind.
- True
- FalseWhich of the statements about XML browsers and parsers are true and which statements are false?
- XML parser is calculated against its speed and performance.
- True
- False
- XML parser checks for validity and well formed ness.
- True
- False
- XML parser does its work after the processor converts the document into a data structure.
- True
- False
- Browser displays the content directly after the parser passes the data.
- True
- False
- Crimson and Xerces are some of the browser.
- True
- FalseWhich of the following statements are true in the case of comments and processing instructions in XML?
- Comments are processed by the processor.
- True
- False
- Comments appear only in the document prolog.
- True
- False
- Processing instructions are application specific.
- True
- False
- Processing instructions are passed to the target.
- True
- False
- </PITarget<instructon>/> is a processing instruction.
- True
- FalseWhich of the following statements are valid for character data in XML?
- Character data is treated as regular text.
- True
- False
- Character like “>” and “&” can be used in PCDATA sections.
- True
- False
- Character like “>” and “&” can be used in CDATA sections.
- True
- False
- CDATA starts with “<[!CDATA[“and ends with”]]>”
- True
- False
- Parameter entities use ampersand (&) and semicolon (;) as delimiters.
- True
- FalseWhich one of the following code snippets will give an output as“Hi,The test is on Wednesday.RegardsSam.12/2/2007”1. <?xml version="1.0" encoding="iso-8859-1"?><Matter><Wish> Hi, </Wish><Body> The test in on Wednesday. </Body><Close>RegardsSam.</Close><Date><Day>12</Day><Month>2</Month><Year>2007</Year></Date></Matter>2. <?xml version="1.0" encoding="iso-8859-1"?><Matter><Wish> Hi, </Wish></Matter><Body> The test in on Wednesday. </Body><Close>RegardsSam.</Close><Date><Day>12</Day><Month>2</Month><Year>2007</Year></Date>3. <?xml version="1.0" encoding="iso-8859-1"?><Matter><Wish> Hi, </Wish><Body> The test in on Wednesday. </Body><Close>RegardsSam.</Close><Date><Day>12</Day><Month>2</Month><Year>2007</Year></Date>4. <?xml version="1.0" encoding="iso-8859-1"?><Matter>Hi,<Body> The test in on Wednesday. </Body><Close>RegardsSam.</Close><Date><Day>12</Day><Month>2</Month><Year>2007</Year></Date></Matter>Which of the following code snippets produce an output?1. <?xml version="1.0" encoding="iso-8859-1"?><xml>9100203845902Did you understand the concept?2345923-23934</xml>2. <?xml version="1.0" encoding="iso-8859-1"?><confirmation><question>Did you understand theconcept?</question></confirmation><sender>sender : 9100203845902<recipient>Recipient: 2345923-23934<recipient>3. <?xml version="1.0" encoding="iso-8859-1"?><confirmation><sender>sender : 9100203845902</sender><question> Did you understand the concept? </question><recipient>Recipient: 2345923-23934</recipient></confirmation>4. <?xml version="1.0" encoding="iso-8859-1"?>Sender : 9100203845902Recipient : 2345823239<confirmation><question>Did you understand theconcept ?</quesion></confirmation>
0 nhận xét:
Đăng nhận xét