Step 1: Model the condition.
"All black boxes are consecutive" \(\Rightarrow\) the set of black boxes must form a single contiguous block (interval) among the 6 positions.
Step 2: Count all non-empty intervals among 6 positions.
Choose the start and end of the black block: for length \(1\) there are \(6\) choices; for length \(2\), \(5\) choices; \(\dots\); for length \(6\), \(1\) choice.
\[ \text{Total ways} = 6+5+4+3+2+1 = \frac{6\cdot 7}{2} = 21. \] \[ \boxed{21} \]
This count can also be found by viewing the arrangement as a composition: some white boxes, then a block of black boxes, then more white boxes.
Setting up the composition. Write the arrangement as \(W^aB^kW^b\), meaning \(a\) white boxes, then \(k\ge1\) consecutive black boxes, then \(b\) white boxes, with \[ a+k+b=6,\quad a,b\ge0,\quad k\ge1. \]
Counting for each block length \(k\). For a fixed \(k\) (from 1 to 6), \(a+b=6-k\), and the number of non-negative integer pairs \((a,b)\) satisfying this is \(6-k+1=7-k\). Summing over all possible \(k\): \[ \sum_{k=1}^{6}(7-k)=6+5+4+3+2+1=21. \]
The block-composition method confirms the same total of 21 valid ways.
So the correct answer is 21.
In a special racing event, the person who enclosed the maximum area would be the winner and would get ₹ 100 every square metre of area covered by him/her. Jonsson, who successfully completed the race and was the eventual winner, enclosed the area shown in the figure below. What is the prize money won?
\(\textit{Note: The arc from C to D makes a complete semi-circle. Given: }\) $AB=3$ m, $BC=10$ m, $CD=BE=2$ m.

A lawn is in the form of an isosceles triangle. The cost of turfing on it came to $₹ 1{,}200$ at ₹ 4 per m$^2$. If the base be 40 m long, find the length of each side.