User Tools

Site Tools


faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq [2013/12/02 19:56] jxufaq [2019/11/07 00:04] (current) jxu
Line 58: Line 58:
 You are allowed to modify the main() procedure and the alarm_thread in any way that meets the assignment requirements. You are allowed to modify the main() procedure and the alarm_thread in any way that meets the assignment requirements.
  
-**Question 5**: For Assignment 2, are we allowed to NOT use the alarm_list?+**Question 5**: Some members of my assignment group are doing less work / making less 
 +effort / contributing less. Is this a valid reason for not handing in the assignment before the due date?
  
-Answer to Question 5: +Answer to Question 5:
  
-In the assignment description, it states that,+Unfortunately a claim that some members of an assignment group 
 +are doing less work / making less 
 +effort / contributing less than some other members of the assignment 
 +groupis NOT a valid reason for not handing in 
 +an assignment on or before the assignment due date.
  
-*********************************************************** +If any member of any assignment group wishes to receive any credit 
-"A3. You are required to make the following changes to the program +for any assignment, 
-"alarm_mutex.c" to produce a program named "My_Alarm.c".+that assignment group would need to hand in the assignment 
 +on or before the assignment due date.
  
-In your program "My_Alarm.c", after the alarm_thread has retrieved each +**Question 6**: The other members of my assignment group are not responding to my attempts 
-alarm request from the alarm_list, instead of waiting for the specified +to contact them; some of them may have dropped the courseWhat should I do in this case?
-number of n seconds and then printing out the alarm message as done in +
-"alarm_mutex.c", the alarm_thread will immediately create a new thread, +
-and that new thread will print out the alarm message repeatedly, once +
-every n seconds; while the alarm_thread will be free to continue to +
-retrieve and process new alarm requests from the alarm_list." +
-************************************************************** +
- +
-In the assignment description, it clearly mentions "alarm_list" more than once, so clearly, using the "alarm_list" in the original "alarm_mutex.c" program in the way that is specified in the assignment description above is an important component of the assignment requirementsSo the answer is: in your program "My_Alarm.c", you MUST use the "alarm list" in the way that is specified in the assignment description above.+
  
  
 +Answer to Question 6:
  
 +In a situation where not all assignment group members are willing to work
 +together to complete an assignment, the members who are willing to work to
 +complete the assignment should go ahead and work to complete the assignment
 +(even if in the whole group there is only one member who is
 +willing to work to complete the assignment).
faq.1386014207.txt.gz · Last modified: 2013/12/02 19:56 by jxu