A "word" is defined as a sequence of three dots arranged in a row. Each dot is colored either yellow or blue. How many distinct words can be formed?	Select the correct option
A) 3 B) 5 C) 6 D) 8 E) 9
there are two ways of possibilities..   1) all three same colour- YYY or BBB- 2 ways   2) two of one colour and one of different colour- 3!/2!-3ways..   now two /one could be Y/B or B/Y.... so 3*2=6..   total 6+2= 
<gadget id="calculator">6+2</gadget>
<output>8</output>
8 ans 8
<result>D</result>
A "word" is defined as a sequence of three dots arranged in a row. Each dot is colored either yellow or blue. How many distinct words can be formed?