Answer
See the explanation
Work Step by Step
The compute-bound process should be given priority in this scenario.
The reason is that a compute-bound process primarily relies on CPU and memory resources for its execution, and it spends a significant amount of time performing computations within the CPU/memory system. If this process is delayed or not given priority, it may lead to inefficient utilization of the CPU, causing delays in completing the computational tasks.
On the other hand, an I/O-bound process involves frequent interactions with external devices or input/output operations. These operations often involve waiting for data to be read from or written to external sources, during which the CPU is not actively involved. Therefore, even if an I/O-bound process is waiting for a time slice, it might not make optimal use of the CPU during that time.
Prioritizing the compute-bound process ensures efficient utilization of CPU resources and helps in completing computational tasks in a timely manner.