Wednesday, November 30, 2016

OS Exercise 4 graded

Exercise 4 has been graded and posted on the Moodle system. The grading criteria and scheme are as follows:

Base Points: (1pt for each)

  • mutex and barrier initialization
  • read input
  • thread creation
  • enc() implementation
  • protection of critical region by mutex (sandwiched by lock/unlock)
  • barrier (to wait for worker threads to finish)
  • print_output implementation

Advanced Points (2pts for each)

  • check if stridx < length after lock acquisition
  • mutex locking only for copying and incrementing stridx (excludes other operations of enc())
The total grade is 11pts (7 + 4) and then is scaled to 150%. Due to a technical problem with Moodle, grades higher than 100% are posted as 100% with actual grades in the comment field. If you have any question, please ask the instructor.

Wednesday, November 16, 2016

OS Exercise 3 Graded

Exercise 3 of the Operating Systems class have been graded and posted on the Moodle system. The grading criteria are as follows:

  • Data input (1pt)
  • Thread creation (3pts)
  • div_thread implementation (2pts)
  • print_results (1pt)
The total points (7pts) are converted into 100% and posted on the Moodle.

Wednesday, November 9, 2016

OS Deadlines of Exercises 5 and 6 Extended

The submission deadlines of Exercises 5 and 6 have been extended:

  • Exercise 5: by 11/16 (Wed) at 0000 (or by the end of 11/15)
  • Exercise 6: by 11/16 (Wed) at 1440 (at the end of 3rd period)
Any question ? Ask the instructor.

OS Exercise 2 Graded

You can find the grade of your Exercise 2 submission on Moodle. The grading criteria are

  • Each operation (bullet) of the processes is counted as 1pt
  • Exceptions are spawning (creating) a child process and wait for another process to finish, these are counted as 2pts.
  • The total is 26pts and then the grade is converted to 100pts scale.
If you have any question, please contact the instructor or the assistant.

OS Exercise 6 posted

Today's exercise problem has been posted on the Moodle page.

Friday, November 4, 2016

OS Exercise 1 graded

You must have received notification that the grading of Exercise 1 was finished. Typical mistakes include

  • incorrect counting of the number of words
  • incorrect handling of the case where two options are used (-u -c)
If you have further questions, please contact the instructor or the course assistant.

OS Exercise 5 posted

Today's exercise problems have been posted on the Moodle system. Write your answers in a pdf file and submit by the deadline. During today's class (5th and 6th periods), you may also ask questions on Exercise 4, which is due next Tuesday.