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

11. (C)Inorderfor!(A || B || C)tobetrue,(A || B || C) must evaluate to false. This will happen only if A, B, and C are all false. Choice A evaluates to true when A and B are false and C is true. In choice B, if any one of A, B, and C is false, the boolean expression evaluates to true. In choice D, if any one of A, B, and C is false, the boolean expression evaluates to true since we have !(false). All that’s required for choice E to evaluate to true is for A to be false. Since true||(any) evaluates to true, both B and C can be either true or false.


































































































   749   750   751   752   753