Topics for first midterm exam ----------------------------- Chapters 1-5 of K&Rv2 Basic Structure of Makefile - be able to write a simple one - targets, dependencies, actions Basic ideas of compilation Basic data types - char, short, int, etc. - float, double, etc. Be able to use printf - basic format strings - %d, %c, %s, %f Bitwise operators - AND, OR, XOR, shifts, complement - turning individual bits on/off Looping and control structures - for, while, if, switch - "boolean" values in C Variables and scoping - global and local - static local and static global Pointers - types, declaration - call by value vs. call by reference - pointer math - going from arrays to pointers and vice versa Basic string functions Dynamically creating arrays Very basic malloc()/free() usage Understand past HW assignments and assigned exercises