CS 3733 Operating Systems, Fall 2010 Assignment 1 Comments

  1. Look through your assignment for comments (in red) even if you got full credit.
  2. A single staple in the upper left corner will do.
    The main lab has a variety of staplers that you can use.
    Please do not use any other type of binding.
    Do not use heavy-duty staples for a small number of sheets.
  3. If you can determine the output that your program should generate, then check to see that it produced the correct output.
    It is best to write down what you think the output should be before running the program.
  4. After each call to malloc you should check for errors.
  5. The fcfs function should not assume any maximum values for the parameters.
    You only need to assume that the string parameters are referencing memory that is large enough to hold the strings generated.
    It is not necessary to use additional arrays, but if you do make sure that
  6. Don't fill an array with 0's just because you are too lazy to put in a string terminator.
  7. fcfs should not assume that the s1 and s2 arrays are filled with 0's.
  8. fcfs cannot fill these with 0's because it does not know how large these buffers are, only that they are large enough to hold the result.
  9. fcfs should not do any printing.
  10. I tried to see if fcfs terminated the strings properly. If it looked like you did not, I took off 2 points. If you disagree, see me.
  11. Print code and output with a fixed point font, not a proportional one.
    If your output looks like this I cannot tell if it is correct:

    It should look like this so that I can see how the two strings line up:

  12. Do not return negative values from main.
  13. Either check that everything was correct, or explain what is or may be wrong. This is very important.
  14. Do not print your code in color, especially if you are not using a color printer. Avoid the use of yellow at all costs.
Comment on collaboration.