| A | B |
| pseudocode | A tool that helps programmers plan a program's logic by writing plain English statements |
| flowchart | A tool that helps programmers plan a program's logic by writing program steps in diagram form, as a series of shapes connected by arrows |
| sequence structure | A unit of program logic in which one step follows another unconditionally |
| decision structure | A unit of program logic that involves choosing between alternative courses of action based on some value |
| if statement | Used to make a single-alternative decision |
| block | One or more statements contained within a pair of curly braces |
| nested if | A statement in which one decision structure is contained within another |
| dual-alternative decisions | Has two possible outcomes |
| if-else statement | Performs a dual-alternative decision |
| AND operator | Determines whether two expressions are both true; it is written using two ampersands (&&) |
| short-circuit evaluation | The C# feature in which parts of an AND or OR expression are evaluated only as far as necessary to determine whether the entire expression is true or false |
| OR operator | Determines whether at least one of two conditions is true; it is written using two pipes (||) |
| Boolean logical AND | An operator that determines whether two expressions are both true; it is written using a single ampersand (&) ; unlike the conditional AND operator, it does not use short-circuit evaluation |
| Boolean logical inclusive OR | An operator that determines whether at least one of two conditions is true; it is written using a single pipe (|) ; unlike the conditional OR operator, it does not use short-circuit evaluation |
| side effect | An unintended consequence |
| switch structure | A single variable against a series of exact matches |
| switch | Starts a switch structure |
| switch expression | A condition in a switch statement enclosed in parentheses |
| case | In a switch structure is followed by one of the possible values that might equal the switch expression |
| case label | Identifies a course of action in a switch structure |
| break | Optionally terminates a switch structure at the end of each case |
| default | Used optionally prior to any action that should occur if the test expression in a case structure does not match any case |
| governing type | In a switch statement is established by the switch expression; it can be of type sbyte, byte, short, ushort, int, unit, long, ulong, char, string, or enum |
| enum | An enumeration , a programming defined type that declares a set of constants |
| conditional operator | Used as an abbreviated version of the if-else statement; it requires three expressions separated by a question mark and a colon |
| ternary | An operator that requires three arguments |
| NOT operator | Uses the exclamation point (!); used to negate the result of any Boolean expression |
| range check | A series of if statements that determine whether a value falls within a specified range |