August 2003
Beginner
600 pages
12h 55m
English
| 1: | Which decision construct should you use to evaluate a single expression to either true or false? |
| A1: | if |
| 2: | Evaluating expressions to true or false for both types of decision constructs is accomplished using ________ logic. |
| A2: | Boolean |
| 3: | If you want code to execute when the expression of an if statement evaluates to false, include an ____ clause. |
| A3: | else |
| 4: | Which decision construct should you use when evaluating the result of an expression that may equate to one of many possible values? |
| A4: | switch |
| 5: | Is it possible that more than one case statement may have its code execute? |
| A5: | Yes |
Read now
Unlock full access