click below
click below
Normal Size Small Size show me how
Liang - 3
Selections
| Term | Definition |
|---|---|
| Boolean expression | evaluates to true or false |
| boolean data type | declares a variable with the value of either true or false |
| Boolean value | true or false |
| conditional operator | the symbols ? : appearing together |
| dangling else ambiguity | when it is unclear which if that an else should be matched with |
| debugging | process of finding and fixing errors in a program |
| fall-through behavior | In a switch statement , statements starting from matched case are executed unless a break or end of switch statement is reached. |
| flowchart | diagram that describes an algorithm or process |
| operator associativity | what order each operator is evaluated when operators of the same precedence are grouped in the absence of parentheses |
| operator precedence | what order each operator is evaluated |
| selection statement | let you choose actions with alternative courses |
| short-circuit(lazy) operator | an operator that only evaluates the second operand when necessary |