Computer Science: An Overview: Global Edition (12th Edition)

Published by Pearson Higher Education
ISBN 10: 1292061162
ISBN 13: 978-1-29206-116-0

Chapter 3 - Operating Systems - Chapter Review Problems - Page 164: 25

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.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.