Back to Adam Winstanley's home page
A program is required to process text read from a file and transform it according to the following rules:
For example the following input:
"Excuse me!" he shouted "does truth = beauty?"
results in the following output:
"Excuse me!" he shouted "does truth equal beauty!"
You should write two versions of the program in Modula-2, one using co-routines, the other time-slicing. Both should use two separate processes, one to handle input and the other output . The amount of data communicated between processes should be kept to a minimum. You should test both programs thoroughly.
Hand in
DUE TO BE HANDED IN ON TUESDAY 3rd FEBRUARY 1998. (ABSOLUTELY NO EXTENSIONS)