Exercise #1 (17pts) : Exercise 5.12 from the textbook
a. (8 points) (ASCII "art" is ok)
b. (4 points)
c. (4 points)
d. (1 points)
Exercise #2 (10 pts): Exercise 5.15 from the textbook
a. (5 points)
b. (5 points)
"Describe the CPU utilization" means show the sequence of CPU activities. Use 'I' to describe 1ms of execution of an I/O-process, 'C' to describe 1ms of execution of the CPU-bound process, 'o' for context-switching. Your answer should be a sequence of C's, I's, and o's. Assume all processes are in the READY state initially and (arbitrarily) assume that I/O-bound processes a run before the CPU-bound process in the Round-Robin order. For each question give the percentage of time spent due to the context-switching overhead.
Exercise #3 (4 pts): Exercise 5.16 from the textbook