Page 1312 - AP Computer Science A, 7th edition
P. 1312

15. (E) In order for /∗ body of loop ∗ / not to be executed, the test must be false the first time it is evaluated. A compound OR test will be false if and only if both pieces of the test are false. Thus, choices B and C are insufficient. Choice D fails because it guarantees that both pieces of the test will be true. Choice A is wrong because /∗ body of loop ∗/ may be executed many times, until the computer runs out of memory (an infinite loop!).


































































































   1310   1311   1312   1313   1314