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

Question:
 A DSO operates like

1.data simulation object at server side

2.dynamic source object at client side

3.data source object at client side

4.data simulation object at client side

Posted Date:-2022-02-08 01:24:10


Question:
 The XSL formating object use to format a list is

1. list-block

2.list-item

3. list-item-body

4. list-item-label

Posted Date:-2022-02-08 01:24:32


Question:
 Which of the following instruct the browser which stylesheet to use

1.<xml-stylesheet type="text/xsl" href="cd.xsl">

2.<xml-stylesheet type="text/xsl" xsl="cd.xsl">

3. <?xml-stylesheet type="text/xsl" href="cd.xsl"?>

4.<?xml-stylesheet type="text/xsl" xsl="cd.xsl"?>

Posted Date:-2022-02-08 01:33:35


Question:
 Which of the following is a valid XSLT iteration command

1.for

2.for-all

3. for-each

4.in-turn

Posted Date:-2022-02-08 01:37:10


Question:
 Which of the following is not a xml data type method?

1. query()

2.value()

3.nodes()

4.none of the above

Posted Date:-2022-02-08 01:45:10


Question:
 Which of the following specify that the order and content of "membership" is not important

1.<!ELEMENT membership NORULE>

2.<!ELEMENT membership EMPTY>

3. <!ELEMENT membership ALL>

4. <!ELEMENT membership ANY>

Posted Date:-2022-02-08 01:32:50


Question:
 XSL stands for

1.Extensible Style sheet Language

2.Extensible Style Language

3.Exclusive Stylesheet Language

4. Exclusive Style Language

Posted Date:-2022-02-08 02:49:14


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

Posted Date:-2022-02-08 02:48:42


Question:
A validating XML application should be used when:

1. the design demands that all elements use both start and end tags

2.missing or out-of-place elements could cause application errors

3.attribute values cannot refer to external entity references

4.High performance is an important architectural constraint

Posted Date:-2022-02-08 01:23:41


Question:
An element declaration specifies

1.a single markup element

2.zmarkup elements

3.markup data

4.the document data

Posted Date:-2022-02-08 01:32:08


Question:
DOM stands for

1. Data Object Model

2.Document Object Model

3.Document oriented Model

4.none of the above

Posted Date:-2022-02-08 01:44:21


Question:
DTD Stands for______.

1.Document Type Definition

2.Document Transport Direction

3.Document Transcript Definition

4.none of the above

Posted Date:-2022-02-08 01:43:21


Question:
From what set of names do NCNames derive?

1.Any combination of characters allowable in XML

2.Any names conforming to XML Names, minus the colon

3.Any names for elements and attributes within the DTD to which the namespace refers

4.None of the above.

Posted Date:-2022-02-08 01:40:45


Question:
Identify the most accurate statement about the application of XML:

1.XML must be used to produce XML and HTML output.

2.XML cannot specify or contain presentation information.

3.XML is used to describe hierarchically organized information.

4.XML performs the conversion of information between different e-business applications.

Posted Date:-2022-02-08 01:25:04


Question:
In XML the attribute value must always be quoted with .......

1.double quotes

2. single quotes

3. both a and b

4.name of attributes

Posted Date:-2022-02-08 02:50:07


Question:
InXSLT style sheet we have syntax to match elements with id as (if id is “ change” )

1. <xsl:template match=” id(‘change’)” >

2. <xsl:template match=” (change)”>

3. <xsl:template match=” change”>

4.<xsl:template match-id=”Change”>

Posted Date:-2022-02-08 01:31:28


Question:
Is it easier to process XML than HTML?

1. True

2.False

3.all of the above

4.None of the mentioned

Posted Date:-2022-02-08 01:45:43


Question:
NC-Name stands for

1.Non-Conforming Name

2.Non-Colonized Name

3.Non-Common Name

4.none of the above

Posted Date:-2022-02-08 01:47:46


Question:
PI in XML specification stands for

1.C.14

2.priceless instruction

3.processing instruction

4. polymorphic inheritance

Posted Date:-2022-02-08 01:22:22


Question:
Schema data type can be specified using

1.Dt:type

2.Data Type

3.XLink

4.All of the above

Posted Date:-2022-02-08 01:46:13


Question:
The correct priority for implementing XML based IETMs is :

1.Develop DTD, conduct a pilot project, create a modular library, train staff.

2. Train staff, convert legacy documents, develop DTD, create modular library.

3.Conduct pilot program, train staff, create modular library, develop DTD

4.Conduct pilot program, train staff, develop DTD, convert documents, purchace XML tools.

Posted Date:-2022-02-08 01:38:20


Question:
The following best describes the development of XML.

