Chapter 4 Review: Loop Basics

1234567891011
Across
  1. 6. A decrease or subtraction
  2. 7. 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.
  3. 8. Denotes the end of a data set, but it is not part of the data.
  4. 9. A repetition of a statement or statements in a program.
  5. 11. Used to iterate over the contents of a string (or any "container") one element at a time.
Down
  1. 1. Executes instructions repeatedly while a condition is true.
  2. 2. A function used with the for loop to iterate over a sequence of numbers
  3. 3. A logic error involving the boundary condition of a loop.
  4. 4. An increase or addition
  5. 5. A loop inside another loop statement.
  6. 10. All statements of a function or method or statement block