XML/XML Mcq Question Set 3 Sample Test,Sample questions

Question:
  Which are the XML Syntax rules?

1.All XML Elements Must Have a Closing Tag

2.XML Tags are not Case Sensitive

3.XML Elements Must be Properly Nested

4.Both A & C


Question:
  Which is a software- and hardware-independent tool for carrying information?

1.HTML

2.XML

3.Both A & B

4.none of the above


Question:
 In which application can XML be used for marking up documents for specialized applications, such as e-commerce, scientific documents, Mathematical formula and e-books?

1.Data exchange between computer systems

2.Data storage

3.Specialized publishing

4.none of the above


Question:
 Which Characters are illegal in XML elements?

1." < "

2."&"

3.Both A & B

4.none of the above


Question:
 Which language is Extensible Markup Language (XML) similar?

1.HTML

2.PHP

3.avaScript

4.Wordpress


Question:
 Which of the following is not a function of XML?

1. Structure Information

2.Style Information

3.Transport Information

4.Store Information


Question:
 XML attribute values must always be enclosed in quotes

1. True

2. False

3.all of the above

4.None of the mentioned


Question:
 XML is a programming language like C# or Java.

1. True

2.False

3.all of the above

4.None of the mentioned


Question:
 XML is the most common tool for data transmissions between all sorts of applications

1.True

2.False

3.all of the above

4.None of the mentioned


Question:
A tool for reading XML documents is popularly called a

1.XML delimiters

2.XML processor

3.XML parser

4.Both b and c


Question:
Abbreviate the term DOM?

1.Developed Object Model

2. Document Object Model

3.Document Oriented Model

4.none of the above


Question:
An ¦¦¦¦¦¦.. block can be to embed a CSS style sheet within an XML document.

1. bk:Book

2.Element Type

3.HTML:STYLE

4. XML:STYLE


Question:
An XML parser converts an XML document into an XML DOM object, which can then be manipulated with JavaScript.

1. True

2.False

3.all of the above

4.None of the mentioned


Question:
Attribute standalone=no should be included in XML declaration if a document:

1.is linked to an external XSL stylesheet

2.has external general references

3.has processing instructions

4. has an external DTD


Question:
Elements from the HTML namespace are displayed as they would in ¦¦¦¦¦¦¦..

1.DHTML

2.XML

3.HTML

4.DXML


Question:
Find the correct syntax of the declaration which defines the XML Version?

1.< ?xml version= "1.0" ? >

2.< xml version="1.0"/ >

3.< ?xml version="1.0" / >

4.none of the above


Question:
In XML document comments are given as?

1.< !-- --!>

2.< !-- ?

3.< /-- -->

4. < ?-- ?


Question:
In XML which internet languages are markup languages for handheld devices?

1.WAP

2.WML

3.RSS

4.Both A & B


Question:
Is this a 'well formed' XML document?
< ?xml version="1.0"? >
< note >
< to age="29" >John< /to >
< from >Smiley< / from >
< / note >

1. True

2.False

3.all of the above

4.None of the mentioned


Question:
It informs the parser whether the document relies on the information from an external source?

1.Version

2.Encoding

3.Encoding

4.Standalone


Question:
The following example shows which XML Syntax rule,
< note date=" 12/11/2007">
< to>Tove< /to>
< from>Jani< /from>
< /note>

1. XML Attribute Values Must be Quoted

2.All XML Elements Must Have a Closing Tag

3.XML Tags are Case Sensitive

4.XML Elements Must be Properly Nested


Question:
The getElementsByTagName() method is used to retrieve data from an XML document.

1.True

2.False

3.all of the above

4.None of the mentioned


Question:
The tags message mark?

1.the start of the XML code

2. the end of the XML code

3.the start and the end of the XML code

4.none of the above


Question:
The XML format has a simpler set of ¦¦¦¦¦¦¦¦ than HTML.

1. loader rule

2.parsing rules

3.generator rule

4.logical rule


Question:
What are the advantages of DOM Parsing?

1.The DOM is a common interface for manipulating document structures

