Homework 6
22C:116, Spring 2002
Due Monday Mar 4, 2002, in class
Douglas W. Jones
Assume the usual general instructions! Note that there's an exam
coming up on March 13.
-
A Problem
Consider the problem of printing files. One common approach is to spool
the file to disk and then passing that file to a background process that
does the actual printing.
On a virtual memory system with one address space per process, one could
equally well imagine storing the file to be printed in the virtual memory
assigned the print process. Both of these methods could be used, for example,
under UNIX, but only the former is used. Is there any technical reason to
prefer one approach over the other, or is the common use of the former merely
a historical accident.
-
Problems from the Text:
Do problems 6 and 11 on page 374 in the text.
Do problems 16, 19 and 22 on page 375 in the text.
Do problem 24 on page 375, but reverse the order of the requests given!
Do problems 26 and 32 on page 376 in the text.