Question: Process State Diagram question: Process A and Process B are submitted to be executed at the same time. Based off past history, Process A has

Process State Diagram question:

Process A and Process B are submitted to be executed at the same time. Based off past history, Process A has been characterized as I/O bound and Process B has been characterized as CPU bound.

a) Assume Process B is executing in the CPU when Process A is loaded into memory. Describe a scenario where the system would elect to immediately preempt Process B and select Process A to execute (assume that there were other processes ready to run before Process A arrives). You may describe other characteristics to Process A and Process B to fit your scenario.

b) Assume that Process A and Process B were both loaded into memory at the same time Describe a system scenario where by both processes complete execution at roughly the same time. Your solution should consider the Process State Diagram and describe which O state (and why) the processes spend the majority of their time.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!