Difference between revisions of "Accumulators For Searching Tutorial"

From Progzoo
Jump to: navigation, search
(Average Name Length)
(Average Name Length)
Line 38: Line 38:
 
   ]]></answer><shell lang="java" className="Cia" import="shells.xml#null"/>
 
   ]]></answer><shell lang="java" className="Cia" import="shells.xml#null"/>
 
<p class="imper">
 
<p class="imper">
What is the average length of Country name.
+
What is the average length of Country name (to two decimal places).
 
</p>
 
</p>
 
<hint tease="How to use an accumulator">
 
<hint tease="How to use an accumulator">

Revision as of 13:05, 13 November 2008

Average Name Length

What is the average length of Country name (to two decimal places).

[Font] [Default] [Show] [Resize] [History] [Profile]

Which country has the biggest population?

What is the name of the largest country (by population).

[Font] [Default] [Show] [Resize] [History] [Profile]

Which middle eastern country has the smallest population?

What is the name of the country in region "Middle East" with the smallest population.

[Font] [Default] [Show] [Resize] [History] [Profile]