CS 3733 Operating Systems, Spring 2007 Exam 1 Comments

Grade distribution:


  1. This problem is straight from the book and we went over it in class.
  2. The definition of a critical section does not mention shared variables.
    That is the most common example of a critical section.
  3. Critical sections are pieces of code, not variables.
    If you are asked where the critical sections are, you indicate which lines of code, not just name variables.
  4. From USP.
  5. This is just like the problem assigned in class.
    If you did not look at this problem, you probably had some trouble with it.
    When there is I/O, it is best to use the Gantt charts with one line per process (as the simultor does).