Format for the first midterm exam

The first midterm exam will be an in-class, written exam. On the exam I will ask short-answer questions that will ask you to write short code snippets.

The exam will be a closed-book exam, but I will allow you to bring a single page of notes to use as a reference in the exam.

What to review for the exam

Here is a list of C library functions and system calls that we have worked with. You should be familiar with each of these functions and should be prepared to use them in code.

open()
read()
write()
close()
fopen()
fscanf()
fprintf()
fgets()
ftell()
fseek()
strcmp()
strcpy()
strstr()
malloc()
free()
pthread_create()
pthread_join()
fork()
execve()
waitpid()

In addition to knowing about these functions, you should also be prepared to write code in a main() function that makes use of command line parameters.