CSc 352, Fall 2002: Final Exam Syllabus
Unix Topics
-
basic commands
-
ls [-l], mv [-i], cp [-i], rm [-i]
-
mkdir, rmdir
-
head, tail
-
sort [-u]
-
cut [-f, -d]
-
wc [-l]
-
I/O redirection: >, >&, >>, >>&, <
-
man [-k, -s]
-
protection bits; chmod
-
shell scripts
-
-f, -x
-
different kinds of quotation (single, double, back quotes)
-
accessing arguments passed into scripts
-
lists; counting the number of elements in a list; accessing
list elements
-
control structures: if, foreach, while
-
arithmetic
-
temporary files
-
make files
-
profiling and performance tuning
C Topics
-
basic syntax
-
operators
-
control structures: for, while, do,
if, switch
-
arrays; characters and strings
-
ASCII character encoding (the concepts, not the actual values of the
encodings)
-
string library functions: strcmp, strdup
-
character manipulation library functions:
toupper,
tolower,
isupper,
islower,
isdigit, etc.
-
pointers
-
operations on pointers: &, *, ++, --
-
address arithmetic
-
structs and unions
-
calculating memory used
-
bit fields
-
dynamic memory allocation
-
command line arguments
-
I/O Library functions:
-
streams: stdin, stdout, stderr
-
file I/O: fopen, fclose
-
printf, fprintf; scanf, fscanf
-
bit operations
-
&, |, ^, ~, >>, <<
-
the C preprocessor
-
macros
-
conditional compilation: #if, #ifdef, #ifndef
-
defining symbols via compiler options