This is what I plan to cover, and when. It will undoubtedly change as the quarter progresses. All readings are from the texts unless otherwise indicated. “zyBook” is the Programming in C zyBook, “C Notes” is the C Notes book. “Shell book” is the shell text book. “§n” means chapter or section n of the named book. “[n]” means handout n. “Dn” means discussion section n.
# | date | topic | readings | |
---|---|---|---|---|
1. | Apr 2 | Intro to UNIX/Linux, the CSIF, basic commands, first C program | Shell book, §1–4; zyBook, §1; [1, 2, 3, 4] | |
2. | Apr 4 | Second C program, introduction to debugging, variables, basic types, arithmetic operators | zyBook, §1, 2.1–2.8, 2.11–2.14, 2.16, 2.8, 2.20; [3–4] | |
—. | No discussion section this week | |||
3. | Apr 9 | True and false; relations, conditional statements; loops; scanf | zyBook, §2.20, 3.1–3.12, 3.16–3.19, 4.1–4.5, 4.9 | |
4. | Apr 11 | Functions, basic pointers | zyBook, §6.1–6.8 | |
Dis sec | UNIX utilities: grep, sort, uniq, head, etc. | |||
5. | Apr 16 | Pointers, arrays | zyBook, §5.12, 6.5–6.7 | |
6. | Apr 18 | C arrays and strings, chars as ints | zyBook, §6.5–6.9 | |
Dis sec | UNIX utilities: shells, redirection, piping | Shell book, §6, 7, 11, 13; [7] | ||
7. | Apr 23 | Output with printf, input with scanf, basic preprocessor macros | zyBook, §2.20, 6.16, 12.4 | |
8. | Apr 25 | Recursion basics | zyBook, §10.1–10.2, 10.5, 10.8 | |
Dis sec | Strings. arrays, and characters | |||
9. | Apr 30 | String functions, comma operator, command line arguments | zyBook, §10, 12.3, 8.5 | |
10. | May 2 | Review for Midterm | ||
Dis sec | >Review for midterm | |||
11. | May 7 | midterm (in class) | ||
12. | May 9 | File input, output, manipulation | zyBook. §9.1, 9.4, 12.17, 12.19 | |
—. | No discussion section this week | |||
13. | May 14 | Dynamic memory allocation | zyBook, §8.3, 8.6–8.7 | |
14. | May 16 | 07nked lists, arrays of structures, gdb debugger | zyBook, §8.10–8.12; C Notes, §11 | |
Dis sec | Review midterm answers | |||
15. | May 21 | Function pointers, unions, scope of variables, more on gdb | C Notes, §9 | |
16. | May 23 | Binary notation, bits and bit operations | C Notes, §9 | |
Dis sec | More about structures, binary trees, bases 2, 8, 16 | |||
17. | May 28 | C and math library functions | ||
18. | May 30 | Makefiles and multi-file programs | ||
Dis sec | Source code management systems | |||
19. | Jun 4 | Managing large programs: structure and organization | ||
20. | Jun 6 | to be arranged | ||
Dis sec | Review for final | |||
—. | Jun 12 | Final Exam, 10:30am–12:30pm |
Handouts
|
ECS 36A, Programming & Problem Solving Version of May 17, 2024 at 11:27AM
|
You can also obtain a PDF version of this. |