Chapter 4 Review: Loop Basics

1234567891011
Across
  1. 2. A repetition of a statement or statements in a program.
  2. 7. Denotes the end of a data set, but it is not part of the data.
  3. 9. Code which loops endlessly, either due having no terminating condition, having one that can never be met, or one that causes the loop to start over.
  4. 11. Used to iterate over the contents of a string (or any "container") one element at a time.
Down
  1. 1. A function used with the for loop to iterate over a sequence of numbers
  2. 3. A logic error involving the boundary condition of a loop.
  3. 4. A decrease or subtraction
  4. 5. Executes instructions repeatedly while a condition is true.
  5. 6. A loop inside another loop statement.
  6. 8. An increase or addition
  7. 10. All statements of a function or method or statement block