Site MapHelpFeedbackMultiple Choice
Multiple Choice
(See related pages)

Click on the correct response for each question below.



1

XSL has split into both ______________________.
A) XSLT and XSLFO.
B) XSLT and XSTYLE.
C) XSLT and XFORMAT.
D) XPATH and XJAVA.
E) XNODE and XDOM.
2

We can think of an XSLT document as a ________________.
A) a set of programming instructions including structure like DO-WHILE, DO-UNTIL, etc..
B) a set of templates.
C) a set of external entity descriptions
D) a set of XPath notations
E) set of CSS specifications and expressions
3

Which of the following statements is true of a template?
A) We can have as many templates as nodes.
B) The XSLT processor will match the node names to our criteria based on the patterns.
C) When a match is not found, a built-in template is used by default.
D) All of the above are true.
E) B and C are both true.
4

If we need to process the elements of an XML document in the ascending order an element, we can use the _______________
A) <xsl:order by>
B) <xsl:sort>
C) <xsl:order-by select="condition">.
D) <xsl:sort select="condition">
E) <xsl:sequence-by node_name="nodename " order="descending or ascending">
5

Which of the following xsl statement would process the descendants of the TEAM_NAME nodes?
A) <!xsl:apply-templates select="../TEAM_NAME"/>
B) <@xsl:apply-templates select="../TEAM_NAME"/>
C) <!--xsl:apply-templates select="..\\/TEAM_NAME"/>
D) <xsl:apply-templates select="..\\TEAM_NAME"/>
E) None of the above
6

In XSLT, we can use the _________________ symbol for the greater comparison operator.
A) >
B) &isGreaterThan;
C) >
D) >;
E) None of the above.
7

The XSLT statement's syntax to output a data in percentage is:
A) <xsl:value-of select="format-number(value or expression evaluating to a number), '##0.0%')"/>
B) <xsl:value-of select="Format 9999.99(value or expression evaluating to a number), '##0.0%')"/>
C) <xsl:value-of select="format-number(value or expression evaluating to a number), '%')"/>
D) <xsl:value-of "format-number(value or expression evaluating to a number), '999.99%')"/>
E) <xsl:value-of select="To_Percent(value or expression evaluating to a number)"/>
8

There are many different ways in which you can construct a selector so that the style is applied to the part of your XML document that you need to apply it to. Which of the following cannot be used to accomplish this?
A) parent>child
B) parent descendant.
C) name:first-child
D) first+next
E) ancestor>child
9

The style sheet declaration in an HTML file uses the following syntax:
A) <link rel="stylesheet" type="text/css" href="path/filename.css"/>
B) <declare resource="stylesheet" type="text/css" href="path/filename.css"/>
C) <DCL resource="stylesheet" type="text/css" href="path/filename.css"/>
D) <?declare resource="stylesheet" type="text/css" href="path/filename.css"/>
E) <a ="stylesheet" type="text/css" href="path/filename.css"/>
10

When CSS is applied to an element, the output is an object with what is referred to as a(n) __________________.
A) bounding box.
B) data binder.
C) style box.
D) black box.
E) container.bind.







Sosinsky Programming The WebOnline Learning Center

Home > Chapter 4 > Multiple Choice Quiz