1.

What will happen when a process terminates?(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-allocatedI got this question during a job interview.My question is from Process Scheduling Queues in section Processes of Operating System

Answer»

The CORRECT option is (a) It is removed from all queues

For EXPLANATION: When a process terminates, it removes from all queues. All allocated resources to that particular process are deallocated and all those resources are returned BACK to OS.



Discussion

No Comment Found

Related InterviewSolutions