2.One of its design goals is that Java code written for one DOM-compliant parser should run on any other DOM-compliant parser without changes

3.Both of the above

4.none of the above


Question:
What are the components of an XML document?

1.Header, Root Element

2.Prolog, Root Element, Miscellaneous

3.Prolog, Header, Body

4.Prolog, Root Element


Question:
What is default value for Standalone?

1.Yes

2. No

3.Can't say

4.No default value


Question:
What is XML declaration with no parameters?

1.<?xml >

2.<?xml />

3. <xml >

4. <xml ?>


Question:
What is XML used to simplify?

1.Data storage

2.Data sharing

3.Both A & B

4.none of the above


Question:
Which allows hyperlinks to point to specific parts (fragments) of XML documents?

1. XPath

2.XSLT

3.XLink

4.Xpointer


Question:
Which are the main features of XML?

1.Text data description

2.Human- and computer-friendly format

3. Handles data in a tree structure having one-and only one-root element

4.All Mentioned above


Question:
Which are the techniques for defining the structure of a specific type of XML documents?

1.Schema

2. DTD

3.Both A & B

4.none of the above


Question:
Which character in the XML Element will generate an error because the parser interprets it as the start of a new element?

1. " < "

2. "&"

3.Both A & B

4.none of the above


Question:
Which is not a W3C-recommended specification?

1.SAX

2. DOM

3. Both A & B

4.none of the above


Question:
Which is the parameter value for version?

1.0.1

2.1

3. 1.1

4.2000


Question:
Which is used about text data that should not be parsed by the XML parser?

1.CDATA

2.PCDATA

3.None of the above

4.All of the Mentioned


Question:
Which of the following are correct rule for XML declaration?

1. If the XML declaration is included, it must contain version number attribute.

2.Either single or double quotes may be used.

3.The XML declaration has no closing tag

4. All of the above


Question:
Which of the following is false?

1.XML cannot be used for offloading and reloading of databases.

2.XML can easily be merged with style sheets

3. XML can be used to store and arrange the data

4.XML can be used to exchange the information between organizations and systems


Question:
Which of the following is not correct Parameter_value for encoding?

1.ISO-10646-UCS-2

2.ISO-10646-UCS-4

3.Shift_JIA

4. EUC-JP


Question:
Which of the following is the correct syntax of the declaration of XML version?

1. <xml version="1.0" />

2. <?xml version="1.0"?>

3. <?xml version="1.0" />

4.none of the above


Question:
Which of the following is true?

1.XML allows you to create your own self-descriptive tags, or language, that suits your application.

2.XML allows you to create your own self-descriptive tags, or language, that suits your application.

3. XML was developed by an organization called the World Wide Web Consortium (W3C) and is available as an open standard.

4. All of the above


Question:
XML documents must contain a root element; this element is "the parent" of all other elements

1.True

2. False

3.all of the above

4.None of the mentioned


Question:
XML First published on?

1. 1997

2.1998

3.1999

4.2000


Question:
XML is ?

1.Platform Independent

2.Language Independent

3. Both A & B

4.none of the above


Question:
XML is a markup language that defines set of rules for encoding documents in a format that is?

1.Human-readable

2.Machine-readable

3.Both human-readable and machine-readable

4.none of the above


Question:
XML is a text-based markup language derived from?

1.SGMA

2.SHML

3.SGML

4. DHML


Question:
XML is designed to carry data, and to display data

1.True

2. False

3.all of the above

4.None of the mentioned


Question:
XML is designed to store data and _____.

1.Design

2.Verify

3.Transport

4.Both A & B


Question:
XML was developed by an organization called?

1.w2c

2. w4c

3.w3c

4.WWWC


Question:
_______ contains details that prepare an XML processor to parse the XML document.

1. XML document

2. XML declaration

3.Both A and B

4.none of the above


More MCQS

  1. XML Mcq Question Set 1
  2. XML Mcq Question Set 2
  3. XML Mcq Question Set 3
  4. XML Mcq Question Set 4
  5. XML Mcq Question Set 5
  6. XML Multiple Choice Questions
  7. XML MCQ
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!