CS 3733 Operating Systems, Fall 2010 Assignment 2 Comments
- Print code and output with a fixed point font, not a proportional one.
- Do not print too close to the top of the page or under the staple.
- 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.
- 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.
- 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.