<< Home



XML Multiple Choice Questions


Page 1 2 3 4  >>>
Page 1 2 3 4  >>>

76. 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)

See Answers of Question no. 76



77: To match the root node in XMLT transform the syntax will be

(1) <xsl:template match=”Document”>
(2) <xsl:template match=”Root”>
(3) <xsl:template match=”RootNode”>
(4) <xsl:template match=” /” >


See Answers of Question no. 77

78: 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=” //”>

See Answers of Question no. 78

79. 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=” //”>

See Answers of Question no. 79

80. 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”>

See Answers of Question no. 80

81. 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( )” >

See Answers of Question no. 81

82. An element declaration specifies

1. a single markup element
2. zmarkup elements
3. markup data
4. the document data

See Answers of Question no. 82

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

See Answers of Question no. 83

84: 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>

See Answers of Question no. 84

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

1. ATTLIST
2. ?ATTLIST
3. !ATTLIST
4. #ATTLIST

See Answers of Question no. 85

86: 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"?>

See Answers of Question no. 86

88: Which of the following XSLT Patterns is used to match any descendant nodes
1) /
2) //
3) .
4) ..

See Answers of Question no. 88

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

1) /
2) //
3) .
4) ..

See Answers of Question no. 89

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

1) for
2) for-all
3) for-each
4) in-turn

See Answers of Question no. 90

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

See Answers of Question no. 91

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

See Answers of Question no. 92

93) 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.

See Answers of Question no. 93

94. 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
5. SGML and XML are the same thing

See Answers of Question no. 94

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

See Answers of Question no. 95

96. What is a NCName

1. A Non-Common Name
2. A Non-Conforming Name
3. A Non-Colonized Name
4. None of the above

See Answers of Question no. 96

97. If a namespace is attached to an element by prefix, what is the effect on non-prefixed child elements

1. Nothing
2. The namespace affects the immediate nonprefixed child elements, but no others
3. The namespace affects all child elements of the element to which the namespace is attached no matter what level.
4. None of the above

See Answers of Question no. 97

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

See Answers of Question no. 98

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

See Answers of Question no. 99

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

See Answers of Question no. 100


ANSWERS-->

76. The transformation of XML document in to another type of document by XSLT can be done by

(3) all are correct  <ANS>

Goto Question no. 76

77: To match the root node in XMLT transform the syntax will be

(4) <xsl:template match=” /” >  <ANS>


Goto Question no. 77


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

(3) <xsl:template match=” rootnode” >  <ANS>

Goto Question no. 78


79. To match the specific XML elements child like of parent element is the syntax will be

(2) <xsl:template match=” PLANET/NAME” >  <ANS>

Goto Question no. 79


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

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

Goto Question no. 80


81. To match the text node (in XSLT) the syntax will be

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

Goto Question no. 81


82. An element declaration specifies

1. a single markup element

Goto Question no. 82


83. Well formed XML document means(most appropriate)

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

Goto Question no. 83


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

4. <!ELEMENT membership ANY>  <ANS>

Goto Question no. 84


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

3. !ATTLIST  <ANS>

Goto Question no. 85


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

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

Goto Question no. 86


88: Which of the following XSLT Patterns is used to match any descendant nodes
2) //  <ANS>

Goto Question no. 88


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

4) ..  <ANS>

Goto Question no. 89


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

3) for-each  <ANS>

Goto Question no. 90


91.What is an advantage of XML compared to HTML?

2) XML is suited to using Web pages as front ends to databases.  <ANS>

Goto Question no. 91


92.The following best describes the development of XML.

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

Goto Question no. 92


93) The correct priority for implementing XML based IETMs is :

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

Goto Question no. 93


94. Which of the following statements is true:

1. XML is a direct subset of SGML  <ANS>

Goto Question no. 94


95. What is a qualified name?

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

Goto Question no. 95


96. What is a NCName

3. A Non-Colonized Name  <ANS>

Goto Question no. 96


97. If a namespace is attached to an element by prefix, what is the effect on non-prefixed child elements

1. Nothing
2. The namespace affects the immediate nonprefixed child elements, but no others
3. The namespace affects all child elements of the element to which the namespace is attached no matter what level.
4. None of the above

Goto Question no. 97


98. What is the default namespace

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

Goto Question no. 98


99.What is an XML namespace?

2. A set of names representing a specific XML vocabulary  <ANS>

Goto Question no. 99


100. From what set of names do NCNames derive?

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

Goto Question no. 100


Page 1 2 3 4  >>>



 
Copyright © 2006-2012 ExamBlast.com Last Updated 08-April-2012