Midterm Study Guide
You are responsible for everything we discussed in class or in section. Additionally, you should know the material in Abrahams and Larson, Chapters 2 (except for 2.10 and 2.15–2.18), 3, 4.22–4.4.2, 5 (except 5.13–5.15), and 7.1. Questions about material in any of chapters 1–3, 4–11, 12 (except for 12.4–12.7), and 14 (except for 14.7–14.11) in Holmes are also fair game.
Some specific topics you should know:
UNIX System
standard input, output, error
pipes and redirection
aliases
history
shell variables
directories and path names
file manipulation commands (rm, cp, cat, mv, rmdir)
sending mail
C Language
precedence and order of evaluation of operands
integer and floating arithmetic
if/else, switch
recursion
arrays, pointers, and their relationship
scope
memory allocation
parameter passing to functions
while/for/do…while loops
declarations