CS 3733 Operating Systems, Spring 2001 Assignment 1 Comments



The assignment was graded on a basis of 30 points.
Some comments about this assignment:

  1. Start out with a small initial allocation, say 128 bytes
  2. Double the size of the buffer each time reallocation is needed
  3. Do some tests with long lines of 10,000 or more.
  4. Do some test that require many reallocations, one is not enough
  5. In checking whether other processes are taking a significant amount of CPU time, you can use a performance meter.
  6. When readline returns an empty string (end of file), this memory should be freeable.
  7. When you run lint with the math library, you must use the -lm option.
  8. Do not use a.out as the name of your executable.
  9. Be sure you know what sizeof does.
  10. Be sure you understand the difference between an include file and a library.
  11. Fill in the cover sheet index with page numbers, not check marks.
  12. Do not put page number under the staple.
  13. 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.