Topic: Operating Systems
In a multiprogramming environment once a process is allocated a CPU core and is executing, if its time slice expires, then
- A. The process creates a new child process and be placed in a wait queue
- B. The process issues an I/O request and be placed in an I/O wait queue
- C. The process is removed from all queues and is terminated
- D. The process is removed forcibly from the Core and is put back in the ready queue.
Answer: D. The process is removed forcibly from the Core and is put back in the ready queue.
Explanation: In time-shared scheduling (like Round Robin), when a running process exhausts its allocated time quantum (slice), a timer interrupt preempts it. The operating system forces a context switch and moves the process back to the ready queue to wait for its next turn.