Topics and Class Schedule for ECS 30, Fall 2015
Topics
This is a list of topics we will cover,
and the corresponding sections of the book.
Sometimes we will cover more than one topic in a class;
other topics will take more than one class period.
- UNIX file system, environment, processes
- Compiling and running a C program, simple Makefiles (text, §2.7)
- Structure of a C program (text, §1, 2.1, 2,3, 2.4)
- Datatypes, variable names (text, §2.2)
- Arithmetic operators; order of precedence vs. order of evaluation; associativity (text, §2.5)
- Basic I/O: reading and writing , formatted outputs, #include commands (text, §2.6)
- Static debugging
- Arrays 1: arrays for storing strings; introduction to for loops (text, §7.1, 7.2, 7.3)
- Program design: top-down (text, §3.1, 3.2, 3.3)
- Functions 1: with, without parameters; how they return things; call stack (text, §3.4, 3.5)
- Macros, with and without arguments, introduction to C preprocessor (text, §2.1, 12.8)
- Flow of control: if, if … else, switch (text, §4)
- Flow of control: for, while, do … while (text, §5)
- Pointers and indirection (text, §6.1)
- Dynamic debugging
- Functions 2: returning values via parameters (text, §6.2–6.6)
- Arrays 2: arrays, strings, and pointers (text, §7.4–7.9)
- Strings and string functions (text, §8)
- Recursion (text, §9)
- Derived types: struct, union, enum, typedef (text, §10)
- Allocation, deallocation; linked lists, stacks, other data structures (text, §13)
- Bit operations and management (text, §C)
- C preprocessor: conditional compilation, error messages (text, §12)
- File I/O: fopen, fclose, fread, fwrite, fgets, others (text, §11)
- Shell scripts and bottom-up design
- Other useful libraries
- System calls
Holidays
There is no class on:
- Wednesday, November 11 (Veteran’s Day)
- Friday, November 27 (Thanksgiving Holiday)
Exams
The examinations in this course are on:
- Wednesday, October 28 (midterm exam)
- Wednesday, December 9 (final exam)