COSC3360/6310 2018 Fall


This is the course/TA website for COSC 3360/6310 during Fall 2018 at the University of Houston.


Office: PGH 591.

Grace day rules:

  • You have three grace days in total per semester. Each grace day can exempt you from a one-day penalty (-5 points).
  • Please claim the usage of your grace days during the submission if you are submitting later than the deadline. Otherwise, no grace days will be applied for the submitted homework.

Assignment 1:

  • Due date: Monday, October 3, 2018, 11:59pm CDT.
  • Due date Updates: Extended till Monday, October 8, 2018, 11:59pm. Bonus +25 points if submitted by the original due date, October 3, 11:59pm. Bonus if submitted by October 4: 20 points, October 5: 15 points, October 6: 10 points, October 7: 5 points, October 8: 0 point. October 9 and after: -5 points per day.
  • Submission method: Send the zip file containing codes and brief documents to
  • Sample Input, sample output and explanations on samples.
  • The graphical output from the program is optional (would be qualified for bonus). The proper usage of fork() and pipe(), however, is mandatory.
  • The grades have been sent to you through email. If you submitted the assignment but did not receive your grade, please email us.
  • The average of assignment 1 is: 49.36, the median is: 60.

Assignment 2:

  • Due date: Thursday, 11/8/2018, 11:59pm CST., Wednesday, 11/14/2018, Friday, 11/16/2018, 11:59pm CST. Early submission will get 5 bonus/day after November 8. Submission before November 8 gets a bonus of +40 points.
  • Submission method: Send the submission to the TA who sent you your grades for Assignment 1 through email. The submission mail should be sent with the title "COSC 3360/6310 Assignment 2 Submission". In the mail, please specify your name (the one you enroll with), student id and the grace days you want to apply for this assignment (0 if not mentioned). Please attach a zip file to the submission mail with the following file: 1. Your program source code. 2. Your input files that you test on. 3. A brief document describing how to compile and run. If possible, try to include your main idea of the code in the document as well.

  • There were some missing in the former sample_input. We have updated that, please refer to the latest sample_input.txt.
  • Many students did not clear their semaphores before their program ends. This prevents others testing their programs. The manager of the server is cleaning them now. If you can still see your semaphore and shared memory after the program ends with the command ipcs, please clear your own semaphores and shared memory with the following commands.
ipcs -q | awk '{ print "ipcrm -q "$2}' | sh > /dev/null 2>&1;
ipcs -m | awk '{ print "ipcrm -m "$2}' | sh > /dev/null 2>&1;
ipcs -s | awk '{ print "ipcrm -s "$2}' | sh > /dev/null 2>&1;

Assignment 3:

  • Due date: December 3, 2018, 11:59pm CST.
  • No extension will be given for this assignment. Postponed submissions will cost a penalty of 5 points per day. Any submissions after December 8, 2018, 11:59 CST will not be graded!

Statistics of Quizzes:

  • Quiz 1: Average: 74.88; Medium: 76.
  • Quiz 2: Average: 50.82; Medium: 47.

Please pick up your papers during TAs' office hours in PGH 591.

End of semester notice:

  • The semester has ended. No TA office hours are offered.
  • We have sent you the grade of assignment 2. If you did submit and did not get a grade yet, please contact TAs as soon as possible.