Chapter 4 Review: Loop Basics

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