Concept:
- Identical balls of one colour are indistinguishable: only how many of each colour are taken matters.
- If there are \(n\) identical objects of a kind, the number of choices for that kind (taking none to all) is \(n+1\).
Step 1: Count the choices for each colour
From \(10\) white balls we may take \(0,1,\dots,10\), that is \(11\) choices. From \(9\) green balls there are \(10\) choices, and from \(7\) black balls there are \(8\) choices.
Step 2: Multiply the choices
Every combination of choices gives a different selection (since balls of one colour are identical), so the total number of selections, including the empty one, is \[ 11\times10\times8=880. \]
Step 3: Remove the empty selection
The question asks for one or more balls, so the case of taking no ball at all must be excluded: \[ 880-1=879. \]
Step 4: Compare with the options
The number \(880\) in option (A) includes the empty selection, and options (B) \(629\) and (C) \(630\) are not equal to \(11\times10\times8\) or to that product minus \(1\). A check with smaller numbers: one white and one green ball gives \((1+1)(1+1)-1=3\) selections (W, G, WG), which agrees with the method.
Step 5: Conclusion
The number of ways of selecting one or more balls is \(11\times10\times8-1=879\). Hence, the correct option is (D).