CS345 Assignment 2 - Chapters 3 & 4
Do the following problems in our textbook. Please type (word process)
your
solutions.
-
Chapter 3 - 3.1, 3.2, 3.5, 3.7
-
Chapter 4
-
Why is a process state associated with each process?
-
What is the difference between a process state and queue?
-
What is context switching?
-
What is the difference between a cooperating process and an independent
process?
-
What is the difference between Unix pipes and sockets?
-
What is the difference between RPC and RMI?
- In class we "played computer" with the BoundedBuffer class by
assuming particular combinations of inserts and removes and
noting how the variaous variables changed value. Do the same
thing for the following:
- Assume buffer size of 4
- Assume the following takes place
- 2 inserts
- 1 remove
- 3 inserts
- 2 removes
Due Feb 23th
Dr. Bruce Tis (tis@artemis.simmons.edu)
Last modified: Feb 12, 2004