Quiz 17 Solution - Friday July 7, 2000


1. When a compiler stops evaluating a logical expression since it can determine the truth or falsehood of the expression by looking at the first condition in the expression what is this called? 2. What type of variable can be used in a switch statement? 3. True/False In the expression A || B, both A and B have to be true in order for the expression to be true. 4. True/False Any statement that can be written as a switch can be rewritten as a nested if with an else.