Final answer:
When a process terminates, it is removed from all queues and its process control block is de-allocated.
Step-by-step explanation:
When a process terminates, two things happen:
- It is removed from all queues, which means that it is no longer scheduled to run by the operating system.
- Its process control block (PCB) is de-allocated, freeing up system resources that were allocated to the process.
However, it is important to note that the PCB is not always de-allocated immediately after a process terminates. In some cases, the operating system may keep the PCB in a suspended state for a certain period of time before finally deallocating it.