Answer:
The answer to this question can be defined as follows:
In option 1, the answer is "18.75%".
In option 2, the answer is "33%".
Explanation:
Given:
JOB 1-Time of the CPU = 3ms, rest = 18ms, sum = 21
JOB 2-Time of the CPU = 5ms, rest = 24ms, sum = 29
JOB 3 -Time of the CPU =4ms, rest = 10ms, sum = 14
In option 1:
whenever the job has also been allocating the system, in the uni-programs system, which looks at the CPU until it is complete.
Formula:
[tex]\text{Utilization of CPU} =\frac{ \text{total time of CPU} }{ \text{full real time}}[/tex]
[tex]=\frac{(3+5+4)}{(21+29+14)}[/tex]
[tex]=\frac{12}{64}\\\\= 0.1875\\\\=18.75%[/tex]
In option 2:
However, if any software is interested in other operations like I / o, it can assign to the CPU Processor to others Systems and other software may be carrying out I / o operations there while the processor is with any other application.
Formula:
[tex]\text{Utilization of CPU} =\frac{ \text{total time of CPU} }{ \text{full real time}}[/tex]
[tex]=\frac{12}{36}\\\\=\frac{1}{3}\\\\=.33\\\\= 33 \%[/tex]