A multiprogramming operating system has a negligible overhead. It services programs that are identical in size. Each program contains a loop that has n iterations, where each iteration contains computations that consume tc ms of CPU time, followed by I/O operations that require tio ms. The programs are of two classes; values of n, tc, and tio for these two classes are:
Class | n | tc | tio |
A | 5 | 15 | 100 |
B | 6 | 200 | 80 |
The system has sufficient memory to accommodate only two programs. Ten programs arrive in the system at time 0, five each of classes A and B. Draw a timing chart showing operation of programs in the system until two programs complete their operation. Find their turnaround times.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.