Describe what an operating system uses Process Control Block for and why? Explain 4 reasons why a process is created in a computer system Explain 3 reasons why a process may be terminated from a computer system Distinguish between short-term scheduling and long-term scheduling of the processor. Suppose 5 processes A, B, C, D and E arrive at the times indicated, and each of them is executed for the amount of time specified in the table below: Process Arrival Time Service Time (Ts) A 0 4 B 2 3 C 5 6 D 8 4 E 9 2 Using Shortest Process Next (SPN) scheduling algorithm, determine the following: (i). the finish time for each process. (ii). the turnaround time for each process. (iii). the normalized turnaround time for each process. (iv). the mean turnaround time for all processes. (v). the mean normalized turnaround time for all processes.
- Describe what an
operating system uses Process Control Block for and why? - Explain 4 reasons why a process is created in a computer system
- Explain 3 reasons why a process may be terminated from a computer system
- Distinguish between short-term scheduling and long-term scheduling of the processor.
- Suppose 5 processes A, B, C, D and E arrive at the times indicated, and each of them is executed for the amount of time specified in the table below:
Process Arrival Time Service Time (Ts)
A 0 4 |
B 2 3 |
C 5 6 |
D 8 4 |
E 9 2 |
|
Using Shortest Process Next (SPN) scheduling
(i). the finish time for each process.
(ii). the turnaround time for each process.
(iii). the normalized turnaround time for each process.
(iv). the mean turnaround time for all processes.
(v). the mean normalized turnaround time for all processes.
Step by step
Solved in 4 steps with 4 images