CPS 125 Structured Programming In C

This page is meant for students in sections taught by Ilkka Kokkarinen. Here are the lecture slides prepared and used by Kokkarinen, to be posted and updated as the course proceeds. Of course, students in other sections (and as for that matter, anybody else anywhere) are free to read and use these slides as they see fit. The order and spirit in which some material is presented differs slightly from the official course slides. These slides are work in progress and probably have bugs in them, but hopefully fewer as I work on them. I will post updated versions of these slides as the course proceeds.

  1. Lecture 1: Introduction (ppt)
  2. Lecture 2: Starting Out With C (ppt)
  3. Lecture 3: Functions (ppt)
  4. Lecture 4: Decisions (ppt)
  5. Lecture 5: Loops (ppt)
  6. In Lecture 6, we go through a whole bunch of example programs. (ppt)
  7. Lecture 7: Engineering (ppt)
  8. Lecture 8: Arrays (ppt)
  9. Lecture 9: Array Algorithms (ppt) (minesweeper.c recursion.c)
  10. Lecture 10: Structs and Lists (ppt) (sln.c arrayqueue.c bst.c)
  11. In Lecture 11, we again go through a whole bunch of example programs, and step through the comp.lang.C FAQ.
  12. Lecture 12: Miscellaneous Topics and Review (ppt)