Readings: in Hanly & Koffman
Chapter 1, esp 1.2; self-check exercises 1.2.1, 1.2.2
Ch 2.1 self-checks 2.1.1-2.1.4
Ch 2.2 - 2.4
2/5 | Computers: disk, ram, cache, CPU; networks; Unix | 1, 2-2.4 |
2/12 | 2.5 arithmetic, 4-4.3 boolean ops, conditionals (if), 3-3.6 functions | 2.5, 4-4.3, 3-3.6 |
2/19 | more functions 5.1-5.3 parameters, return values | 5.1 - 5.3 |
2/25 | 4.4-4.9 more if, switch (with break) | 4.4 - 4.9 |
3/5 | arrays; for loops; array traversal; array min, max, avg | 8.1-8.4, 5.4 |
3/12 | rand(), srand(); frequency counts | |
3/19 | reading and writing files | 2.7 |
4/2 | array parameters; pass-by-value vs. pass-by-reference (arrays only) | 8.5 |
4/9 | char data type; char vs. int; char arrays; strings | 7.1-7.2, 9.1 |
2-d char arrays; char switch, feof(); command line args: numbers, strings; string library | ||
parallel arrays; scope; binary search | ||
review, midterm2; selection sort; | ||
static; strtok; pass-by-reference, structs | ||
pass-by-reference, malloc, free, pointer variables | ||
structs and pointers; calloc, dynamic arrays | ||