CS 3733 Operating Systems, Fall 2010 Assignment 2 Comments

  1. Print code and output with a fixed point font, not a proportional one.
  2. Do not print too close to the top of the page or under the staple.
  3. You should figure out what the output should be before running the program.
    Do not assume that the output is correct just because output was generated.
  4. At this point in your careers, you should be able to track down a seg fault, especially if it occurs consistently.
    Use a debugger or put in print statements (to standard error) to find out where the fault occurred.
  5. PSJF should handle preemption when the IO completes.
    Otherwise, you may have P1 preempting P2 when its CPU burst is equal to the remaining burse of P2.