CS 3733 Operating Systems, Spring 2010 Exam 1 Comments
Grade Distribution:
90-100: 3
80-89: 9
70-79: 14
60-69: 3
50-59: 2
below 50: 1
Average: 77
- Arrows should be labeled by events. An event is something that happens,
such as a process requesting I/O or a quantum expiring.
- Do not say things like: "In this case the processes have the same file
descriptor." This does not make sense. What they share is the file
offset which is stored in the system file table entry referenced by the
process's file descriptor table entry.
- This one is simpler because the processes act independently.
- We went over this many times. For full credit you needed to list at least
five of the major items stored in the inode: owner, type, permissions,
size, dates, location.
- Here, you needed to say what MLFQ are, not just what they are used for.
I was looking for something about multiple ready queues, each with a
priority.
- For part c) P0 must lose the CPU between the two statements that were
interchanged.
- Since it says "explain in detail" if you are using a pipe, you must
explain where the pipe comes from. For example, in a)
the parent must create the pipe before forking the child. For part c)
a value is not the same as a variable. You cannot just say that
the value is available because the variable is shared. The variable
must be global, or at least have static storage class.
- It is understandable if you forgot that only 8 bits can be passed
to the parent in the return value from a child process. But it is
important to understand that there is a restriction, and it cannot be
an arbitrary integer.
- This one was just like the assignment.
- Look at the comments in you log book.
About the Daily Log Book:
- There should be a page for each lecture. It should have the lecture
number and the date of the lecture. When you make an entry, put in the
date and time the entry was made.
- You should have an entry for each assignment. Put in detailed notes
about all of your collaborations on that assignment. Indicate what you
contributed and what you learned from others.
- You should have an entry for an assignment event if there was no
collaboration. In this case, indicate that you did the assignment
without help.