CS 3733 Operating Systems, Spring 2001 Assignment 1 Comments
The assignment was graded on a basis of 30 points.
Some comments about this assignment:
- Start out with a small initial allocation, say 128 bytes
- Double the size of the buffer each time reallocation is needed
- Do some tests with long lines of 10,000 or more.
- Do some test that require many reallocations, one is not enough
- In checking whether other processes are taking a significant amount of
CPU time, you can use a performance meter.
- When readline returns an empty string (end of file), this memory
should be freeable.
- When you run lint with the math library, you must use the -lm option.
- Do not use a.out as the name of your executable.
- Be sure you know what sizeof does.
- Be sure you understand the difference between an include file and a
library.
- Fill in the cover sheet index with page numbers, not check marks.
- Do not put page number under the staple.
- If you have been asked to resubmit, you have been given a preliminary
grade. This is the grade you will get if you do nothing. Rerun the
code as requested (do not change your program) and submit the new pages
at the end of your original handin. Turn this in by Thursday, February 15.