Utilisateur
loop
the block of statements that executes when the Boolean expression that controls the loop is true.
one loop execution.
Definition:
a construct that executes a body of statements continually as long as the Boolean expression that controls entry into the loop continues to be true.
a loop that executes a predetermined number of times; a counted loop. Contrast with indefinite loop.
Definition:
a definite loop.
a loop in which the final number of iterations is unknown. Contrast with definite loop.
a variable whose value determines whether loop execution continues.
a loop that never ends.
a loop block with no statements in it.
a definite loop. Contrast with event-controlled loop.
the act of adding 1 to a variable.
Definition:
the act of subtracting 1 from a variable.
an indefinite loop in which the number of executions is determined by user actions. Contrast with counter-controlled loop.
a value that stops a loop.
the process of ensuring that a value falls within a specified range.
the first input statement prior to a loop that will execute subsequent input statements for the same variable.
the process of continually incrementing a variable to keep track of the number of occurrences of some event.
the process of repeatedly increasing a value by some amount to produce a total.
an operator that alters the value of the operand on the left by adding the operand on the right to it; composed of a plus sign and an equal sign.
an operator that alters the value of the operand on the left by subtracting the operand on the right from it; it is composed of a minus sign and an equal sign.
an operator that alters the value of the operand on the left by multiplying the operand on the right by it; composed of an asterisk and an equal sign.
an operator that alters the value of the operand on the left by dividing the operand on the right into it; composed of a slash and an equal sign.
an operator that alters the value of the operand on the left by assigning the remainder when the left operand is divided by the right operand; composed of a percent sign and an equal sign.
an operator that is composed by placing two plus signs to the left of a variable; it adds 1 to the variable, then evaluates it. Contrast with postfix increment operator.
an operator that is composed by placing two plus signs to the right of a variable; it evaluates the variable, then adds 1 to it. Contrast with prefix increment operator.
an operator that subtracts 1 from a variable before evaluating it.
an operator that subtracts 1 from a variable after evaluating it.
a loop that can be used when a definite number of loop iterations is required and that contains initialization, testing, and altering of a loop control variable.
a loop that performs no actions other than looping.
a loop in which the loop control variable is tested before the loop body executes. Contrast with posttest loop.
a loop that executes a loop body at least one time; it checks the loop control variable at the bottom of the loop after one repetition has occurred.
a loop in which the loop control variable is tested after the loop body executes. Contrast with pretest loop.
describes loops when one is contained within another.
a loop that is contained entirely within another loop.
a loop that contains another loop.
the technique of combining two loops into one.
an operator that alters the value of the operand on the left by subtracting the operand on the right from it; it is composed of a minus sign and an equal sign.