1. XML developed from HTML because WEB browsers became more powerful.

2.XML is designed as a replacement because SGML can not be used for document development.

3.XML builds on HTMLs ability to provide content to virtually any audience by adding the power of intelligent content.

4. XML is the modern replacement for HTML and SGML, taking the good points from each, making both of those languages obsolete.

Posted Date:-2022-02-08 01:37:59


Question:
The syntax for writing default values for element is

1. <xsd:element name=”max” type=” xsd:integer” value=” 100” />

2.<xsd:element name=”max” type=” xsd:integer” fixValue=” 100” />

3.<xsd:element name=”max” type=” xsd:integer” default=” 100” />

4.<xsd:element name=”max” type=” xsd:integer” defaultval=” 100” />

Posted Date:-2022-02-08 01:28:27


Question:
The syntax for writing the minimum occurrence for an element is

1. <xsd:element ref=” note” min=” 0” />

2. <xsd:elements ref=” note” min=” 0” />

3. <xsd:elements ref=” note” minOccur=”0” />

4.<xsd:elements ref=” note” minOccurs=” 0” />

Posted Date:-2022-02-08 01:28:00


Question:
The transformation of XML document in to another type of document by XSLT can be done by

(i)In the server
(ii)In the client
(iii)With a separate program

1. only(i) & (ii)

2.only (ii) & (iii)

3.all are correct

4.only (i) & (iii)

Posted Date:-2022-02-08 01:30:27


Question:
The XSL formating object use to hold the content of the label of a list item is

1.list-block

2.list item

3. list-item-body

4. list-item-label

Posted Date:-2022-02-08 01:26:27


Question:
The XSL formating object use to hold the contents of the body of a list item is

1.list-block

2.list item

3. list-item-body

4.list-item-label

Posted Date:-2022-02-08 01:26:47


Question:
The XSL formating object which holds the content of the table body

1.table

2.table-body

3. table-content

4.table-footer

Posted Date:-2022-02-08 01:25:47


Question:
The XSl formatting object which formats the data and caption of a table is

1.table

2.table-content

3.table-text

4.none of the above

Posted Date:-2022-02-08 01:25:26


Question:
The XSL formatting object which formats the data in a table

1. table

2.table-body

3.title

4. table-content

Posted Date:-2022-02-08 01:26:07


Question:
To match the specific XML elements child like of parent element is the syntax will be

1. <xsl:template match=”PLANET_NAME”>

2.<xsl:template match=”PLANET/NAME”>

3.<xsl:template match=”/NAME”>

4.<xsl:template match=”//”>

Posted Date:-2022-02-08 01:21:59


Question:
To match the specific XML elements in XMLT the syntax for given name “ rootnode” is

1.<xsl:template match=” root”>

2.<xsl:template match=” /”>

3. <xsl:template match=” rootnode” >

4.<xsl:template match=” //”>

Posted Date:-2022-02-08 01:30:56


Question:
To match the text node (in XSLT) the syntax will be

1.<xsl:template match=” text”>

2.<xsl:template match-text=” text”>

3. <xsl:template match=text( )>

4. <xsl:template match=” text( )” >

Posted Date:-2022-02-08 01:31:47


Question:
To use XSLT in an XML system:

1. the input and output of the XSLT processor must be unparsed XML documents

2.the input and output of the XSLT processor must be a hierarchical tree representing an XML document

3.the XSLT processor must be called from a web agent

4.the XSLT processor must be given the DTD as well as the XML document instance

Posted Date:-2022-02-08 01:28:49


Question:
Well formed XML document means(most appropriate)

1.it contains a root element

2.it contain an element

3. it contains one or more elements

4.must contain one or more elements and root element must contain all other elements

Posted Date:-2022-02-08 01:32:30


Question:
What is a NCName

1.A Non-Common Name

2.A Non-Conforming Name

3. A Non-Colonized Name

4.none of the above

Posted Date:-2022-02-08 01:39:33


Question:
What is a qualified name?

1.Any name conforming to the XML Names specification

2. A name having prefix and local name separated by a colon

3.A name applying only to qualified elements and attributes

4.none of the above

Posted Date:-2022-02-08 01:39:08


Question:
What is an advantage of XML compared to HTML?

1. XML works on more platforms.

2.XML is suited to using Web pages as front ends to databases.

3.XML was designed for portable phones.

4.XML is simpler to learn than HTML.

Posted Date:-2022-02-08 01:37:30


Question:
What is an XML namespace?

1.A set of names applied to specific spaces within an XML document, such as the head and body

2.A set of names representing a specific XML vocabulary

3.A set of names for XML documents pertaining to a particular vocabulary

4.None of the above.

