25.3k views
3 votes
When a process terminates : (Choose Two)

a) It is removed from all queues
b) It is removed from all, but the job queue
c) Its process control block is de-allocated
d) Its process control block is never de-allocated

User Davidhtien
by
8.0k points

1 Answer

2 votes

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:

  1. It is removed from all queues, which means that it is no longer scheduled to run by the operating system.
  2. 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.

User Dmitrii Sorin
by
8.7k points