15-110 Lecture Topics:  1d Lists

Week #7  Oct 4 – Oct 8

 


   1. Creating Lists
   2. Getting List Properties (len, min, max, sum)
   3. Accessing Elements
   4. Finding Elements
   5. Adding Elements (Destructively and Non-destructively)
   6. Removing Elements
   7. Looping over Lists
   8. Comparing Lists
   9. List Aliases
  10. Copying Lists
  11. Reordering Lists (Sorting and Reversing)
  12. Using Lists with Functions (as  Parameters and as Return Types)
  13. Suggested Reading on Lists:  Reading from the book: Chapter 4 (pp. 62-74)
  14. Suggested Exercises: Chapter 4:  #'s 14, 15, and 16.