Posted Date:-2022-02-08 01:40:16


Question:
What is the default namespace

1.The namespace used by default when no namespace is declared

2.The namespace used when two or more namespaces are referenced

3.A namespace that is referenced with the xmlns attribute, but without a prefix

4.none of the above

Posted Date:-2022-02-08 01:39:55


Question:
What is the main use of XML?

1. To design data

2.To transport data

3.To verify data

4.All of the above

Posted Date:-2022-02-08 01:42:58


Question:
What is the role of the XPath language in XSL processing?

1. XPath identifies the order or path of processing to be followed as the XSL language is processed

2.XPath identifies locations in XML data to be transformed in the source tree and the locations to be generated in output tree specified in XSL translation prescriptions

3.XPath identifies the path to be followed in the execution of XSL translation prescriptions

4. XPath specifies which XSL transform files are to be used in the translation of XML

Posted Date:-2022-02-08 01:29:16


Question:
Which allows hyperlinks to print to specific parts of XML documents

1.Xhtml

2.Xpointer

3.XLink

4.none of the above

Posted Date:-2022-02-08 01:46:37


Question:
Which are the example of xml based multimedia language

1. HTML

2.HTML

3.XML

4.Both A & B

Posted Date:-2022-02-08 01:47:04


Question:
Which Internet Language Is Used For Describing Available Web Services In XML?

1. RSS

2.WSDL

3.OWL

4.RDF

Posted Date:-2022-02-08 01:49:03


Question:
Which is not a XML Function?

1. Style Information

2.Store Information

3.Transport Information

4.Structure Information

Posted Date:-2022-02-08 01:48:42


Question:
Which language is case sensitive?

1.XML

2.HTML

3.Both A & B

4.none of the above

Posted Date:-2022-02-08 01:44:45


Question:
Which of the following is used to specify the attribute list of an element

1.ATTLIST

2.?ATTLIST

3. !ATTLIST

4.#ATTLIST

Posted Date:-2022-02-08 01:33:11


Question:
Which of the following programs support xml?

1.Internet Explorer

2.Netscape

3.Firefox Plug-in

4.Both A & B

Posted Date:-2022-02-08 01:47:25


Question:
Which of the following statements is true:

1.XML is a direct subset of SGML

2.SGML is an application of HTML

3.XML is a kind of dynamic HTML

4.XHTML is XML rewritten in HTML

Posted Date:-2022-02-08 01:38:42


Question:
Which of the following XSLT Patterns is used to match any descendant nodes

1./

2. //

3. .

4...

Posted Date:-2022-02-08 01:33:58


Question:
Which of the following XSLT Patterns is used to match the parent node

1./

2.//

3. .

4. ..

Posted Date:-2022-02-08 01:36:52


Question:
Which statement correctly describes the capabilities of the XSLT language?

1.XSLT uses the DTD to determine how XML documents will be translated

2.XSLT specifies how a hierarchical trees, representable by an XML document may be translated into non-hierarchical formats

3.XSLT specifies how a hierarchical tree, representable by an XML document, may be translated into another hierarchical tree, also representable by an XML document

4.XSLT specifies the formatting style to be used to render an XML document

Posted Date:-2022-02-08 01:29:42


Question:
Which statement is true?

1.All XML Elements Must Have A Closing Tag

2.All XML Documents Must Have A DTD

3.All XML Elements Must Be Lower Case

4.All of the above

Posted Date:-2022-02-08 01:48:10


Question:
XML datatype was introduced in which year of the following versions of SQL Server?

1.SQL Server 2000

2.SQL Server 2001

3.SQL Server 2003

4.SQL Server 2005

Posted Date:-2022-02-08 01:42:33


Question:
XML tabs are ........

1.case sensitive

2.case insnesitive

3.easy

4.deficult

Posted Date:-2022-02-08 02:49:43


Question:
XML tags are

1.Complex

2.Case Sensitive

3.Case Insensitive

4.none of the above

Posted Date:-2022-02-08 01:43:49


Question:
XSL has “ block container” for formating the document

1. to create a display block to format the titles

2. to create a display block to format the paragraphes

3. to create a display block to format the headlines & figures

4.to create a block level reference area

Posted Date:-2022-02-08 01:27:36


Question:
XSL has formatting object “ block”

1.is not supported in XSL

2.generates a block level reference area

3.create a display block

4.groups global declarations for a style sheet

Posted Date:-2022-02-08 01:27:09


Question:
XSLT processors accept as input:

1.an XML conforming document file and an XSLT specification file

2.only an XML document

3.only an XSLT specification

4.either an XML document or an XSLT specification

Posted Date:-2022-02-08 01:30:04


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!