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/11/01 16:47] jxufaq [2018/04/03 15:09] (current) jxu
Line 4: Line 4:
 ====== General ====== ====== General ======
  
-====== FAQ about Assignment 2 and 3======+====== FAQ about Assignments ======
  
 **Question 1**: We are planning to add a certain additional functionality X to our program for the Assignment. Is adding the additional functionality X allowed? **Question 1**: We are planning to add a certain additional functionality X to our program for the Assignment. Is adding the additional functionality X allowed?
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**: We are start writing the code for assignment 2. One issue we found is the 
 +code you give us has the problem when user input as following:
  
-Answer to Question 5: +alarm> 10 hello
  
-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 is an important component of the assignment requirements. So the answer is that you MUST use the "alarm list" in your program "My_Alarm.c".+alarm> 5 world
  
-**Question 6**: For Assignment 3, can I include the errors.h file that was used in Assignment 2?+alarm> (10) hello
  
-Answer to Question 6: Yes.+(5) world
  
 +The message "world" will not be sent back before hello although the time is
 +set before "hello". In the book, there is another version of alarm which
 +used condition mechanism could solve this problem. Should we implement
 +assignment 2 base on that code or just leave this problem and still use the
 +code you gave us?
  
 +Answer to Question 5:
 +
 +What do you mean by "Should we implement assignment 2 base on that code"? 
 +Assignment 2 never asked you to write assignment 2 "based on" ANY code.
 +The sample code was only provided for the purpose of illustrating some of the concepts discussed in the book related to POSIX Threads.
 +No one has ever said that the sample code should be used or can be used to satisfy the requirements of assignment 2.
 +
 +**Question 6**: 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 6:
 +
 +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
 +group, is 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
 +for any assignment,
 +that assignment group would need to hand in the assignment
 +on or before the assignment due date.
faq.1383324455.txt.gz · Last modified: 2013/11/01 16:47 by jxu

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki