Chapter 4 Review: Loop Basics

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