A | B |
boolean expression | a program segment that produces a true or false value |
boolean operators (&&,||,!) | conditional operators used to combine or modify logical operations. The names corresponding to these operators are AND, OR, and NOT |
Boolean type | a type of variable that takes on one of two values: true or false |
boolean variables | variable used to store true or false values |
condition | the current circumstances on which decision-making depends. Conditions take the form of a boolean expression |
control structure | another term for a flow control statement |
counting loop | another term for a for statement |
flow control statement | statement that controls the flow of a program through the statements within them |
flow diagram | graphic used to visualize pattern of flow within a control structure |
for statement | statement that directs program flow through a group of statements a fixed number of times |
general loop | another term for a while loop |
if-then-else logic | directs program flow along one of two paths based on the evaluation of a boolean expression |
if statement | statement that directs program flow through one group of statements and away from another group of statements |
indefinite loop | a looping structure that is not based on a fixed number of repetitions |
infinite loop | a looping structure that endlessly repeats statement execution due to an improperly designed termination condition |
nested statement (inner statement, outer statement) | a flow control statement that is contained within another flow control statement |
relational operators (==, !=, <, >, <=, >=) | an operator that computes a true or false value. The names corresponding to these operators are equality, inequality, less-than, greater-than, less-than-or-equal, greater-than-or-equal |
repetitive control | looping based on an arbitrary number of iterations |
selective control | another term used to describe if-then-else logic |
selective execution (selective flow) | term that describes the behavior of an if statement |
validating the parameter | process of checking the validity of a parameter's values before allowing flow to proceed |
wait() statement | a statement that pauses program flow for a specified number of seconds |
while statement | a structure that directs program flow through a group of statements an arbitrary number of times |