Q1. What events occur during Process Implementation?
Ans. Once the process is allocated the CPU and is executing, one of several events could occur:
- The process could issue an I/O request and then be placed in an I/O queue.
- The process could create a new subprocess and wait for the subprocess’s termination.
- The process could be removed forcibly from the CPU, as a result of an interrupt, and be put back in the ready queue.
Figure: Queuing-diagram representation of process scheduling
The processes that are residing in main memory and are ready and waiting to execute are kept on a list called the ready queue.