All mock tests are FREE till 31 December — register to save your progress

Once the process is allocated CPU and executing, which of the following events could NOT occur?
A. The process could issue an I/O request and then be placed in the Ready Queue
B. The process could create new subprocesses & wait for the termination of the subprocesses
C. The time slice of the process expires and it may join the waiting queue
D. The process is forcibly removed from the CPU and is put in the Waiting queue due to arrival of an interrupt
Choose the correct answer from the options given below:

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. A, C and D Only

Explanation

A process that issues an I/O request goes to an I/O (waiting) queue, not the ready queue, so A cannot occur. When its time slice expires it returns to the ready queue, not the waiting queue, so C cannot occur. A process pre-empted by an interrupt also goes back to the ready queue, so D cannot occur. Only B (fork a child and wait for it) is a valid event. Hence A, C and D.

More System Software and Operating System questions