Practice Problems

Midterm Study Guide

Midterm 1 (Modules 1-6), Study Guide 1

  • operations
  • built-in functions such as round(), input(), .isnumeric(), etc.
  • if elif else statements
  • while loop + strings
  • decomposition: define your own functions and main function
  • combinations of above (for example, using input() in the while loop)

Midterm 2 (Modules 1-10 with a focus on Modules 7-10)

  • if elif else statements
  • draw loop table based on functions
  • while loop
  • for loop (2 ways of for loops)
  • list: mutability, iterating a list (to find max, total, etc)
  • dictionary: mutability
  • combinations of above