Term
|
Definition
| A portion of a program that repeats a statement or group of statements |
|
|
Term
|
Definition
| the statement or group of statements to be repeated in a loop |
|
|
Term
|
Definition
| each repetition of the loop body |
|
|
Term
| do-while loop vs while loop |
|
Definition
the body of a do-while loop is always executed at least once, a while loop may not be executed at all. |
|
|
Term
|
Definition
| a loop that iterates its body repeatedly without ever ending |
|
|
Term
|
Definition
| lets you write a loop that is controlled by a counter |
|
|
Term
|
Definition
|
|
Term
|
Definition
| a variable that cannot be used outside of a loop |
|
|
Term
|
Definition
| the portion of a program in which a variable has meaning |
|
|
Term
|
Definition
| a comma used to separate initialization actions |
|
|
Term
|
Definition
| used when you have a collection of data, like an enumeration |
|
|
Term
|
Definition
| loops that know the number of iterations before the loop starts |
|
|
Term
|
Definition
| a way of asking the user if it is time to end the loop |
|
|
Term
|
Definition
| signals the end of the input for lengthy input lists |
|
|
Term
|
Definition
| loop bug that causes your loop to repeat its body either one too many times or one too few times |
|
|
Term
|
Definition
| watching the variables change value while the program is running |
|
|
Term
|
Definition
| to check and see if an assertion is true and if its not you can stop the program and display an error message |
|
|