CS2 8-9

1234567891011121314151617181920212223
Across
  1. 2. an alternate name for the operator that computes the leftover portion after performing division
  2. 6. a type of loop that executes indefinitely which may cause a program to crash
  3. 7. a loop that will repeatedly execute a block of code with specified starting and stopping points
  4. 8. when the decimal portion of a number is ignored or "dropped off"
  5. 14. when str() or int() are used to change one type of value to the other
  6. 16. when one kind of value is expected and another is used or returned
  7. 18. a whole number
  8. 20. the operator that computes the leftover portion after performing division
  9. 21. characters within single or double quotes
  10. 23. division that truncates the decimal portion of a calculation
Down
  1. 1. another name for control structures that run some lines of code repeatedly
  2. 3. to combine two strings one after the other with the + operator
  3. 4. a return value of True or False
  4. 5. increase a value
  5. 9. a control structure within the body of the same type of control structure (ex. loop inside another loop)
  6. 10. when we run the same body of code repeatedly
  7. 11. a loop that runs continuously until the stopping condition becomes True
  8. 12. decrease a value
  9. 13. numbers with a decimal
  10. 15. the number of values getPointInDir() returns
  11. 17. the value that would never be returned when randrange() is called
  12. 19. the number to mod by when we want to find the ones digit of a number
  13. 22. the third number that can be used with range() which increments the loop that number of times per iteration