CS 3733 Operating Systems, Spring 2006 Exam 1 Comments

Grade distribution:

  1. 1a) It is true that a hard link is a link, but saying this gives no information. Say what it is, not what it does.
  2. 1 a) and b) Do not say that it points to something unless it contains a pointer. In a) it contains a number and in b) it contains a name.
  3. 1c) asks about a directory entry, not a directory.
  4. 1d) You need to give at least 4 different thing to get full credit. File times counts as one thing, not 3.
  5. 2a) Don't just say it has a count of things without saying what the things are.
  6. 2b i) The count is not incremented because the entry does not exist before the open.
  7. 2b ii) You must also say what happens when the count becomes 0.
  8. 2b v)
  9. 2b v and vi) You must say which entries are affected since (unlike with open and close) there is not a direct correspondence between the operation and an entry.
  10. 4a)
  11. 4b)
  12. 4c) In order to get some credit for this part you had to discuss the case in which one process is trying to enter its CS while the other process tries to enter its CS twice.