2010/11

 
 
COMP204
Computer Systems and their Implementation../../../../COMP204.html

Deadline:

3pm, Friday 4th Mar ’11

...

Secretary 1 has typed letter = 6

Secretary 3 has typed letter = 2

A letter has been removed from the tray. Tray = 4

...the Manager has taken a letter from the tray to sign; and has signed = 4

The Manager is ready to sign a letter...

A letter has successfully been added to the tray. Tray = 5

Secretary 2 has added letter 3 to the tray

Secretary 2 is ready to type a new letter

A letter has been removed from the tray. Tray = 5

A letter has successfully been added to the tray. Tray = 5

...the Manager has taken a letter from the tray to sign; and has signed = 5

The Manager is ready to sign a letter...

Secretary 2 has typed letter = 4

etc.

...

Sample Output

Lab Sessions


Labs have been arranged to allow for students to work on the assignment, and to request assistance from the Lab tutors.


Attendance is based on surname (as listed below); please try to attend the sessions allocated.  If there are free terminals during other sessions, then you are welcome to use these, but do not prevent others from attending their allocated labs.


Surnames L-Q

    Tuesday: 09.00 - 10.00 (H105, GH)

Surnames R-Z

    Tuesday: 10.00 - 11.00 (H105, GH)

Surnames A-F

    Thursday: 11.00 - 12.00 (H116, GH)

Surnames G-K

    Thursday: 12.00 - 13.00 (H116, GH)

MARKING SCHEME


Below is the breakdown of the mark scheme for this assignment.  Each category will be judged on the correctness, efficiency and modularity of the code, as well as whether or not it compiles and produces the desired output.


Implementation of secretaries = 15 marks

Implementation of manager = 15 marks

Implementation of tray = 15 marks

Implementation of semaphores = 15 marks

Implementation of overall Office class = 20 marks

Output = 10 marks

Comments and layout = 10 marks


This assignment contributes 10% to your overall mark for COMP 204.