Midterm 1 Study Guide
Our first exam focuses on C and related systems theory. It includes short answer questions, finding bugs in C code, and analyzing program outputs.
Subjects
The following subjects will be covered:
- C Compilation Phases
- Argument Passing
- Pointers (and double pointers)
- I/O
- Strings and String Functions
- Arrays
- Passing arrays
- Array decay
- Command Line Arguments (argc, argv)
- Structs
- Dynamic Memory Allocation
- Linked lists
Brushing Up
If you’re looking for practice, go through the code examples on the schedule page. Make sure you understand the concepts they demonstrate and experiment with the code to make sure you’re familiar with it.
Midterm questions will be sourced directly from: (1) lecture slides, (2) in-class discussions and questions, and (3) sample code. There will be no questions sourced from the textbook.