10. (D) After each execution of the loop body, n is divided by 2. Thus, the loop will produce output when n is 50, 25, 12, 6, 3, and 1. The final value of n will be 1 / 2, which is 0, and the test will fail.