Course Assignments

May 14 Several people have mailed me saying that the runTests measures the real time and not the user+system time. This is because the time taken to do disk reads and writes are not included in the latter.

May 1 Passing the tests (i.e. no 'diff' with the official output) is no guarantee that your program is correct. You are required to make sure that it meets the assignment specification.

April 25 For grading the final project, I will be looking at the things you tried to improve the performance *and* your explanation as to why it did or didn't help. Also, a discussion of how you chose to tradeoff space for time should be included. Correctness is, naturally, the primary concern. So, please spend some time in the actual writeup.

April 23 A couple of things not mentioned in assignment handout.

April 23 This is not really the place to post junk, but anyway, here it is.


Source : Unknown

Goes to song "Yesterday"

  Yesterday,
  all my finals seemed so far away.
  Then I realized that they start today.
  Oh, how I long for yesterday.

  Suddenly,
  I no longer have the grade of "B".
  Now it's looking closer to a "C".
  Oh, finals came so suddenly.

  I can
  cram, although I can blow
  it off today.
  Come to-
  morrow morn, I'll get on
  my knees and pray...

  Yesterday,
  This was such an easy tune to play.
  Now my chops are all but gone away,
  My jury's a half-hour away.

  What I
  have to show
  I don't know,
  the prof won't say.
  I'll spell
  something wrong, or I'll bomb..
  ... there goes my "A"...

  Yesterday.
  Thought of graduating come this May.
  Now it looks as though I'm here to stay,
  oh, how I long for Yesterday.

April 22: Turn in the final project as assignment 5.

April 1: Assignment 4 is now available. The results that I get for data sets 0, 1 and 2 are given in the table below. BTW, in case you are wondering, this is a real assignment and not a aprils fool joke :).

File Name Linear Cost Function Square root Cost Function
SCF FCFS Elevator SCF FCFS Elevator
0 80.00 124.00 80.00 22.9930.35 22.99
1 126.00213.00 182.00 49.2159.55 56.67
2 222.00573.00 246.00 65.10108.5168.02

March 12: The LRU number for data1 is 248 and not 249. Thanks to everyone who pointed it out.

March 9: data0 through data4 are now available in /u/cs318/3 . The results that I get for data sets 0 and 1 are
File Random FIFO LRU ApproxLRU Optimal
0 11 9 10 9 7
1 272 248 248 251 245

March 8: For assignment 3, data0 is available in /u/cs318/3 . Other test files will be made available soon.

Feb 28: We are granting an extension on Problem set 2 till Monday. So the assignment is due on Monday night at 11:59 PM.

Feb 23: Starting with Problem Set 2, you will be submitting your assignments online. You should include a brief README file in your submission explaining what you did in the assignment. You don't have to submit any hardcopy. To submit an assignment (on Phoenix),

/u/cs318/bin/submit [assign#] [file ...]