faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq [2010/10/30 14:10] – jxu | faq [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 10: | Line 10: | ||
Answer to Question 1: | Answer to Question 1: | ||
- | In Section G, Note, of the Assignment 2 description document, it is stated | + | Please note that the requirements specified in section A. Description of the Problem, are the minimum requirements that must be satisfied by your program. Obviously, there are many other possible details |
- | " | + | Any decision to add any particular additional functionality X to your program should be guided by the principles above. |
- | + | ||
- | Any decision to add any particular additional functionality X to your program should be guided by the principles | + | |
The marker will judge whether you have made appropriate design and implementation choices or not in adding the particular additional functionality X; and whether your justification of what you have chosen to do and the particular ways you have chosen to do it are valid or not. | The marker will judge whether you have made appropriate design and implementation choices or not in adding the particular additional functionality X; and whether your justification of what you have chosen to do and the particular ways you have chosen to do it are valid or not. | ||
Line 36: | Line 34: | ||
There is nothing wrong with the pthread library on RED. | There is nothing wrong with the pthread library on RED. | ||
- | The best and easiest way to do the assignment, is to follow | + | The best and easiest way to do the assignment, is to do the following: |
- | in the assignment 2 description document: | + | |
- | " | ||
1. You may start by trying to read and understand the program | 1. You may start by trying to read and understand the program | ||
" | " | ||
Line 54: | Line 50: | ||
The following " | The following " | ||
- | Start with the program " | + | Start with the program " |
+ | |||
+ | **Question 4**: For Assignment 2, are we allowed to make modifications to the main() procedure and the alarm_thread function? | ||
+ | |||
+ | Answer to Question 4: | ||
+ | |||
+ | You are allowed to modify the main() procedure and the alarm_thread in any way that meets the assignment requirements. | ||
+ | |||
+ | **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: | ||
+ | |||
+ | alarm> 10 hello | ||
+ | |||
+ | alarm> 5 world | ||
+ | |||
+ | alarm> (10) hello | ||
+ | |||
+ | (5) world | ||
+ | |||
+ | The message " | ||
+ | set before " | ||
+ | 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 " | ||
+ | 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: | ||
- | **Question 4**: For Assignment 3, can I include | + | 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 | ||
- | Answer | + | If any member of any assignment group wishes |
+ | for any assignment, | ||
+ | that assignment group would need to hand in the assignment | ||
+ | on or before the assignment due date. |
faq.1288447805.txt.gz · Last modified: 2010/10/30 14:10 by jxu